{"id":184,"date":"2023-11-12T18:40:04","date_gmt":"2023-11-12T18:40:04","guid":{"rendered":"https:\/\/exceladvisor.org\/cn\/%e6%b4%bb%e9%a1%b5%e5%a4%b9\/"},"modified":"2023-12-10T11:45:33","modified_gmt":"2023-12-10T11:45:33","slug":"%e6%b4%bb%e9%a1%b5%e5%a4%b9","status":"publish","type":"page","link":"https:\/\/exceladvisor.org\/cn\/%e6%b4%bb%e9%a1%b5%e5%a4%b9\/","title":{"rendered":"\u5728 vba \u4e2d\u4f7f\u7528\u5de5\u4f5c\u7c3f\u7684\u6307\u5357"},"content":{"rendered":"<div class=\"excel-\" id=\"excel-3829879679\"><script type=\"text\/javascript\">\r\n\tatOptions = {\r\n\t\t'key' : 'c1158f160081d6540a8409e6925dab94',\r\n\t\t'format' : 'iframe',\r\n\t\t'height' : 250,\r\n\t\t'width' : 300,\r\n\t\t'params' : {}\r\n\t};\r\n<\/script>\r\n<script type=\"text\/javascript\" src=\"\/\/www.highperformanceformat.com\/c1158f160081d6540a8409e6925dab94\/invoke.js\"><\/script><\/div> <p>\u5728 Excel \u4e2d\uff0c\u5de5\u4f5c\u7c3f\u662f\u6240\u6709 Excel \u5bf9\u8c61\u4e2d\u6700\u91cd\u8981\u7684\u5bf9\u8c61\u4e4b\u4e00\uff0c\u5728\u7f16\u5199 VBA \u4ee3\u7801\u65f6\u4e86\u89e3\u5982\u4f55\u4f7f\u7528\u548c\u5f15\u7528\u5de5\u4f5c\u7c3f\u4e5f\u662f\u81f3\u5173\u91cd\u8981\u7684\u3002<\/p><p>\u5728\u672c\u6559\u7a0b\u4e2d\uff0c\u6211\u4eec\u5c06\u63a2\u8ba8\u60a8\u9700\u8981\u4e86\u89e3\u7684\u6240\u6709\u5185\u5bb9\u3002\u4f46\u662f\uff0c\u60a8\u9700\u8981\u4e86\u89e3\u7684\u7b2c\u4e00\u4ef6\u4e8b\u662f\u5728 VBA \u4e2d\u5904\u7406\u5de5\u4f5c\u7c3f\u6240\u6d89\u53ca\u7684\u5bf9\u8c61\u3002<\/p><p>\u8981\u77e5\u9053\u7684\u4e8b\u60c5\uff1a<\/p><ul><li>\u6d3b\u9875\u5939\u5bf9\u8c61<\/li><li>\u6d3b\u9875\u5939\u5bf9\u8c61<\/li><\/ul><p>\u8fd9\u4e24\u4e2a\u5bf9\u8c61\u542c\u8d77\u6765\u76f8\u540c\uff0c\u4f46\u4e24\u8005\u4e4b\u95f4\u5b58\u5728\u6839\u672c\u533a\u522b\u3002<\/p><h2 id=\"t-1596274639137\" class=\"wp-block-heading\">\u6d3b\u9875\u5939\u5bf9\u8c61<\/h2><p>\u5728 VBA \u4e2d\uff0cWorkbooks \u5bf9\u8c61\u8868\u793a\u5728 Microsoft Excel \u4e2d\u6253\u5f00\u7684<strong><span style=\"font-family: inherit; background-color: #fff44f;\">\u5de5\u4f5c\u7c3f\u7684\u96c6\u5408<\/span><\/strong>\u3002\u60f3\u8c61\u4e00\u4e0b\u60a8\u540c\u65f6\u6253\u5f00\u5341\u4e2a\u6587\u4ef6\u67dc\u3002\u5e76\u4e14\u60a8\u60f3\u53c2\u8003\u5176\u4e2d\u552f\u4e00\u7684\u5de5\u4f5c\u7c3f\u3002\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u60a8\u5fc5\u987b\u4f7f\u7528\u5de5\u4f5c\u7c3f\u5bf9\u8c61\u901a\u8fc7\u5176\u540d\u79f0\u6765\u5f15\u7528\u6b64\u5de5\u4f5c\u7c3f\u3002 <\/p><div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" title=\"1-vba-\u5de5\u4f5c\u7c3f-\u5bf9\u8c61\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-objet-de-classeurs-vba.png\" sizes=\"auto, \" srcset=\"\" alt=\"vba workbooks object\" width=\"387\" height=\"174\"><\/figure><\/div><h2 id=\"t-1596274639138\" class=\"wp-block-heading\">\u6d3b\u9875\u5939\u5bf9\u8c61<\/h2><p><span data-preserver-spaces=\"true\">\u5728 VBA \u4e2d\uff0c\u5de5\u4f5c\u7c3f\u5bf9\u8c61\u4ee3\u8868<\/span>\u5f53\u524d\u5728 Microsoft Excel \u4e2d\u6253\u5f00\u7684<strong><span style=\"background-color: #fff44f;\" data-preserver-spaces=\"true\">\u6240\u6709<\/span><\/strong><span data-preserver-spaces=\"true\">\u5de5\u4f5c\u7c3f\u4e2d\u7684\u4e00\u4e2a\u5de5\u4f5c\u7c3f\u3002\u7406\u89e3\u8fd9\u4e00\u70b9\u7684\u6700\u4f73\u65b9\u6cd5\u662f\u8003\u8651\u5c06\u53d8\u91cf\u58f0\u660e\u4e3a\u7ed1\u5b9a\u5668\uff0c\u60a8\u5e0c\u671b\u4f7f\u7528\u8be5\u53d8\u91cf\u6765\u5f15\u7528\u4ee3\u7801\u4e2d\u7684\u7279\u5b9a\u7ed1\u5b9a\u5668\u3002<\/span> <\/p><div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" title=\"2-\u4ee3\u8868\u5355\u4e2a\u5de5\u4f5c\u7c3f\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/2-represente-un-seul-classeur.png\" sizes=\"auto, \" srcset=\"\" alt=\"represents one single workbook\" width=\"337\" height=\"201\"><\/figure><\/div><p class=\"content-box-green\"><strong>\u6709\u7528\u7684\u94fe\u63a5<\/strong>\uff1a<a href=\"https:\/\/exceladvisor.org\/cn\/\u6dfb\u52a0\u5f00\u53d1\u8005\u9009\u9879\u5361\/\">\u6dfb\u52a0\u201c\u5f00\u53d1\u4eba\u5458\u201d\u9009\u9879\u5361<\/a>| <a style=\"outline: none;\" href=\"https:\/\/exceladvisor.org\/cn\/\u57fa\u672c\u53ef\u89c6\u5316\u7f16\u8f91\u5668\/\">Visual Basic \u7f16\u8f91\u5668<\/a>|<a style=\"outline: none;\" href=\"https:\/\/exceladvisor.org\/cn\/\u6267\u884c\u5b8f2\/\">\u8fd0\u884c\u5b8f<\/a>|<a style=\"outline: none;\" href=\"https:\/\/exceladvisor.org\/cn\/\u4e2a\u4eba\u5b8f\u7b14\u8bb0\u672c\/\">\u4e2a\u4eba\u5b8f\u5de5\u4f5c\u7c3f<\/a><\/p><h2 id=\"t-1596274639139\" class=\"wp-block-heading\">\u53c2\u8003 VBA \u4e2d\u7684\u5de5\u4f5c\u7c3f<\/h2><p>\u8981\u5728 VBA \u4e2d\u4f7f\u7528\u5de5\u4f5c\u7c3f\uff0c\u60a8\u9700\u8981\u4e86\u89e3\u7684\u7b2c\u4e00\u4ef6\u4e8b\u662f\u5982\u4f55\u5728\u5b8f\u4e2d\u5f15\u7528\u5de5\u4f5c\u7c3f\u3002\u4ee4\u4eba\u9ad8\u5174\u7684\u662f\uff1a\u6709\u591a\u79cd\u65b9\u6cd5\u53ef\u4ee5\u5f15\u7528\u5de5\u4f5c\u7c3f\u3002\u672a\u6765\uff0c\u6211\u4eec\u5c06\u9010\u4e00\u63a2\u7d22\u3002<\/p><h3 id=\"t-1596274639140\" class=\"wp-block-heading\"> 1.\u6309\u540d\u5b57<\/h3><p>\u5f15\u7528\u5de5\u4f5c\u7c3f\u7684\u6700\u7b80\u5355\u65b9\u6cd5\u662f\u901a\u8fc7\u5176\u540d\u79f0\u3002\u5047\u8bbe\u60a8\u8981\u6fc0\u6d3b\u5de5\u4f5c\u7c3fBook1.xlsx\uff0c\u6b64\u65f6\u60a8\u9700\u8981\u4f7f\u7528\u7684\u4ee3\u7801\u5e94\u5982\u4e0b\uff1a <\/p><div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" title=\"3-\u6309\u540d\u79f0\u5f15\u7528 vba \u4e2d\u7684\u5de5\u4f5c\u7c3f\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/3-faire-reference-a-un-classeur-dans-vba-par-son-nom.png\" sizes=\"auto, \" srcset=\"\" alt=\"refer to a workbook in vba by name\" width=\"426\" height=\"192\"><\/figure><\/div><p>\u4f7f\u7528\u5de5\u4f5c\u7c3f\u7684\u540d\u79f0\u5f15\u7528\u5de5\u4f5c\u7c3f\u975e\u5e38\u7b80\u5355\uff0c\u60a8\u9700\u8981\u6307\u5b9a\u540d\u79f0\uff0c\u4ec5\u6b64\u800c\u5df2\u3002\u4f46<strong>\u60a8\u9700\u8981\u6ce8\u610f\u4e00\u4ef6\u4e8b<\/strong>\uff1a\u5982\u679c\u672a\u4fdd\u5b58\u5de5\u4f5c\u7c3f\uff0c\u60a8\u53ea\u9700\u4f7f\u7528\u540d\u79f0\u5373\u53ef\u3002\u5982\u679c\u5df2\u6ce8\u518c\uff0c\u5219\u5fc5\u987b\u4f7f\u7528\u8be5\u540d\u79f0\u548c\u6269\u5c55\u540d\u3002<\/p><h3 id=\"t-1596274639141\" class=\"wp-block-heading\"> 2. \u6309\u6570\u91cf<\/h3><p>\u5f53\u60a8\u6253\u5f00\u5de5\u4f5c\u7c3f\u65f6\uff0cExcel \u4f1a\u4e3a\u8be5\u5de5\u4f5c\u7c3f\u5206\u914d\u4e00\u4e2a\u7d22\u5f15\u53f7\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528\u8be5\u7f16\u53f7\u6765\u5f15\u7528\u5de5\u4f5c\u7c3f\u3002\u60a8\u7b2c\u4e00\u4e2a\u6253\u5f00\u7684\u5de5\u4f5c\u7c3f\u7684\u7d22\u5f15\u53f7\u4e3a\u201c1\u201d\uff0c\u7b2c\u4e8c\u4e2a\u5de5\u4f5c\u7c3f\u7684\u7d22\u5f15\u53f7\u4e3a\u201c2\u201d\uff0c\u4f9d\u6b64\u7c7b\u63a8\u3002 <\/p><div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" title=\"4-\u6309\u7f16\u53f7\u5f15\u7528 vba \u4e2d\u7684\u5de5\u4f5c\u7c3f\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/4-faire-reference-a-un-classeur-dans-vba-par-numero.png\" sizes=\"auto, \" srcset=\"\" alt=\"refer to a workbook in vba b number\" width=\"340\" height=\"193\"><\/figure><\/div><p>\u6b64\u65b9\u6cd5\u5bf9\u60a8\u6765\u8bf4\u53ef\u80fd\u4e0d\u592a\u771f\u5b9e\uff0c\u56e0\u4e3a\u5f88\u96be\u77e5\u9053\u54ea\u4e2a\u5de5\u4f5c\u7c3f\u4f4d\u4e8e\u54ea\u4e2a\u7d22\u5f15\u53f7\u4e0a\u3002\u4f46\u5728\u4e00\u79cd\u60c5\u51b5\u4e0b\uff0c\u6b64\u65b9\u6cd5\u975e\u5e38\u6709\u7528\uff0c\u90a3\u5c31\u662f\u5faa\u73af\u904d\u5386\u6240\u6709\u6253\u5f00\u7684\u5de5\u4f5c\u7c3f\u3002<\/p><h3 id=\"t-1596274639142\" class=\"wp-block-heading\"> 3. \u901a\u8fc7\u672c\u5de5\u4f5c\u7c3f<\/h3><p>\u6b64\u5de5\u4f5c\u7c3f\u662f\u4e00\u4e2a\u5c5e\u6027\uff0c\u53ef\u5e2e\u52a9\u60a8\u5f15\u7528\u5728\u5176\u4e2d\u7f16\u5199\u4ee3\u7801\u7684\u5de5\u4f5c\u7c3f\u3002\u5047\u8bbe\u60a8\u5728\u201cBook1\u201d\u4e2d\u7f16\u5199\u4ee3\u7801\u5e76\u4f7f\u7528 ThisWorkbook \u4fdd\u5b58\u5de5\u4f5c\u7c3f\u3002\u73b0\u5728\uff0c\u5373\u4f7f\u60a8\u66f4\u6539\u5de5\u4f5c\u7c3f\u540d\u79f0\uff0c\u4e5f\u65e0\u9700\u66f4\u6539\u4ee3\u7801\u3002 <\/p><div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" title=\"5-\u901a\u8fc7\u6b64\u5de5\u4f5c\u7c3f\u5728 vba \u4e2d\u5f15\u7528\u5de5\u4f5c\u7c3f\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/5-faire-reference-a-un-classeur-dans-vba-par-thisworkbook.png\" sizes=\"auto, \" srcset=\"\" alt=\"refer to a workbook in vba by this workbook\" width=\"417\" height=\"196\"><\/figure><\/div><p>\u4e0a\u9762\u7684\u4ee3\u7801<a style=\"outline: none;\" href=\"https:\/\/exceladvisor.org\/cn\/\u6570\u53f6\u5b50\/\">\u8ba1\u7b97\u5de5\u4f5c\u7c3f\u4e2d\u5199\u5165\u6b64\u4ee3\u7801\u7684\u5de5\u4f5c\u8868\u7684\u6570\u91cf<\/a>\uff0c\u5e76<a style=\"outline: none;\" href=\"https:\/\/exceladvisor.org\/cn\/vba\u6d88\u606f\u6846\/\">\u663e\u793a\u5305\u542b\u7ed3\u679c\u7684\u6d88\u606f\u6846<\/a>\u3002<\/p><h3 id=\"t-1596274639143\" class=\"wp-block-heading\"> 4.\u901a\u8fc7ActiveWorkbook<\/h3><p>\u5982\u679c\u8981\u5f15\u7528\u6d3b\u52a8\u5de5\u4f5c\u7c3f\uff0c\u5219\u5fc5\u987b\u4f7f\u7528\u201cActiveWorkbook\u201d\u5c5e\u6027\u3002\u8be5\u5c5e\u6027\u7684\u6700\u4f73\u7528\u9014\u662f\u5f53\u60a8\u786e\u5b9a\u73b0\u5728\u6fc0\u6d3b\u54ea\u4e2a\u5de5\u4f5c\u7c3f\u65f6\u3002\u6216\u8005\u60a8\u5df2\u7ecf\u6fc0\u6d3b\u4e86\u8981\u5904\u7406\u7684\u5de5\u4f5c\u7c3f\u3002 <\/p><div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" title=\"\u6bcf\u4e2a\u6d3b\u6027\u7c98\u5408\u5242 6 \u4e2a\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/6-par-classeur-actif.png\" sizes=\"auto, \" srcset=\"\" alt=\"by active workbook\" width=\"359\" height=\"218\"><\/figure><\/div><p>\u4e0a\u9762\u7684\u4ee3\u7801\u9996\u5148\u6fc0\u6d3b\u201cBook1\u201d\u5de5\u4f5c\u7c3f\uff0c\u7136\u540e\u4f7f\u7528\u6d3b\u52a8\u5de5\u4f5c\u7c3f\u5c5e\u6027\u4fdd\u5b58\u5e76\u5173\u95ed\u6d3b\u52a8\u5de5\u4f5c\u7c3f\u3002<\/p><h2 id=\"t-1596274639145\" class=\"wp-block-heading\">\u8bbf\u95ee\u6240\u6709\u65b9\u6cd5\u548c\u5c5e\u6027<\/h2><p>\u5728 VBA \u4e2d\uff0c\u6bcf\u5f53\u60a8\u5f15\u7528\u4e00\u4e2a\u5bf9\u8c61\u65f6\uff0cVBA \u90fd\u5141\u8bb8\u60a8\u8bbf\u95ee\u8be5\u5bf9\u8c61\u63d0\u4f9b\u7684\u5c5e\u6027\u548c\u65b9\u6cd5\u3002\u540c\u6837\uff0c\u5de5\u4f5c\u7c3f\u5bf9\u8c61\u4e5f\u5e26\u6709\u5c5e\u6027\u548c\u65b9\u6cd5\u3002\u8981\u8bbf\u95ee\u5b83\uff0c\u60a8\u5fc5\u987b\u9996\u5148\u5b9a\u4e49\u5de5\u4f5c\u7c3f\uff0c\u7136\u540e<strong><span style=\"background-color: #fff44f;\">\u8f93\u5165\u53e5\u70b9<\/span><\/strong>\u3002 <\/p><div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" title=\"7-\u5148\u8bbe\u7f6e\u5de5\u4f5c\u7c3f\u5e76\u8f93\u5165\u4e00\u4e2a\u70b9\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/7-definissez-dabord-le-classeur-et-entrez-un-point.png\" sizes=\"auto, \" srcset=\"\" alt=\"define the workbook first and enter a dot\" width=\"487\" height=\"241\"><\/figure><\/div><p>\u5f53\u60a8\u952e\u5165\u53e5\u70b9 (.) \u65f6\uff0c\u5b83\u4f1a\u663e\u793a\u5c5e\u6027\u548c\u65b9\u6cd5\u7684\u5217\u8868\u3002\u73b0\u5728\u4f60\u80af\u5b9a\u6709\u4e00\u4e2a\u95ee\u9898\uff0c\u5982\u4f55\u8bc6\u522b\u54ea\u4e2a\u662f\u5c5e\u6027\uff0c\u54ea\u4e2a\u662f\u65b9\u6cd5\u3002<\/p><p><strong>\u8fd9\u5c31\u662f\u7a8d\u95e8\u3002<\/strong>\u5982\u679c\u4f60\u4ed4\u7ec6\u89c2\u5bdf\uff0c\u4f60\u53ef\u4ee5\u5728\u5217\u8868\u4e2d\u7684\u6bcf\u4e2a\u540d\u5b57\u524d\u9762\u770b\u5230\u4e00\u5757\u79fb\u52a8\u7684\u7eff\u8272\u7816\u5757\u548c\u4e00\u53ea\u7070\u8272\u7684\u624b\u3002\u56e0\u6b64\uff0c\u6240\u6709\u5c5e\u6027\u7684\u540d\u79f0\u524d\u90fd\u6709\u7070\u8272\u7684\u624b\uff0c\u800c\u65b9\u6cd5\u7684\u540d\u79f0\u524d\u90fd\u6709\u79fb\u52a8\u7684\u7eff\u8272\u7816\u5757\u3002<\/p><h3 id=\"t-1596274639146\" class=\"wp-block-heading\">\u4f8b\u5982\uff0c\u5c06\u65b9\u6cd5\u4e0e\u5de5\u4f5c\u7c3f\u4e00\u8d77\u4f7f\u7528<\/h3><p>\u60f3\u8c61\u4e00\u4e0b\uff0c\u60a8\u60f3\u8981<a href=\"https:\/\/exceladvisor.org\/cn\/\u5173\u95ed\u5de5\u4f5c\u7c3f\/\">\u5173\u95ed\u4e00\u4e2a\u5de5\u4f5c\u7c3f<\/a>\uff08\u8fd9\u662f\u4e00\u79cd\u65b9\u6cd5\uff09\uff0c\u60a8\u9700\u8981\u952e\u5165\u6216\u4ece\u5217\u8868\u4e2d\u9009\u62e9\u201c\u5173\u95ed\u201d\u3002 <\/p><div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" title=\"8-\u9009\u62e9\u5173\u95ed\u5217\u8868\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/8-selectionner-fermer-dans-une-liste.png\" sizes=\"auto, \" srcset=\"\" alt=\"select close from a list\" width=\"385\" height=\"269\"><\/figure><\/div><p>\u4e4b\u540e\uff0c\u60a8\u9700\u8981\u8f93\u5165\u8d77\u59cb\u62ec\u53f7\uff0c\u4ee5\u4fbf IntelliSense \u77e5\u9053\u60a8\u9700\u8981\u8bbe\u7f6e\u54ea\u4e9b\u53c2\u6570\u3002 <\/p><div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" title=\"9-\u8f93\u5165\u8d77\u59cb\u62ec\u53f7\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/9-entrez-les-parentheses-de-depart.png\" sizes=\"auto, \" srcset=\"\" alt=\"enter starting parentheses\" width=\"622\" height=\"267\"><\/figure><\/div><p>\u4f7f\u7528 close \u65b9\u6cd5\uff0c\u60a8\u9700\u8981\u5b9a\u4e49\u4e09\u4e2a\u53c2\u6570\uff0c\u6b63\u5982\u60a8\u6240\u770b\u5230\u7684\uff0c\u6240\u6709\u8fd9\u4e9b\u53c2\u6570\u90fd\u662f\u53ef\u9009\u7684\uff0c\u5982\u679c\u60a8\u613f\u610f\uff0c\u60a8\u53ef\u4ee5\u5ffd\u7565\u5b83\u4eec\u3002\u4f46\u6709\u4e9b\u65b9\u6cd5\u6ca1\u6709\u53c2\u6570\uff08\u4f8b\u5982\uff1aactivate\uff09<\/p><h3 id=\"t-1596274639147\" class=\"wp-block-heading\">\u4f8b\u5982\uff0c\u5c06\u5c5e\u6027\u4e0e\u5de5\u4f5c\u7c3f\u4e00\u8d77\u4f7f\u7528<\/h3><p>\u60f3\u8c61\u4e00\u4e0b\uff0c\u60a8\u60f3\u8981\u8ba1\u7b97\u201cbook1\u201d\u5de5\u4f5c\u7c3f\u7684\u5de5\u4f5c\u8868\u6570\u91cf\u3002\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u60a8\u9700\u8981\u4f7f\u7528\u201cSheets\u201d\u5c5e\u6027\uff0c\u7136\u540e\u4f7f\u7528\u5b83\u7684\u9644\u52a0\u8ba1\u6570\u5c5e\u6027\u3002 <\/p><div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" title=\"10-\u4f7f\u7528\u53f6\u5b50\u5c5e\u6027\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/10-utiliser-la-propriete-feuilles.png\" sizes=\"auto, \" srcset=\"\" alt=\"use the sheets property\" width=\"501\" height=\"307\"><\/figure><\/div><p>\u5728\u4e0a\u9762\u7684\u4ee3\u7801\u4e2d\uff0c\u6b63\u5982\u6211\u6240\u8bf4\uff0c\u60a8\u8bbe\u7f6e\u4e86 book1\uff0c\u7136\u540e\u5de5\u4f5c\u8868\u5c5e\u6027\u5f15\u7528\u6240\u6709\u5de5\u4f5c\u8868\uff0c\u7136\u540e\u4f7f\u7528\u8ba1\u6570\u5c5e\u6027\u6765\u5bf9\u5b83\u4eec\u8fdb\u884c\u8ba1\u6570\u3002\u5f53\u60a8\u8fd0\u884c\u6b64\u4ee3\u7801\u65f6\uff0c\u5b83\u4f1a\u663e\u793a\u4e00\u4e2a\u5305\u542b\u7ed3\u679c\u7684\u6d88\u606f\u6846\u3002<\/p><h2 id=\"t-1596274639148\" class=\"wp-block-heading\">\u5728\u5de5\u4f5c\u7c3f\u4e2d\u4f7f\u7528\u201cWITH\u201d\u8bed\u53e5<\/h2><p>\u5728 VBA \u4e2d\uff0c\u6709\u4e00\u4e2a\u201cWith\u201d\u8bed\u53e5\u53ef\u4ee5\u5e2e\u52a9\u60a8\u5728\u9ad8\u6548\u7f16\u5199\u5b8f\u7684\u540c\u65f6\u5904\u7406\u5de5\u4f5c\u7c3f\u3002\u8ba9\u6211\u4eec\u770b\u4e00\u4e0b\u4e0b\u9762\u7684\u793a\u4f8b\uff0c\u5176\u4e2d\u540c\u4e00\u5de5\u4f5c\u7c3f\uff08\u5373 ActiveWorkbook\uff09\u5177\u6709\u4e09\u884c\u4e0d\u540c\u7684\u4ee3\u7801\u3002 <\/p><div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" title=\"11-\u4e0e\u6307\u4ee4\u548c\u6d3b\u9875\u5939\u4e00\u8d77\u4f7f\u7528\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/11-utilisation-avec-instruction-avec-classeur.png\" sizes=\"auto, \" srcset=\"\" alt=\"using with statement with workbook\" width=\"700\" height=\"250\"><\/figure><\/div><p>\u4f7f\u7528\u201cWITH\u201d\u8bed\u53e5\uff0c\u60a8\u53ea\u80fd\u5f15\u7528\u6d3b\u52a8\u5de5\u4f5c\u7c3f\u4e00\u6b21\uff0c\u5e76\u4f7f\u7528\u4ee3\u7801\u4e2d\u62e5\u6709\u7684\u6240\u6709\u5c5e\u6027\u548c\u65b9\u6cd5\u3002<\/p><ul><li>\u9996\u5148\uff0c\u60a8\u9700\u8981\u4ee5\u201cWith ActiveWorkbook\u201d\u5f00\u59cb\u8bed\u53e5\u5e76\u4ee5\u201cEnd With\u201d\u7ed3\u675f\u8bed\u53e5\u3002 <\/li><\/ul><div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" title=\"12-\u4ee5\u5f00\u59cb\u8bed\u53e5\u5f00\u59cb\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/12-commencer-par-la-declaration-de-depart.png\" sizes=\"auto, \" srcset=\"\" alt=\"start with the starting statement\" width=\"397\" height=\"370\"><\/figure><\/div><ul><li>\u4e4b\u540e\uff0c\u60a8\u9700\u8981\u5728\u4e0a\u9762\u793a\u4f8b\u4e2d\u7684\u8fd9\u6761\u8bed\u53e5\u4e4b\u95f4\u7f16\u5199\u4ee3\u7801\u3002 <\/li><\/ul><div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" title=\"13-\u5728\u6307\u4ee4\u4e4b\u95f4\u5199\u5165\u4ee3\u7801\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/13-ecrire-le-code-entre-la-declaration.png\" sizes=\"auto, \" srcset=\"\" alt=\"write the code between the statement\" width=\"731\" height=\"364\"><\/figure><\/div><p>\u6b63\u5982\u60a8\u5728\u4e0a\u9762\u7684\u4ee3\u7801\u4e2d\u770b\u5230\u7684\uff0c\u6211\u4eec\u5df2\u7ecf\u4f7f\u7528WITH\u8bed\u53e5\u5f15\u7528\u4e86ActiveWorkbook\uff0c\u7136\u540e\u5e94\u8be5\u4f7f\u7528\u6240\u6709\u5c5e\u6027\u548c\u65b9\u6cd5\u3002<\/p><pre class=\"wp-block-code\"> <code class=\"language-visual-basic\" lang=\"visual-basic\">Sub vba_activeworkbook_with_statement() With ActiveWorkbook .Sheets.Add Count:=5 .Charts.Visible = False .SaveAs (\"C:UsersDellDesktopmyFolderbook2.xlsx\") End With End Sub<\/code><\/pre><p style=\"font-size: 26px;\"><em>\u8ba9\u6211\u7ed9\u4f60\u4e00\u4e2a<strong><span class=\"has-inline-color\" style=\"color: #ff5757;\">\u7b80\u5355\u800c\u5177\u4f53\u7684\u4f8b\u5b50\uff0c<\/span><\/strong>\u8ba9\u4f60\u660e\u767d\u4e00\u5207\u3002\u60f3\u8c61\u4e00\u4e0b\uff0c\u4f60\u8ba9\u6211\u53bb 215 \u623f\u95f4\u62ff\u6c34\u74f6\uff0c\u5f53\u6211\u56de\u6765\u65f6\uff0c\u4f60\u53c8\u8ba9\u6211\u53bb 215 \u623f\u95f4\u62ff\u7b14\uff0c\u7136\u540e\u53c8\u8ba9\u6211\u53bb 215 \u623f\u95f4\u62ff\u7b14\u8bb0\u672c\u7535\u8111\u3002\u73b0\u5728\u4e8b\u60c5\u662f\u8fd9\u6837\u7684\uff1a\u4f60\u544a\u8bc9\u6211\u8981\u62ff\u7684\u6240\u6709\u4e1c\u897f\u90fd\u5728 215 \u623f\u95f4\u91cc\u3002\u5982\u679c\u4f60\u628a\u6211\u9001\u5230 215 \u623f\u95f4\u5e76\u544a\u8bc9\u6211\u540c\u65f6\u62ff\u8d70\u6240\u6709\u4e09\u4ef6\u4e1c\u897f\uff0c\u90a3\u5c31\u66f4\u597d\u4e86\u3002<\/em><\/p><p class=\"content-box-green\"><strong>\u9605\u8bfb\uff1a<\/strong><a style=\"outline: none;\" href=\"https:\/\/exceladvisor.org\/cn\/\u548c\/\">\u4ee5 \u2013 \u7ed3\u5c3e<\/a><\/p><h2 id=\"t-1596274639149\" class=\"wp-block-heading\">\u5c06\u53d8\u91cf\u58f0\u660e\u4e3a\u5de5\u4f5c\u7c3f<\/h2><p>\u6709\u65f6\u60a8\u9700\u8981\u5c06\u53d8\u91cf\u58f0\u660e\u4e3a\u7ed1\u5b9a\u5668\u4ee5\u4fbf\u5728\u4ee3\u7801\u4e2d\u8fdb\u4e00\u6b65\u4f7f\u7528\u5b83\u3002\u55ef\uff0c\u5b83\u4e0d\u9700\u8981\u4f60\u505a\u4efb\u4f55\u7279\u522b\u7684\u4e8b\u60c5\u3002 <\/p><div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" title=\"14-\u58f0\u660e\u53d8\u91cf\u4f5c\u4e3a\u7ed1\u5b9a\u5668\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/14-declarer-la-variable-comme-classeur.png\" sizes=\"auto, \" srcset=\"\" alt=\"declare variable as workbook\" width=\"381\" height=\"319\"><\/figure><\/div><ol><li>\u4f7f\u7528 DIM\uff08\u58f0\u660e\uff09\u8bed\u53e5\u3002<\/li><li>\u5199\u51fa\u53d8\u91cf\u540d\u3002<\/li><li>\u5c06\u53d8\u91cf\u7c7b\u578b\u8bbe\u7f6e\u4e3a\u5de5\u4f5c\u7c3f\u3002<\/li><\/ol><h2 id=\"t-1596274639150\" class=\"wp-block-heading\">\u5904\u7406\u9519\u8bef<\/h2><p>\u5728 VBA \u4e2d\u4f7f\u7528\u4e00\u4e2a\u6216\u591a\u4e2a\u5de5\u4f5c\u7c3f\u5bf9\u8c61\u65f6\uff0c\u60a8\u53ef\u80fd\u8fd8\u9700\u8981\u5904\u7406\u9519\u8bef\u3002\u8ba9\u6211\u4eec\u4ee5<strong><span style=\"color: #ff5757;\">\u201c\u8fd0\u884c\u65f6\u9519\u8bef 9\uff1a\u7d22\u5f15\u8d85\u51fa\u8303\u56f4\u201d\u9519\u8bef<\/span><\/strong>\u4e3a\u4f8b\u3002\u51fa\u73b0\u6b64\u9519\u8bef\u7684\u539f\u56e0\u6709\u591a\u79cd\u3002<\/p><ul><li>\u60a8\u5c1d\u8bd5\u5f15\u7528\u7684\u5de5\u4f5c\u7c3f\u672a\u6253\u5f00\u3002<\/li><li>\u4e5f\u8bb8\u4f60\u628a\u540d\u5b57\u62fc\u9519\u4e86\u3002<\/li><li>\u60a8\u5f15\u7528\u7684\u5de5\u4f5c\u7c3f\u5c1a\u672a\u4fdd\u5b58\uff0c\u5e76\u4e14\u60a8\u6b63\u5728\u4f7f\u7528\u5177\u6709\u8be5\u540d\u79f0\u7684\u6269\u5c55\u540d\u3002<\/li><li>\u5982\u679c\u60a8\u4f7f\u7528\u7d22\u5f15\u53f7\u6765\u5f15\u7528\u5de5\u4f5c\u7c3f\uff0c\u5e76\u4e14\u60a8\u4f7f\u7528\u7684\u7d22\u5f15\u53f7\u5927\u4e8e\u6253\u5f00\u7684\u5de5\u4f5c\u7c3f\u7684\u603b\u6570\u3002<\/li><\/ul><div class=\"gb-container gb-container-4db6181c gb-container-mt\"> <a class=\"gb-button gb-button-c5897111 gb-button-text gb-button-mt-button\" href=\"https:\/\/exceladvisor.org\/cn\/\u7ef4\u5df4\/\">\u4ec0\u4e48\u662fVBA<\/a><h2 class=\"gb-headline gb-headline-665e5f6b gb-headline-text gb-headline-mt-heading\">\u76f8\u5173\u6559\u7a0b<\/h2><div class=\"gb-grid-wrapper gb-grid-wrapper-a20baf7c gb-grid-wrapper-mt-grid\"><div class=\"gb-grid-column gb-grid-column-65ddf67e\"><div class=\"gb-container gb-container-65ddf67e\"><ul><li><a href=\"https:\/\/exceladvisor.org\/cn\/\u590d\u5236-excel-\u6587\u4ef6\/\">\u4f7f\u7528 VBA \u590d\u5236 Excel \u6587\u4ef6\uff08\u5de5\u4f5c\u7c3f\uff09<\/a><\/li><li> <a href=\"https:\/\/exceladvisor.org\/cn\/\u6fc0\u6d3b\u5de5\u4f5c\u7c3f\/\">VBA\u6fc0\u6d3b\u5de5\u4f5c\u7c3f\uff08Excel\u6587\u4ef6\uff09<\/a><\/li><li> <a href=\"https:\/\/exceladvisor.org\/cn\/\u5173\u95ed\u5de5\u4f5c\u7c3f\/\">VBA\u5173\u95ed\u5de5\u4f5c\u7c3f\uff08Excel\u6587\u4ef6\uff09<\/a><\/li><li> <a href=\"https:\/\/exceladvisor.org\/cn\/\u5408\u5e76\u5de5\u4f5c\u7c3f\/\">VBA \u5408\u5e76\u5de5\u4f5c\u7c3f\uff08Excel \u6587\u4ef6\uff09<\/a><\/li><li> <a href=\"https:\/\/exceladvisor.org\/cn\/\u521b\u5efa\u5de5\u4f5c\u7c3f\/\">VBA \u521b\u5efa\u4e00\u4e2a\u65b0\u5de5\u4f5c\u7c3f\uff08Excel \u6587\u4ef6\uff09<\/a><\/li><\/ul><\/div><\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"ub_ctt_via":"","footnotes":""},"class_list":["post-184","page","type-page","status-publish","hentry"],"featured_image_src":null,"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>VBA \u5de5\u4f5c\u7c3f \u2013 \u5728 VBA \u4e2d\u4f7f\u7528\u5de5\u4f5c\u7c3f\u7684\u6307\u5357<\/title>\n<meta name=\"description\" content=\"\u672c\u6559\u7a0b\u5e2e\u52a9\u60a8\u4e86\u89e3\u5982\u4f55\u4f7f\u7528 VBA \u5904\u7406\u5de5\u4f5c\u7c3f\u3002\u60a8\u5c06\u4e86\u89e3\u5de5\u4f5c\u7c3f\u7684\u7528\u9014\u4ee5\u53ca\u6700\u91cd\u8981\u7684\u5c5e\u6027\u548c\u65b9\u6cd5\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/exceladvisor.org\/cn\/\u6d3b\u9875\u5939\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"VBA \u5de5\u4f5c\u7c3f \u2013 \u5728 VBA \u4e2d\u4f7f\u7528\u5de5\u4f5c\u7c3f\u7684\u6307\u5357\" \/>\n<meta property=\"og:description\" content=\"\u672c\u6559\u7a0b\u5e2e\u52a9\u60a8\u4e86\u89e3\u5982\u4f55\u4f7f\u7528 VBA \u5904\u7406\u5de5\u4f5c\u7c3f\u3002\u60a8\u5c06\u4e86\u89e3\u5de5\u4f5c\u7c3f\u7684\u7528\u9014\u4ee5\u53ca\u6700\u91cd\u8981\u7684\u5c5e\u6027\u548c\u65b9\u6cd5\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/exceladvisor.org\/cn\/\u6d3b\u9875\u5939\/\" \/>\n<meta property=\"og:site_name\" content=\"Excel Advisor\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-10T11:45:33+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-objet-de-classeurs-vba.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/exceladvisor.org\/cn\/%e6%b4%bb%e9%a1%b5%e5%a4%b9\/\",\"url\":\"https:\/\/exceladvisor.org\/cn\/%e6%b4%bb%e9%a1%b5%e5%a4%b9\/\",\"name\":\"VBA \u5de5\u4f5c\u7c3f \u2013 \u5728 VBA \u4e2d\u4f7f\u7528\u5de5\u4f5c\u7c3f\u7684\u6307\u5357\",\"isPartOf\":{\"@id\":\"https:\/\/exceladvisor.org\/cn\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/exceladvisor.org\/cn\/%e6%b4%bb%e9%a1%b5%e5%a4%b9\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/exceladvisor.org\/cn\/%e6%b4%bb%e9%a1%b5%e5%a4%b9\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-objet-de-classeurs-vba.png\",\"datePublished\":\"2023-11-12T18:40:04+00:00\",\"dateModified\":\"2023-12-10T11:45:33+00:00\",\"description\":\"\u672c\u6559\u7a0b\u5e2e\u52a9\u60a8\u4e86\u89e3\u5982\u4f55\u4f7f\u7528 VBA \u5904\u7406\u5de5\u4f5c\u7c3f\u3002\u60a8\u5c06\u4e86\u89e3\u5de5\u4f5c\u7c3f\u7684\u7528\u9014\u4ee5\u53ca\u6700\u91cd\u8981\u7684\u5c5e\u6027\u548c\u65b9\u6cd5\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/exceladvisor.org\/cn\/%e6%b4%bb%e9%a1%b5%e5%a4%b9\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/exceladvisor.org\/cn\/%e6%b4%bb%e9%a1%b5%e5%a4%b9\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/exceladvisor.org\/cn\/%e6%b4%bb%e9%a1%b5%e5%a4%b9\/#primaryimage\",\"url\":\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-objet-de-classeurs-vba.png\",\"contentUrl\":\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-objet-de-classeurs-vba.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/exceladvisor.org\/cn\/%e6%b4%bb%e9%a1%b5%e5%a4%b9\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u5bb6\",\"item\":\"https:\/\/exceladvisor.org\/cn\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5728 vba \u4e2d\u4f7f\u7528\u5de5\u4f5c\u7c3f\u7684\u6307\u5357\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/exceladvisor.org\/cn\/#website\",\"url\":\"https:\/\/exceladvisor.org\/cn\/\",\"name\":\"Excel Advisor\",\"description\":\"\u60a8\u7684\u6570\u636e\u7edf\u6cbb\u7ec8\u6781\u6307\u5357\",\"publisher\":{\"@id\":\"https:\/\/exceladvisor.org\/cn\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/exceladvisor.org\/cn\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/exceladvisor.org\/cn\/#organization\",\"name\":\"Excel Advisor\",\"url\":\"https:\/\/exceladvisor.org\/cn\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/exceladvisor.org\/cn\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/exceladvisor.org\/cn\/wp-content\/uploads\/2023\/12\/exceladvisor.org_.png\",\"contentUrl\":\"https:\/\/exceladvisor.org\/cn\/wp-content\/uploads\/2023\/12\/exceladvisor.org_.png\",\"width\":105,\"height\":36,\"caption\":\"Excel Advisor\"},\"image\":{\"@id\":\"https:\/\/exceladvisor.org\/cn\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"VBA \u5de5\u4f5c\u7c3f \u2013 \u5728 VBA \u4e2d\u4f7f\u7528\u5de5\u4f5c\u7c3f\u7684\u6307\u5357","description":"\u672c\u6559\u7a0b\u5e2e\u52a9\u60a8\u4e86\u89e3\u5982\u4f55\u4f7f\u7528 VBA \u5904\u7406\u5de5\u4f5c\u7c3f\u3002\u60a8\u5c06\u4e86\u89e3\u5de5\u4f5c\u7c3f\u7684\u7528\u9014\u4ee5\u53ca\u6700\u91cd\u8981\u7684\u5c5e\u6027\u548c\u65b9\u6cd5\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/exceladvisor.org\/cn\/\u6d3b\u9875\u5939\/","og_locale":"zh_CN","og_type":"article","og_title":"VBA \u5de5\u4f5c\u7c3f \u2013 \u5728 VBA \u4e2d\u4f7f\u7528\u5de5\u4f5c\u7c3f\u7684\u6307\u5357","og_description":"\u672c\u6559\u7a0b\u5e2e\u52a9\u60a8\u4e86\u89e3\u5982\u4f55\u4f7f\u7528 VBA \u5904\u7406\u5de5\u4f5c\u7c3f\u3002\u60a8\u5c06\u4e86\u89e3\u5de5\u4f5c\u7c3f\u7684\u7528\u9014\u4ee5\u53ca\u6700\u91cd\u8981\u7684\u5c5e\u6027\u548c\u65b9\u6cd5\u3002","og_url":"https:\/\/exceladvisor.org\/cn\/\u6d3b\u9875\u5939\/","og_site_name":"Excel Advisor","article_modified_time":"2023-12-10T11:45:33+00:00","og_image":[{"url":"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-objet-de-classeurs-vba.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/exceladvisor.org\/cn\/%e6%b4%bb%e9%a1%b5%e5%a4%b9\/","url":"https:\/\/exceladvisor.org\/cn\/%e6%b4%bb%e9%a1%b5%e5%a4%b9\/","name":"VBA \u5de5\u4f5c\u7c3f \u2013 \u5728 VBA \u4e2d\u4f7f\u7528\u5de5\u4f5c\u7c3f\u7684\u6307\u5357","isPartOf":{"@id":"https:\/\/exceladvisor.org\/cn\/#website"},"primaryImageOfPage":{"@id":"https:\/\/exceladvisor.org\/cn\/%e6%b4%bb%e9%a1%b5%e5%a4%b9\/#primaryimage"},"image":{"@id":"https:\/\/exceladvisor.org\/cn\/%e6%b4%bb%e9%a1%b5%e5%a4%b9\/#primaryimage"},"thumbnailUrl":"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-objet-de-classeurs-vba.png","datePublished":"2023-11-12T18:40:04+00:00","dateModified":"2023-12-10T11:45:33+00:00","description":"\u672c\u6559\u7a0b\u5e2e\u52a9\u60a8\u4e86\u89e3\u5982\u4f55\u4f7f\u7528 VBA \u5904\u7406\u5de5\u4f5c\u7c3f\u3002\u60a8\u5c06\u4e86\u89e3\u5de5\u4f5c\u7c3f\u7684\u7528\u9014\u4ee5\u53ca\u6700\u91cd\u8981\u7684\u5c5e\u6027\u548c\u65b9\u6cd5\u3002","breadcrumb":{"@id":"https:\/\/exceladvisor.org\/cn\/%e6%b4%bb%e9%a1%b5%e5%a4%b9\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/exceladvisor.org\/cn\/%e6%b4%bb%e9%a1%b5%e5%a4%b9\/"]}]},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/exceladvisor.org\/cn\/%e6%b4%bb%e9%a1%b5%e5%a4%b9\/#primaryimage","url":"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-objet-de-classeurs-vba.png","contentUrl":"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-objet-de-classeurs-vba.png"},{"@type":"BreadcrumbList","@id":"https:\/\/exceladvisor.org\/cn\/%e6%b4%bb%e9%a1%b5%e5%a4%b9\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u5bb6","item":"https:\/\/exceladvisor.org\/cn\/"},{"@type":"ListItem","position":2,"name":"\u5728 vba \u4e2d\u4f7f\u7528\u5de5\u4f5c\u7c3f\u7684\u6307\u5357"}]},{"@type":"WebSite","@id":"https:\/\/exceladvisor.org\/cn\/#website","url":"https:\/\/exceladvisor.org\/cn\/","name":"Excel Advisor","description":"\u60a8\u7684\u6570\u636e\u7edf\u6cbb\u7ec8\u6781\u6307\u5357","publisher":{"@id":"https:\/\/exceladvisor.org\/cn\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/exceladvisor.org\/cn\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-Hans"},{"@type":"Organization","@id":"https:\/\/exceladvisor.org\/cn\/#organization","name":"Excel Advisor","url":"https:\/\/exceladvisor.org\/cn\/","logo":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/exceladvisor.org\/cn\/#\/schema\/logo\/image\/","url":"https:\/\/exceladvisor.org\/cn\/wp-content\/uploads\/2023\/12\/exceladvisor.org_.png","contentUrl":"https:\/\/exceladvisor.org\/cn\/wp-content\/uploads\/2023\/12\/exceladvisor.org_.png","width":105,"height":36,"caption":"Excel Advisor"},"image":{"@id":"https:\/\/exceladvisor.org\/cn\/#\/schema\/logo\/image\/"}}]}},"yoast_meta":{"yoast_wpseo_title":"","yoast_wpseo_metadesc":"","yoast_wpseo_canonical":""},"_links":{"self":[{"href":"https:\/\/exceladvisor.org\/cn\/wp-json\/wp\/v2\/pages\/184","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/exceladvisor.org\/cn\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/exceladvisor.org\/cn\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/exceladvisor.org\/cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/exceladvisor.org\/cn\/wp-json\/wp\/v2\/comments?post=184"}],"version-history":[{"count":1,"href":"https:\/\/exceladvisor.org\/cn\/wp-json\/wp\/v2\/pages\/184\/revisions"}],"predecessor-version":[{"id":854,"href":"https:\/\/exceladvisor.org\/cn\/wp-json\/wp\/v2\/pages\/184\/revisions\/854"}],"wp:attachment":[{"href":"https:\/\/exceladvisor.org\/cn\/wp-json\/wp\/v2\/media?parent=184"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}