{"id":55,"date":"2023-11-17T17:16:59","date_gmt":"2023-11-17T17:16:59","guid":{"rendered":"https:\/\/exceladvisor.org\/cn\/%e6%98%be%e5%bc%8f%e9%80%89%e9%a1%b9-2\/"},"modified":"2023-12-10T11:49:38","modified_gmt":"2023-12-10T11:49:38","slug":"%e6%98%be%e5%bc%8f%e9%80%89%e9%a1%b9-2","status":"publish","type":"page","link":"https:\/\/exceladvisor.org\/cn\/%e6%98%be%e5%bc%8f%e9%80%89%e9%a1%b9-2\/","title":{"rendered":"\u5982\u4f55\u5728vba\u4e2d\u4f7f\u7528\u663e\u5f0f\u9009\u9879\u8bed\u53e5\uff1f"},"content":{"rendered":"<div class=\"excel-\" id=\"excel-1814404189\"><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> <h2 class=\"wp-block-heading\">\u5173\u952e\u70b9<\/h2><ul><li>Explicit \u9009\u9879\u8981\u6c42\u60a8\u58f0\u660e\u6240\u6709<a href=\"https:\/\/exceladvisor.org\/cn\/\u53d8\u91cf\/\">\u53d8\u91cf<\/a>\u3002<\/li><li>\u8fd9\u662f\u4e00\u4e2a\u53ef\u4ee5\u5728<a href=\"https:\/\/exceladvisor.org\/cn\/\u6a21\u5757\/\">\u6a21\u5757<\/a>\u5f00\u5934\u4f7f\u7528\u7684\u58f0\u660e\u3002<\/li><li>\u60a8\u53ef\u4ee5\u624b\u52a8\u8f93\u5165\u6216\u4ece\u9009\u9879\u4e2d\u542f\u7528\u5b83\u3002<\/li><li>\u60a8\u53ea\u80fd\u4f7f\u7528 Option Explicit \u4e00\u6b21\u3002<\/li><li>\u5b83\u8fd8\u53ef\u4ee5\u5e2e\u52a9\u60a8\u5728\u4f7f\u7528\u53d8\u91cf\u65f6\u8bc6\u522b\u62fc\u5199<a href=\"https:\/\/exceladvisor.org\/cn\/\u9519\u8bef\u5904\u7406\/\">\u9519\u8bef<\/a>\u3002<\/li><\/ul><h2 class=\"wp-block-heading\">\u4ec0\u4e48\u662f\u663e\u5f0f VBA \u9009\u9879<\/h2><p>Option Explicit \u662f\u4e00\u4e2a\u53ef\u4ee5\u5728\u6a21\u5757\u5f00\u5934\u4f7f\u7528\u7684\u8bed\u53e5\uff0c\u5f3a\u5236\u58f0\u660e\u6240\u6709\u53d8\u91cf\u3002\u6dfb\u52a0\u6b64\u8bed\u53e5\u540e\uff0cVBA \u5c06\u5728\u60a8\u8fd0\u884c\u4ee3\u7801\u65f6\u663e\u793a\u7f16\u8bd1\u9519\u8bef\uff0c\u5e76\u7a81\u51fa\u663e\u793a\u4ee3\u7801\u4e2d\u9700\u8981\u58f0\u660e\u7684\u53d8\u91cf\u3002 <\/p><div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-49733\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-option-vba-explicite.png\" sizes=\"auto, \" srcset=\"\" alt=\"vba \u9009\u9879\u663e\u5f0f\" width=\"325\" height=\"127\"><\/figure><\/div><p>\u5f53\u60a8\u5728\u6a21\u5757\u7684\u5f00\u5934\u6dfb\u52a0\u663e\u5f0f\u9009\u9879\u65f6\uff0cVBA \u5728\u5176\u4e0b\u65b9\u6dfb\u52a0\u5206\u9694\u7ebf\uff0c\u7136\u540e\u60a8\u53ef\u4ee5\u5f00\u59cb\u7f16\u5199\u8fc7\u7a0b\u3002\u5f53\u60a8\u4f7f\u7528\u663e\u5f0f\u58f0\u660e\u9009\u9879\u5e76\u8fd0\u884c\u8fc7\u7a0b\u65f6\uff0cVBA \u4f1a\u68c0\u67e5\u662f\u5426\u5b58\u5728\u672a\u58f0\u660e\u7684\u53d8\u91cf\u5e76\u5411\u60a8\u663e\u793a\u9519\u8bef\u6d88\u606f\u3002 <\/p><pre class=\"wp-block-code\"> <code class=\"language-visual-basic\" lang=\"visual-basic\">Option Explicit Sub myMacro() a = 50 MsgBox a End Sub<\/code><\/pre><div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-49734\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/2-vba-ajoute-une-ligne-de-separation.png\" sizes=\"auto, \" srcset=\"\" alt=\"vba-\u6dfb\u52a0\u5206\u9694\u7ebf\" width=\"387\" height=\"218\"><\/figure><\/div><p>\u4ee5\u4e0a\u662f\u672a\u58f0\u660e\u53d8\u91cf\u65f6\u6536\u5230\u7684\u6d88\u606f\u3002<\/p><h2 class=\"wp-block-heading\">\u5728 VBA \u4e2d\u542f\u7528\u663e\u5f0f\u9009\u9879<\/h2><p><strong>\u8981\u5728\u6a21\u5757\u4e2d\u542f\u7528\u663e\u5f0f\u9009\u9879\u8bed\u53e5\uff0c\u8bf7\u6309\u7167\u4ee5\u4e0b\u6b65\u9aa4\u64cd\u4f5c\u3002<\/strong><\/p><ol><li>\u9996\u5148\uff0c\u6253\u5f00 Visual Basic \u7f16\u8f91\u5668\uff0c\u7136\u540e\u5728\u201c\u5de5\u5177\u201d\u83dc\u5355\u4e0a\u5355\u51fb\u201c\u9009\u9879\u201d\u3002 <br><img loading=\"lazy\" decoding=\"async\" title=\"3-\u5728 vba \u4e2d\u542f\u7528\u663e\u5f0f\u9009\u9879\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/3-activer-loption-explicite-dans-vba.png\" sizes=\"auto, \" srcset=\"\" alt=\"activate-option-explicit-in-vba\" width=\"521\" height=\"210\"><\/li><li>\u4e4b\u540e\uff0c\u5728\u9009\u9879\u4e2d\uff0c\u8f6c\u5230\u7f16\u8f91\u5668\u9009\u9879\u5361\u5e76\u9009\u4e2d\u201c\u9700\u8981\u53d8\u91cf\u58f0\u660e\u201d\u6846\u3002 <br><img loading=\"lazy\" decoding=\"async\" title=\"4 \u4e2a\u9009\u9879\u5361\u7f16\u8f91\u5668\u548c\u590d\u9009\u6807\u8bb0\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/4-onglet-de-lediteur-et-coche.png\" sizes=\"auto, \" srcset=\"\" alt=\"editor-tab-and-tick-mark\" width=\"525\" height=\"373\"><\/li><li>\u6700\u540e\uff0c\u5355\u51fb\u201c\u786e\u5b9a\u201d\u3002<\/li><li>\u6267\u884c\u6b64\u64cd\u4f5c\u540e\uff0c\u6bcf\u6b21\u6dfb\u52a0\u65b0\u6a21\u5757\u65f6\uff0cVBA \u90fd\u4f1a\u6dfb\u52a0\u4e00\u4e2a\u663e\u5f0f\u9009\u9879\u3002<\/li><\/ol><p>\u4f46\u5b83\u4e0d\u4f1a\u5c06\u6b64\u58f0\u660e\u6dfb\u52a0\u5230\u60a8\u73b0\u6709\u7684\u6a21\u5757\u4e2d\uff0c\u56e0\u6b64\u60a8\u5fc5\u987b\u624b\u52a8\u5c06\u5b83\u4eec\u4e00\u4e00\u6dfb\u52a0\u5230\u6bcf\u4e2a\u73b0\u6709\u6a21\u5757\u4e2d\u3002<\/p><h2 class=\"wp-block-heading\">\u5982\u4f55\u624b\u52a8\u6dfb\u52a0\u5462\uff1f<\/h2><p>\u6b63\u5982\u6211\u6240\u63d0\u5230\u7684\uff0cOption Explicit \u8bed\u53e5\u5fc5\u987b\u4f4d\u4e8e\u7b2c\u4e00\u4e2a\u6a21\u5757\u8fc7\u7a0b\uff08Sub \u6216 Function\uff09\u4e4b\u524d\u3002\u56e0\u6b64\uff0c\u60a8\u9700\u8981\u5c06\u6b64\u58f0\u660e\u6dfb\u52a0\u5230\u7b2c\u4e00\u4e2a\u8fc7\u7a0b\uff08\u901a\u7528\u58f0\u660e\u533a\u57df\uff09\u4e0a\u65b9\uff0c\u5e76\u786e\u4fdd\u4ec5\u6dfb\u52a0\u4e00\u6b21\u3002 <\/p><div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-49738\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/5-zones-de-declarations-generales.png\" sizes=\"auto, \" srcset=\"\" alt=\"\u4e00\u822c\u58f0\u660e\u533a\" width=\"344\" height=\"392\"><\/figure><\/div><p>\u5982\u679c\u5c06\u5176\u6dfb\u52a0\u5230\u8fc7\u7a0b\u5185\u90e8\u6216\u4e24\u4e2a\u8fc7\u7a0b\u4e4b\u95f4\uff0c\u5f53\u60a8\u5c1d\u8bd5\u6267\u884c\u4efb\u4f55\u6a21\u5757\u4ee3\u7801\u65f6\uff0cVBA \u5c06\u663e\u793a\u9519\u8bef\u3002 <\/p><div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-49739\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/6-vba-vous-montrera-une-erreur.png\" sizes=\"auto, \" srcset=\"\" alt=\"vba \u5c06\u5411\u60a8\u663e\u793a\u9519\u8bef\" width=\"488\" height=\"305\"><\/figure><\/div><h2 class=\"wp-block-heading\">\u793a\u4f8b\uff08\u4e3a\u4ec0\u4e48\u4f7f\u7528 Option Explicit \u8bed\u53e5\u662f\u4e00\u4e2a\u597d\u4e60\u60ef\uff09<\/h2><p>\u8ba9\u6211\u5411\u60a8\u5c55\u793a\u4e00\u4e2a\u793a\u4f8b\uff0c\u8ba9\u60a8\u4e86\u89e3\u4e3a\u4ec0\u4e48\u5f3a\u70c8\u5efa\u8bae\u4f7f\u7528 Option Explicit \u8bed\u53e5\u3002\u770b\u4e0b\u9762\u7684\u4ee3\u7801\u3002<\/p><pre class=\"wp-block-code\"> <code class=\"language-visual-basic\" lang=\"visual-basic\">Sub myMacro() Dim myText As String myText = \"Puneet\" MsgBox MyTxt End Sub<\/code><\/pre><p>\u5728\u6b64\u4ee3\u7801\u4e2d\uff0c\u6211\u5c06\u53d8\u91cf\u201cmyText\u201d\u58f0\u660e\u4e3a\u5b57\u7b26\u4e32\uff0c\u7136\u540e\u8bbe\u7f6e\u8be5\u53d8\u91cf\u7684\u503c\u3002\u6700\u540e\uff0c\u6211\u4f7f\u7528\u4e86\u4e00\u4e2a<a href=\"https:\/\/exceladvisor.org\/cn\/vba\u6d88\u606f\u6846\/\">\u6d88\u606f\u6846<\/a>\u6765\u663e\u793a\u53d8\u91cf\u7684\u503c\uff0c\u4f46\u5982\u679c\u4ed4\u7ec6\u89c2\u5bdf\uff0c\u6211\u4f1a\u5c06\u8be5\u53d8\u91cf\u62fc\u5199\u4e3a\u201cMyTxt\u201d\u800c\u4e0d\u662f\u201cmyText\u201d\u3002 <\/p><div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-49740\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/7-a-declare-une-variable.png\" sizes=\"auto, \" srcset=\"\" alt=\"\u58f0\u660e\u53d8\u91cf\" width=\"284\" height=\"219\"><\/figure><\/div><p>\u73b0\u5728\uff0c\u5f53\u6211\u8fd0\u884c<a href=\"https:\/\/exceladvisor.org\/cn\/\u6267\u884c\u5b8f2\/\">\u6b64\u4ee3\u7801<\/a>\u65f6\uff0c\u5b83\u4f1a\u663e\u793a\u4e00\u4e2a\u7a7a\u7684<a href=\"https:\/\/exceladvisor.org\/cn\/vba\u6d88\u606f\u6846\/\">\u6d88\u606f\u6846<\/a>\u3002 <\/p><div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-49741\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/8-boite-de-message-vide.png\" sizes=\"auto, \" srcset=\"\" alt=\"\u7a7a\u6d88\u606f\u6846\" width=\"136\" height=\"146\"><\/figure><\/div><p>\u6211\u9700\u8981\u60a8 2 \u5206\u949f\u7684\u65f6\u95f4\u6765\u5e2e\u52a9\u60a8\u4e86\u89e3\u8fd9\u91cc\u7684\u771f\u6b63\u95ee\u9898\u3002\u5f53\u6211\u8f93\u5165\u9519\u8bef\u7684\u53d8\u91cf\u540d\u79f0\u65f6\uff0cVBA \u5c06\u5176\u89c6\u4e3a\u5355\u72ec\u7684\u53d8\u91cf\uff0c\u5e76\u4e14\u7531\u4e8e\u6211\u4e0d\u4f7f\u7528\u663e\u5f0f\u9009\u9879\u8bed\u53e5\uff0c\u56e0\u6b64\u5b83\u4e0d\u4f1a\u663e\u793a\u9519\u8bef\u3002 <\/p><div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-49742\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/9-mal-tape-le-nom-de-la-variable.png\" sizes=\"auto, \" srcset=\"\" alt=\"\u53d8\u91cf\u540d\u62fc\u5199\u9519\u8bef\" width=\"278\" height=\"184\"><\/figure><\/div><p>\u8fd9\u5c31\u662f\u6d88\u606f\u6846\u4f7f\u7528\u7b2c\u4e8c\u4e2a\uff08\u8f93\u5165\u9519\u8bef\u7684\uff09\u53d8\u91cf\u7684\u539f\u56e0\uff0c\u8be5\u53d8\u91cf\u6ca1\u6709\u5206\u914d\u4efb\u4f55\u503c\u3002\u73b0\u5728\u60f3\u4e00\u60f3\uff1b\u5982\u679c\u60a8\u7f16\u5199\u5f88\u957f\u7684\u4ee3\u7801\u5e76\u4e14\u4e0d\u4f7f\u7528\u663e\u5f0f\u9009\u9879\u8bed\u53e5\uff0c\u5219\u5728\u91cd\u65b0\u9605\u8bfb\u6240\u6709\u4ee3\u7801\u4e4b\u524d\u5c06\u5f88\u96be\u8ddf\u8e2a\u6b64\u9519\u8bef\u3002<\/p><p>\u4f46\u662f\uff0c\u5f53\u663e\u5f0f\u58f0\u660e\u9009\u9879\u6253\u5f00\u65f6\uff0c\u5f53\u6211\u8fd0\u884c\u6b64\u4ee3\u7801\u65f6\uff0c\u4f1a\u51fa\u73b0\u9519\u8bef\u3002 <\/p><div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-49743\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/10-utiliser-loption-explicite.png\" sizes=\"auto, \" srcset=\"\" alt=\"\u4f7f\u7528\u9009\u9879\u663e\u5f0f\" width=\"540\" height=\"293\"><\/figure><\/div><pre class=\"wp-block-code\"> <code class=\"language-visual-basic\" lang=\"visual-basic\">Option Explicit Sub myMacro() Dim myText As String myText = \"Puneet\" MsgBox MyTxt End Sub<\/code><\/pre><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\/\u5168\u5c40\u53d8\u91cf\/\">\u5728 VBA \u4e2d\u58f0\u660e\u5168\u5c40\uff08\u516c\u5171\uff09\u53d8\u91cf<\/a><\/li><li><a href=\"https:\/\/exceladvisor.org\/cn\/\u53ef\u53d8\u8303\u56f4\/\">\u5728 VBA \u4e2d\u4f7f\u7528\u8303\u56f4\u6216\u5355\u5143\u683c\u4f5c\u4e3a\u53d8\u91cf<\/a><\/li><li><a href=\"https:\/\/exceladvisor.org\/cn\/\u53ef\u53d8\u6d88\u606f\u6846\/\">\u6d88\u606f\u6846\u4e2d\u7684\u53d8\u91cf<\/a><\/li><li><a href=\"https:\/\/exceladvisor.org\/cn\/\u5e38\u91cf\/\">\u5e38\u6570VBA<\/a><\/li><li><a href=\"https:\/\/exceladvisor.org\/cn\/\u865a\u5f31\u7684\/\">\u660f\u6697\u7684VBA\u6307\u4ee4<\/a><\/li><\/ul><\/div><\/div><div class=\"gb-grid-column gb-grid-column-50067b57\"><div class=\"gb-container gb-container-50067b57\"><\/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-55","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>\u25b7 \u5982\u4f55\u5728VBA\u4e2d\u4f7f\u7528\u663e\u5f0f\u9009\u9879\u8bed\u53e5\uff1f<\/title>\n<meta name=\"description\" content=\"\u663e\u5f0f\u9009\u9879\u662f\u53ef\u4ee5\u5728\u6a21\u5757\u5f00\u5934\u4f7f\u7528\u7684\u8bed\u53e5\uff0c\u4ee5\u5f3a\u5236\u58f0\u660e\u6240\u6709\u53d8\u91cf\u3002\u4ec0\u4e48\u65f6\u5019\" \/>\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\/\u663e\u5f0f\u9009\u9879-2\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u25b7 \u5982\u4f55\u5728VBA\u4e2d\u4f7f\u7528\u663e\u5f0f\u9009\u9879\u8bed\u53e5\uff1f\" \/>\n<meta property=\"og:description\" content=\"\u663e\u5f0f\u9009\u9879\u662f\u53ef\u4ee5\u5728\u6a21\u5757\u5f00\u5934\u4f7f\u7528\u7684\u8bed\u53e5\uff0c\u4ee5\u5f3a\u5236\u58f0\u660e\u6240\u6709\u53d8\u91cf\u3002\u4ec0\u4e48\u65f6\u5019\" \/>\n<meta property=\"og:url\" content=\"https:\/\/exceladvisor.org\/cn\/\u663e\u5f0f\u9009\u9879-2\/\" \/>\n<meta property=\"og:site_name\" content=\"Excel Advisor\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-10T11:49:38+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-option-vba-explicite.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%98%be%e5%bc%8f%e9%80%89%e9%a1%b9-2\/\",\"url\":\"https:\/\/exceladvisor.org\/cn\/%e6%98%be%e5%bc%8f%e9%80%89%e9%a1%b9-2\/\",\"name\":\"\u25b7 \u5982\u4f55\u5728VBA\u4e2d\u4f7f\u7528\u663e\u5f0f\u9009\u9879\u8bed\u53e5\uff1f\",\"isPartOf\":{\"@id\":\"https:\/\/exceladvisor.org\/cn\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/exceladvisor.org\/cn\/%e6%98%be%e5%bc%8f%e9%80%89%e9%a1%b9-2\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/exceladvisor.org\/cn\/%e6%98%be%e5%bc%8f%e9%80%89%e9%a1%b9-2\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-option-vba-explicite.png\",\"datePublished\":\"2023-11-17T17:16:59+00:00\",\"dateModified\":\"2023-12-10T11:49:38+00:00\",\"description\":\"\u663e\u5f0f\u9009\u9879\u662f\u53ef\u4ee5\u5728\u6a21\u5757\u5f00\u5934\u4f7f\u7528\u7684\u8bed\u53e5\uff0c\u4ee5\u5f3a\u5236\u58f0\u660e\u6240\u6709\u53d8\u91cf\u3002\u4ec0\u4e48\u65f6\u5019\",\"breadcrumb\":{\"@id\":\"https:\/\/exceladvisor.org\/cn\/%e6%98%be%e5%bc%8f%e9%80%89%e9%a1%b9-2\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/exceladvisor.org\/cn\/%e6%98%be%e5%bc%8f%e9%80%89%e9%a1%b9-2\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/exceladvisor.org\/cn\/%e6%98%be%e5%bc%8f%e9%80%89%e9%a1%b9-2\/#primaryimage\",\"url\":\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-option-vba-explicite.png\",\"contentUrl\":\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-option-vba-explicite.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/exceladvisor.org\/cn\/%e6%98%be%e5%bc%8f%e9%80%89%e9%a1%b9-2\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u5bb6\",\"item\":\"https:\/\/exceladvisor.org\/cn\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5982\u4f55\u5728vba\u4e2d\u4f7f\u7528\u663e\u5f0f\u9009\u9879\u8bed\u53e5\uff1f\"}]},{\"@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":"\u25b7 \u5982\u4f55\u5728VBA\u4e2d\u4f7f\u7528\u663e\u5f0f\u9009\u9879\u8bed\u53e5\uff1f","description":"\u663e\u5f0f\u9009\u9879\u662f\u53ef\u4ee5\u5728\u6a21\u5757\u5f00\u5934\u4f7f\u7528\u7684\u8bed\u53e5\uff0c\u4ee5\u5f3a\u5236\u58f0\u660e\u6240\u6709\u53d8\u91cf\u3002\u4ec0\u4e48\u65f6\u5019","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\/\u663e\u5f0f\u9009\u9879-2\/","og_locale":"zh_CN","og_type":"article","og_title":"\u25b7 \u5982\u4f55\u5728VBA\u4e2d\u4f7f\u7528\u663e\u5f0f\u9009\u9879\u8bed\u53e5\uff1f","og_description":"\u663e\u5f0f\u9009\u9879\u662f\u53ef\u4ee5\u5728\u6a21\u5757\u5f00\u5934\u4f7f\u7528\u7684\u8bed\u53e5\uff0c\u4ee5\u5f3a\u5236\u58f0\u660e\u6240\u6709\u53d8\u91cf\u3002\u4ec0\u4e48\u65f6\u5019","og_url":"https:\/\/exceladvisor.org\/cn\/\u663e\u5f0f\u9009\u9879-2\/","og_site_name":"Excel Advisor","article_modified_time":"2023-12-10T11:49:38+00:00","og_image":[{"url":"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-option-vba-explicite.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/exceladvisor.org\/cn\/%e6%98%be%e5%bc%8f%e9%80%89%e9%a1%b9-2\/","url":"https:\/\/exceladvisor.org\/cn\/%e6%98%be%e5%bc%8f%e9%80%89%e9%a1%b9-2\/","name":"\u25b7 \u5982\u4f55\u5728VBA\u4e2d\u4f7f\u7528\u663e\u5f0f\u9009\u9879\u8bed\u53e5\uff1f","isPartOf":{"@id":"https:\/\/exceladvisor.org\/cn\/#website"},"primaryImageOfPage":{"@id":"https:\/\/exceladvisor.org\/cn\/%e6%98%be%e5%bc%8f%e9%80%89%e9%a1%b9-2\/#primaryimage"},"image":{"@id":"https:\/\/exceladvisor.org\/cn\/%e6%98%be%e5%bc%8f%e9%80%89%e9%a1%b9-2\/#primaryimage"},"thumbnailUrl":"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-option-vba-explicite.png","datePublished":"2023-11-17T17:16:59+00:00","dateModified":"2023-12-10T11:49:38+00:00","description":"\u663e\u5f0f\u9009\u9879\u662f\u53ef\u4ee5\u5728\u6a21\u5757\u5f00\u5934\u4f7f\u7528\u7684\u8bed\u53e5\uff0c\u4ee5\u5f3a\u5236\u58f0\u660e\u6240\u6709\u53d8\u91cf\u3002\u4ec0\u4e48\u65f6\u5019","breadcrumb":{"@id":"https:\/\/exceladvisor.org\/cn\/%e6%98%be%e5%bc%8f%e9%80%89%e9%a1%b9-2\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/exceladvisor.org\/cn\/%e6%98%be%e5%bc%8f%e9%80%89%e9%a1%b9-2\/"]}]},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/exceladvisor.org\/cn\/%e6%98%be%e5%bc%8f%e9%80%89%e9%a1%b9-2\/#primaryimage","url":"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-option-vba-explicite.png","contentUrl":"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-option-vba-explicite.png"},{"@type":"BreadcrumbList","@id":"https:\/\/exceladvisor.org\/cn\/%e6%98%be%e5%bc%8f%e9%80%89%e9%a1%b9-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u5bb6","item":"https:\/\/exceladvisor.org\/cn\/"},{"@type":"ListItem","position":2,"name":"\u5982\u4f55\u5728vba\u4e2d\u4f7f\u7528\u663e\u5f0f\u9009\u9879\u8bed\u53e5\uff1f"}]},{"@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\/55","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=55"}],"version-history":[{"count":1,"href":"https:\/\/exceladvisor.org\/cn\/wp-json\/wp\/v2\/pages\/55\/revisions"}],"predecessor-version":[{"id":1251,"href":"https:\/\/exceladvisor.org\/cn\/wp-json\/wp\/v2\/pages\/55\/revisions\/1251"}],"wp:attachment":[{"href":"https:\/\/exceladvisor.org\/cn\/wp-json\/wp\/v2\/media?parent=55"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}