{"id":62,"date":"2023-11-17T13:34:11","date_gmt":"2023-11-17T13:34:11","guid":{"rendered":"https:\/\/exceladvisor.org\/cn\/%e6%8e%a7%e5%88%b6%e8%a1%a8%e5%ad%98%e5%9c%a8\/"},"modified":"2023-12-10T11:46:44","modified_gmt":"2023-12-10T11:46:44","slug":"%e6%8e%a7%e5%88%b6%e8%a1%a8%e5%ad%98%e5%9c%a8","status":"publish","type":"page","link":"https:\/\/exceladvisor.org\/cn\/%e6%8e%a7%e5%88%b6%e8%a1%a8%e5%ad%98%e5%9c%a8\/","title":{"rendered":"\u5982\u4f55\u4f7f\u7528vba\u68c0\u67e5\u5de5\u4f5c\u8868\u662f\u5426\u5b58\u5728\uff1f"},"content":{"rendered":"<div class=\"excel-\" id=\"excel-205014479\"><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>\u5982\u679c\u8981\u521b\u5efa\u3001\u5220\u9664\u3001\u79fb\u52a8\u6216\u590d\u5236\u4e00\u5f20\u5de5\u4f5c\u8868\uff0c\u60a8\u9700\u8981\u77e5\u9053\u8be5\u5de5\u4f5c\u8868\u662f\u5426\u5b58\u5728\u3002<\/p><p>\u8981\u7f16\u5199\u4ee3\u7801\u6765\u68c0\u67e5\u5de5\u4f5c\u8868\u662f\u5426\u5b58\u5728\uff0c\u60a8\u9700\u8981\u4e00\u4e2a\u5faa\u73af\u6765\u904d\u5386\u5de5\u4f5c\u7c3f\u4e2d\u7684\u6bcf\u4e2a\u5de5\u4f5c\u8868\u5e76\u5339\u914d\u60a8\u63d0\u4f9b\u7684\u540d\u79f0\u3002\u4f46\u4e8b\u60c5\u662f\u8fd9\u6837\u7684\uff0c\u60a8\u53ef\u4ee5\u4e3a\u6b64\u4f7f\u7528\u4e24\u4e2a\u4e0d\u540c\u7684\u5faa\u73af\uff08 <a href=\"https:\/\/exceladvisor.org\/cn\/\u5bf9\u4e8e\u5faa\u73af\/\">For Next \u548c For Each<\/a> \uff09\uff0c\u4eca\u5929\u6211\u4eec\u5c06\u4f7f\u7528\u8fd9\u4e24\u4e2a\u5faa\u73af\u3002<\/p><p>\u5728\u672c\u6559\u7a0b\u4e2d\uff0c\u6211\u4eec\u5c06\u4e86\u89e3\u6267\u884c\u6b64\u64cd\u4f5c\u7684\u4e0d\u540c\u65b9\u6cd5\u3002\u56e0\u6b64\uff0c\u8bf7\u786e\u4fdd<a href=\"https:\/\/exceladvisor.org\/cn\/\u6dfb\u52a0\u5f00\u53d1\u8005\u9009\u9879\u5361\/\">\u529f\u80fd\u533a\u4e0a\u6709\u201c\u5f00\u53d1\u4eba\u5458\u201d\u9009\u9879\u5361<\/a>\u5e76\u6253\u5f00<a href=\"https:\/\/exceladvisor.org\/cn\/\u57fa\u672c\u53ef\u89c6\u5316\u7f16\u8f91\u5668\/\">VBA \u7f16\u8f91\u5668<\/a>\u6765\u7f16\u5199\u6b64\u4ee3\u7801\u3002<\/p><h2 class=\"wp-block-heading\">\u68c0\u67e5\u5f53\u524d\u5de5\u4f5c\u7c3f\u4e2d\u662f\u5426\u5b58\u5728\u5de5\u4f5c\u8868<\/h2><p>\u901a\u8fc7\u6b64\u5faa\u73af\uff0c\u60a8\u53ef\u4ee5\u5f15\u7528\u5de5\u4f5c\u7c3f\u4e2d\u7684\u6240\u6709\u5de5\u4f5c\u8868\uff0c\u5e76\u9010\u4e00\u5faa\u73af\u904d\u5386\u5b83\u4eec\uff0c\u4ee5\u5c06\u5de5\u4f5c\u8868\u540d\u79f0\u4e0e\u8981\u641c\u7d22\u7684\u5de5\u4f5c\u8868\u540d\u79f0\u76f8\u5339\u914d\u3002<\/p><p>\u6309\u7740\u8fd9\u4e9b\u6b21\u5e8f\uff1a<\/p><ol><li>\u9996\u5148\uff0c\u58f0\u660e\u4e00\u4e2a\u53d8\u91cf\u4ee5\u5728\u8fd0\u884c\u5faa\u73af\u65f6\u7528\u4e8e\u5de5\u4f5c\u8868\u5e76\u5b58\u50a8\u8981\u641c\u7d22\u7684\u5de5\u4f5c\u8868\u7684\u540d\u79f0\u3002 <br><img loading=\"lazy\" decoding=\"async\" title=\"1-\u58f0\u660e\u4e00\u4e2a\u7528\u4e8e\u5de5\u4f5c\u8868\u7684\u53d8\u91cf\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-declarer-une-variable-a-utiliser-pour-la-feuille.png\" sizes=\"auto, \" srcset=\"\" alt=\"declare-a-variable-to-use-for-the-sheet\" width=\"356\" height=\"215\"><\/li><li>\u63a5\u4e0b\u6765\uff0c\u4e3a\u8f93\u5165\u6846\u7f16\u5199\u4e00\u884c\u4ee3\u7801\uff0c\u7528\u4e8e\u8f93\u5165\u8981\u641c\u7d22\u7684\u5de5\u4f5c\u8868\u7684\u540d\u79f0\u3002 <br><img loading=\"lazy\" decoding=\"async\" title=\"\u8f93\u5165\u533a\u57df\u7684 2 \u884c\u4ee3\u7801\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/2-lignes-de-code-pour-une-zone-de-saisie.png\" sizes=\"auto, \" srcset=\"\" alt=\"line-of-code-for-an-input-box\" width=\"473\" height=\"211\"><\/li><li>\u4e4b\u540e\uff0c\u4f7f\u7528 For Each \u5173\u952e\u5b57\u5f00\u59cb\u5faa\u73af\u3002\u5e76<a href=\"https:\/\/exceladvisor.org\/cn\/\u53d8\u91cf\/\">\u4f7f\u7528\u53d8\u91cf<\/a>\u6765\u5f15\u7528\u5de5\u4f5c\u7c3f\u4e2d\u7684\u6bcf\u4e2a\u5de5\u4f5c\u8868\u3002 <br><img loading=\"lazy\" decoding=\"async\" title=\"3-\u5f00\u59cb\u5faa\u73af\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/3-commencez-votre-boucle.png\" sizes=\"auto, \" srcset=\"\" alt=\"start-your-loop\" width=\"461\" height=\"325\"><\/li><li>\u4ece\u8fd9\u91cc\u5f00\u59cb\uff0c\u60a8\u9700\u8981\u7f16\u5199\u4e00\u4e2a<a href=\"https:\/\/exceladvisor.org\/cn\/\u53d8\u91cf\/\">IF THEN ELSE<\/a>\u8bed\u53e5\u6765\u5c06\u5de5\u4f5c\u8868\u540d\u79f0\u4e0e\u60a8\u5728\u8f93\u5165\u6846\u4e2d\u8f93\u5165\u7684\u540d\u79f0\u8fdb\u884c\u5339\u914d\uff0c\u5982\u679c\u627e\u5230\u5339\u914d\uff0c\u5219\u663e\u793a\u4e00\u4e2a\u6d88\u606f\u6846\u5e76\u9000\u51fa\u8be5\u8fc7\u7a0b\u3002 <br><img loading=\"lazy\" decoding=\"async\" title=\"4-\u5199\u4e00\u4e2aif-then-else\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/4-ecrire-un-si-alors-sinon.png\" sizes=\"auto, \" srcset=\"\" alt=\"write-an-if-then-else\" width=\"516\" height=\"331\"><\/li><li>\u6700\u540e\uff0c\u5982\u679c\u6ca1\u6709\u627e\u5230\u5339\u914d\u9879\uff0c\u5219\u4f1a\u51fa\u73b0\u4e00\u4e2a<a href=\"https:\/\/exceladvisor.org\/cn\/vba\u6d88\u606f\u6846\/\">\u6d88\u606f\u6846<\/a>\uff0c\u901a\u77e5\u60a8\u3002 <br><img loading=\"lazy\" decoding=\"async\" title=\"5 \u4e2a\u8981\u663e\u793a\u7684\u6d88\u606f\u6846\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/5-boite-de-message-a-afficher.png\" sizes=\"auto, \" srcset=\"\" alt=\"message-box-to-show\" width=\"668\" height=\"513\"><\/li><\/ol><p class=\"content-box-grey\"><em>\u6709\u7528\u7684\u94fe\u63a5\uff1a<a href=\"https:\/\/exceladvisor.org\/cn\/\u6267\u884c\u5b8f2\/\">\u8fd0\u884c\u5b8f<\/a>\u2013<a href=\"https:\/\/exceladvisor.org\/cn\/\u5f55\u5236\u5b8f\/\">\u5b8f\u8bb0\u5f55\u5668<\/a>\u2013 <a href=\"https:\/\/exceladvisor.org\/cn\/\u57fa\u672c\u53ef\u89c6\u5316\u7f16\u8f91\u5668\/\">Visual Basic \u7f16\u8f91\u5668<\/a>\u2013<a href=\"https:\/\/exceladvisor.org\/cn\/\u4e2a\u4eba\u5b8f\u7b14\u8bb0\u672c\/\">\u4e2a\u4eba\u5b8f\u624b\u518c<\/a><\/em><\/p><p><strong>\u5b8c\u6574\u4ee3\u7801\uff1a<\/strong><\/p><pre class=\"wp-block-code\"> <code class=\"language-visual-basic\" lang=\"visual-basic\">Sub vba_check_sheet() Dim sht As Worksheet Dim shtName As String shtName = InputBox(Prompt:=\"Enter the sheet name\", _ Title:=\"Search Sheet\") For Each sht In ThisWorkbook.Worksheets If sht.Name = shtName Then MsgBox \"Yes! \" &amp; shtName &amp; \" is there in the workbook.\" Exit Sub End If Next sht MsgBox \"No! \" &amp; shtName &amp; \"is not there in the workbook.\" End Sub<\/code><\/pre><p><strong>\u8ba9\u6211\u89e3\u91ca\u4e00\u4e0b\u5b83\u662f\u5982\u4f55\u5de5\u4f5c\u7684\uff1a<\/strong>\u5f53\u60a8\u8fd0\u884c\u6b64\u4ee3\u7801\u65f6\uff0c\u4f1a\u51fa\u73b0\u4e00\u6761\u6d88\u606f\uff0c\u60a8\u9700\u8981\u5728\u5176\u4e2d\u8f93\u5165\u8981\u641c\u7d22\u7684\u5de5\u4f5c\u8868\u7684\u540d\u79f0\u3002<\/p><p>\u4e4b\u540e\uff0c\u5b83\u4f1a\u904d\u5386\u6bcf\u5f20\u5de5\u4f5c\u8868\uff0c\u5c06\u540d\u79f0\u4e0e\u60a8\u8f93\u5165\u7684\u540d\u79f0\u8fdb\u884c\u5339\u914d\uff0c\u5982\u679c\u540d\u79f0\u4e0e\u5de5\u4f5c\u8868\u5339\u914d\uff0c\u5b83\u4f1a\u5411\u60a8\u663e\u793a\u4e00\u6761\u6d88\u606f\uff0c\u5982\u679c\u4e0d\u5339\u914d\uff0c\u5219\u4f1a\u663e\u793a\u53e6\u4e00\u6761\u6d88\u606f\u3002<\/p><p>\u8fd9\u662f\u53e6\u4e00\u4e2a\u68c0\u67e5\u5de5\u4f5c\u8868\u662f\u5426\u5b58\u5728\u7684\u4ee3\u7801\u3002<\/p><pre class=\"wp-block-code\"> <code class=\"language-visual-basic\" lang=\"visual-basic\">Sub vba_check_sheet() Dim sht As Worksheet Dim shtName As String Dim i As Long i = Sheets.Count shtName = InputBox(Prompt:=\"Enter the sheet name\", _ Title:=\"Search Sheet\") For i = 1 To i If Sheets(i).Name = shtName Then MsgBox \"Yes! \" &amp; shtName &amp; \" is there in the workbook.\" Exit Sub End If Next i MsgBox \"No! \" &amp; shtName &amp; \" is not there in the workbook.\" End Sub<\/code><\/pre><p>\u6b64\u4ee3\u7801\u4f7f\u7528 FOR NEXT \u5faa\u73af\u5e76\u4f7f\u7528\u5de5\u4f5c\u7c3f\u4e2d\u7684\u5de5\u4f5c\u8868\u603b\u6570\uff0c\u5e76\u5728\u6b64\u57fa\u7840\u4e0a\u5faa\u73af\u904d\u5386\u540d\u79f0\u4e0e\u60a8\u8f93\u5165\u7684\u540d\u79f0\u76f8\u5339\u914d\u7684\u6bcf\u4e2a\u5de5\u4f5c\u8868\u3002<\/p><h2 class=\"wp-block-heading\">\u68c0\u67e5\u5173\u95ed\u7684\u5de5\u4f5c\u7c3f\u4e2d\u662f\u5426\u5b58\u5728\u5de5\u4f5c\u8868<\/h2><p>\u5728\u4ee5\u4e0b\u4ee3\u7801\u4e2d\uff0c\u60a8\u6709\u4e00\u4e2a\u5faa\u73af\u5728\u5173\u95ed\u7684\u5de5\u4f5c\u7c3f\u4e2d\u641c\u7d22\u5de5\u4f5c\u8868\u540d\u79f0\u3002\u4e3a\u4e86\u5f15\u7528\u8be5\u6587\u4ef6\uff0c\u6211\u4eec\u4f7f\u7528\u4e86\u6587\u4ef6\u5730\u5740\u3002<\/p><pre class=\"wp-block-code\"> <code class=\"language-visual-basic\" lang=\"visual-basic\">Sub vba_check_sheet() Dim wb As Workbook Dim sht As Worksheet Dim shtName As String shtName = InputBox(Prompt:=\"Enter the sheet name\", _ Title:=\"Search Sheet\") Application.ScreenUpdating = False Set wb = Workbooks.Open _ (\"C:UsersDellDesktopsample-file.xlsx\") For Each sht In wb.Worksheets If sht.Name = shtName Then wb.Close SaveChanges:=True MsgBox \"Yes! \" &amp; shtName &amp; \" is there in the workbook.\" _ , vbInformation, \"Found\" Exit Sub End If Next sht Application.ScreenUpdating = False MsgBox \"No! \" &amp; shtName _ &amp; \" is not there in the workbook.\", _ vbCritical, \"Not Found\" End Sub<\/code><\/pre><p>\u5f53\u60a8\u8fd0\u884c\u6b64\u5b8f\u65f6\uff0c\u5f53\u60a8\u7981\u7528\u5c4f\u5e55\u66f4\u65b0\u65f6\uff0c\u5b83\u4f1a\u6253\u5f00\u540e\u9762\u7684\u6587\u4ef6\uff0c\u4e00\u65e6\u5b83\u904d\u5386\u6240\u6709\u5de5\u4f5c\u8868\uff0c\u60a8\u5c31\u62e5\u6709\u542f\u7528\u5c4f\u5e55\u66f4\u65b0\u7684\u4ee3\u7801\u3002 &#8216;\u5c4f\u5e55\u3002<\/p><p class=\"qt-tip\"><strong>\u6ce8\u610f\uff1a<\/strong>\u6b63\u5982\u60a8\u6240\u770b\u5230\u7684\uff0c\u5728\u6587\u4ef6\u4f4d\u7f6e\u5730\u5740\u4e2d\u6211\u4eec\u6709\u6587\u4ef6\u6269\u5c55\u540d\uff0c\u8fd9\u610f\u5473\u7740\u60a8\u9700\u8981\u6709\u6b63\u786e\u7684\u6587\u4ef6\u6269\u5c55\u540d\u624d\u80fd\u5f15\u7528\u5b83\u3002<\/p><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\/\u900f\u660e\u7eb8\/\">\u5728 Excel \u4e2d\u4f7f\u7528 VBA \u6e05\u9664\u6574\u4e2a\u5de5\u4f5c\u8868<\/a><\/li><li><a href=\"https:\/\/exceladvisor.org\/cn\/\u590d\u5370\u8868\/\">\u4f7f\u7528 VBA \u5728 Excel \u4e2d\u590d\u5236\u548c\u79fb\u52a8\u5de5\u4f5c\u8868<\/a><\/li><li><a href=\"https:\/\/exceladvisor.org\/cn\/\u6570\u53f6\u5b50\/\">\u5728 Excel \u4e2d\u4f7f\u7528 VBA \u8ba1\u7b97 COUNT \u4e2a\u5de5\u4f5c\u8868<\/a><\/li><li><a href=\"https:\/\/exceladvisor.org\/cn\/\u5220\u9664\u5de5\u4f5c\u8868-1\/\">\u5728 Excel \u4e2d\u4f7f\u7528 VBA \u5220\u9664\u5de5\u4f5c\u8868<\/a><\/li><li><a href=\"https:\/\/exceladvisor.org\/cn\/\u9690\u85cf\u8868\/\">\u5728 Excel \u4e2d\u4f7f\u7528 VBA \u9690\u85cf\u548c\u663e\u793a\u5de5\u4f5c\u8868<\/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-62","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>\u5982\u4f55\u5728Excel\u4e2d\u4f7f\u7528VBA\u68c0\u67e5\u5de5\u4f5c\u8868\u662f\u5426\u5b58\u5728\uff1f<\/title>\n<meta name=\"description\" content=\"\u5982\u679c\u8981\u521b\u5efa\u3001\u5220\u9664\u3001\u79fb\u52a8\u6216\u590d\u5236\u4e00\u5f20\u5de5\u4f5c\u8868\uff0c\u60a8\u9700\u8981\u77e5\u9053\u8be5\u5de5\u4f5c\u8868\u662f\u5426\u5b58\u5728\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\/\u63a7\u5236\u8868\u5b58\u5728\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5982\u4f55\u5728Excel\u4e2d\u4f7f\u7528VBA\u68c0\u67e5\u5de5\u4f5c\u8868\u662f\u5426\u5b58\u5728\uff1f\" \/>\n<meta property=\"og:description\" content=\"\u5982\u679c\u8981\u521b\u5efa\u3001\u5220\u9664\u3001\u79fb\u52a8\u6216\u590d\u5236\u4e00\u5f20\u5de5\u4f5c\u8868\uff0c\u60a8\u9700\u8981\u77e5\u9053\u8be5\u5de5\u4f5c\u8868\u662f\u5426\u5b58\u5728\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/exceladvisor.org\/cn\/\u63a7\u5236\u8868\u5b58\u5728\/\" \/>\n<meta property=\"og:site_name\" content=\"Excel Advisor\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-10T11:46:44+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-declarer-une-variable-a-utiliser-pour-la-feuille.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/exceladvisor.org\/cn\/%e6%8e%a7%e5%88%b6%e8%a1%a8%e5%ad%98%e5%9c%a8\/\",\"url\":\"https:\/\/exceladvisor.org\/cn\/%e6%8e%a7%e5%88%b6%e8%a1%a8%e5%ad%98%e5%9c%a8\/\",\"name\":\"\u5982\u4f55\u5728Excel\u4e2d\u4f7f\u7528VBA\u68c0\u67e5\u5de5\u4f5c\u8868\u662f\u5426\u5b58\u5728\uff1f\",\"isPartOf\":{\"@id\":\"https:\/\/exceladvisor.org\/cn\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/exceladvisor.org\/cn\/%e6%8e%a7%e5%88%b6%e8%a1%a8%e5%ad%98%e5%9c%a8\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/exceladvisor.org\/cn\/%e6%8e%a7%e5%88%b6%e8%a1%a8%e5%ad%98%e5%9c%a8\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-declarer-une-variable-a-utiliser-pour-la-feuille.png\",\"datePublished\":\"2023-11-17T13:34:11+00:00\",\"dateModified\":\"2023-12-10T11:46:44+00:00\",\"description\":\"\u5982\u679c\u8981\u521b\u5efa\u3001\u5220\u9664\u3001\u79fb\u52a8\u6216\u590d\u5236\u4e00\u5f20\u5de5\u4f5c\u8868\uff0c\u60a8\u9700\u8981\u77e5\u9053\u8be5\u5de5\u4f5c\u8868\u662f\u5426\u5b58\u5728\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/exceladvisor.org\/cn\/%e6%8e%a7%e5%88%b6%e8%a1%a8%e5%ad%98%e5%9c%a8\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/exceladvisor.org\/cn\/%e6%8e%a7%e5%88%b6%e8%a1%a8%e5%ad%98%e5%9c%a8\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/exceladvisor.org\/cn\/%e6%8e%a7%e5%88%b6%e8%a1%a8%e5%ad%98%e5%9c%a8\/#primaryimage\",\"url\":\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-declarer-une-variable-a-utiliser-pour-la-feuille.png\",\"contentUrl\":\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-declarer-une-variable-a-utiliser-pour-la-feuille.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/exceladvisor.org\/cn\/%e6%8e%a7%e5%88%b6%e8%a1%a8%e5%ad%98%e5%9c%a8\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u5bb6\",\"item\":\"https:\/\/exceladvisor.org\/cn\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5982\u4f55\u4f7f\u7528vba\u68c0\u67e5\u5de5\u4f5c\u8868\u662f\u5426\u5b58\u5728\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":"\u5982\u4f55\u5728Excel\u4e2d\u4f7f\u7528VBA\u68c0\u67e5\u5de5\u4f5c\u8868\u662f\u5426\u5b58\u5728\uff1f","description":"\u5982\u679c\u8981\u521b\u5efa\u3001\u5220\u9664\u3001\u79fb\u52a8\u6216\u590d\u5236\u4e00\u5f20\u5de5\u4f5c\u8868\uff0c\u60a8\u9700\u8981\u77e5\u9053\u8be5\u5de5\u4f5c\u8868\u662f\u5426\u5b58\u5728\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\/\u63a7\u5236\u8868\u5b58\u5728\/","og_locale":"zh_CN","og_type":"article","og_title":"\u5982\u4f55\u5728Excel\u4e2d\u4f7f\u7528VBA\u68c0\u67e5\u5de5\u4f5c\u8868\u662f\u5426\u5b58\u5728\uff1f","og_description":"\u5982\u679c\u8981\u521b\u5efa\u3001\u5220\u9664\u3001\u79fb\u52a8\u6216\u590d\u5236\u4e00\u5f20\u5de5\u4f5c\u8868\uff0c\u60a8\u9700\u8981\u77e5\u9053\u8be5\u5de5\u4f5c\u8868\u662f\u5426\u5b58\u5728\u3002","og_url":"https:\/\/exceladvisor.org\/cn\/\u63a7\u5236\u8868\u5b58\u5728\/","og_site_name":"Excel Advisor","article_modified_time":"2023-12-10T11:46:44+00:00","og_image":[{"url":"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-declarer-une-variable-a-utiliser-pour-la-feuille.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/exceladvisor.org\/cn\/%e6%8e%a7%e5%88%b6%e8%a1%a8%e5%ad%98%e5%9c%a8\/","url":"https:\/\/exceladvisor.org\/cn\/%e6%8e%a7%e5%88%b6%e8%a1%a8%e5%ad%98%e5%9c%a8\/","name":"\u5982\u4f55\u5728Excel\u4e2d\u4f7f\u7528VBA\u68c0\u67e5\u5de5\u4f5c\u8868\u662f\u5426\u5b58\u5728\uff1f","isPartOf":{"@id":"https:\/\/exceladvisor.org\/cn\/#website"},"primaryImageOfPage":{"@id":"https:\/\/exceladvisor.org\/cn\/%e6%8e%a7%e5%88%b6%e8%a1%a8%e5%ad%98%e5%9c%a8\/#primaryimage"},"image":{"@id":"https:\/\/exceladvisor.org\/cn\/%e6%8e%a7%e5%88%b6%e8%a1%a8%e5%ad%98%e5%9c%a8\/#primaryimage"},"thumbnailUrl":"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-declarer-une-variable-a-utiliser-pour-la-feuille.png","datePublished":"2023-11-17T13:34:11+00:00","dateModified":"2023-12-10T11:46:44+00:00","description":"\u5982\u679c\u8981\u521b\u5efa\u3001\u5220\u9664\u3001\u79fb\u52a8\u6216\u590d\u5236\u4e00\u5f20\u5de5\u4f5c\u8868\uff0c\u60a8\u9700\u8981\u77e5\u9053\u8be5\u5de5\u4f5c\u8868\u662f\u5426\u5b58\u5728\u3002","breadcrumb":{"@id":"https:\/\/exceladvisor.org\/cn\/%e6%8e%a7%e5%88%b6%e8%a1%a8%e5%ad%98%e5%9c%a8\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/exceladvisor.org\/cn\/%e6%8e%a7%e5%88%b6%e8%a1%a8%e5%ad%98%e5%9c%a8\/"]}]},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/exceladvisor.org\/cn\/%e6%8e%a7%e5%88%b6%e8%a1%a8%e5%ad%98%e5%9c%a8\/#primaryimage","url":"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-declarer-une-variable-a-utiliser-pour-la-feuille.png","contentUrl":"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-declarer-une-variable-a-utiliser-pour-la-feuille.png"},{"@type":"BreadcrumbList","@id":"https:\/\/exceladvisor.org\/cn\/%e6%8e%a7%e5%88%b6%e8%a1%a8%e5%ad%98%e5%9c%a8\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u5bb6","item":"https:\/\/exceladvisor.org\/cn\/"},{"@type":"ListItem","position":2,"name":"\u5982\u4f55\u4f7f\u7528vba\u68c0\u67e5\u5de5\u4f5c\u8868\u662f\u5426\u5b58\u5728\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\/62","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=62"}],"version-history":[{"count":1,"href":"https:\/\/exceladvisor.org\/cn\/wp-json\/wp\/v2\/pages\/62\/revisions"}],"predecessor-version":[{"id":965,"href":"https:\/\/exceladvisor.org\/cn\/wp-json\/wp\/v2\/pages\/62\/revisions\/965"}],"wp:attachment":[{"href":"https:\/\/exceladvisor.org\/cn\/wp-json\/wp\/v2\/media?parent=62"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}