{"id":42,"date":"2023-11-18T05:28:14","date_gmt":"2023-11-18T05:28:14","guid":{"rendered":"https:\/\/exceladvisor.org\/cn\/%e7%bb%98%e7%94%bb\/"},"modified":"2023-12-10T11:45:09","modified_gmt":"2023-12-10T11:45:09","slug":"%e7%bb%98%e7%94%bb","status":"publish","type":"page","link":"https:\/\/exceladvisor.org\/cn\/%e7%bb%98%e7%94%bb\/","title":{"rendered":"Vba \u8868\uff1a\u57fa\u7840\u5230\u9ad8\u7ea7\u6307\u5357"},"content":{"rendered":"<div class=\"excel-\" id=\"excel-2980778587\"><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 class=\"wp-block-heading\"><strong>\u5173\u952e\u70b9<\/strong><\/p><ul><li>\u5c06 VBA \u8868\u4e2d\u7684\u8868\u89c6\u4e3a\u7528\u4e8e\u5b58\u50a8\u548c\u7ec4\u7ec7\u6570\u636e\uff08\u4f8b\u5982\uff1a\u5b66\u751f\u59d3\u540d\u3001\u79d1\u76ee\u548c\u5206\u6570\uff09\u7684\u8ff7\u4f60\u6570\u636e\u5e93\u3002<\/li><li>\u4f7f\u7528\u4e4b\u524d\u5fc5\u987b\u58f0\u660e\u4e00\u4e2a\u6570\u7ec4\uff1b\u53ca\u5176\u6570\u636e\u7c7b\u578b\u548c\u8981\u5b58\u50a8\u5728\u5176\u4e2d\u7684\u503c\u7684\u6570\u91cf\u3002<\/li><\/ul><p>\u5982\u679c\u60a8\u60f3\u4f7f\u7528 VBA \u5904\u7406\u5927\u6570\u636e\uff0c\u60a8\u9700\u8981\u4e86\u89e3\u8868\u4ee5\u53ca\u5982\u4f55\u5728 VBA \u4ee3\u7801\u4e2d\u4f7f\u7528\u5b83\u4eec\u3002\u5728\u672c\u6307\u5357\u4e2d\uff0c\u60a8\u5c06\u63a2\u7d22\u8be5\u8868\u7684\u5404\u4e2a\u65b9\u9762\uff0c\u6211\u4eec\u8fd8\u5c06\u770b\u5230\u4e00\u4e9b\u8981\u4f7f\u7528\u7684\u793a\u4f8b\u3002\u4ed6\u4eec\u3002<\/p><h2 class=\"wp-block-heading\"> VBA \u4e2d\u7684\u8868\u662f\u4ec0\u4e48\uff1f<\/h2><p>\u5728VBA\u4e2d\uff0c\u6570\u7ec4\u662f\u53ef\u4ee5<strong>\u5b58\u50a8\u591a\u4e2a\u503c\u7684<\/strong>\u53d8\u91cf\u3002\u60a8\u53ef\u4ee5\u4e00\u6b21\u8bbf\u95ee\u8be5\u6570\u7ec4\u4e2d\u7684\u6240\u6709\u503c\uff0c\u4e5f\u53ef\u4ee5\u901a\u8fc7\u6307\u5b9a\u5176\u7d22\u5f15\u53f7\uff08\u5373\u8be5\u503c\u5728\u6570\u7ec4\u4e2d\u7684\u4f4d\u7f6e\uff09\u6765\u8bbf\u95ee\u5355\u4e2a\u503c\u3002\u60f3\u8c61\u4e00\u4e0b\uff0c\u60a8\u6709\u4e00\u4e2a\u7ea6\u4f1a\uff0c\u8981\u77e5\u9053\u5b66\u751f\u7684\u59d3\u540d\u3001\u79d1\u76ee\u548c\u6210\u7ee9\u3002<\/p><p>\u60a8\u53ef\u4ee5\u5c06\u6240\u6709\u8fd9\u4e9b\u4fe1\u606f\u5b58\u50a8\u5728\u4e00\u4e2a\u8868\u4e2d\uff0c\u4e0d\u4ec5\u53ef\u4ee5\u5b58\u50a8\u4e00\u4e2a\u5b66\u751f\u7684\u4fe1\u606f\uff0c\u8fd8\u53ef\u4ee5\u5b58\u50a8\u6570\u767e\u4e2a\u5b66\u751f\u7684\u4fe1\u606f\u3002\u8fd9\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u4f8b\u5b50\u6765\u89e3\u91ca\u8868\u683c\u3002 <\/p><div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-52233\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-exemple-pour-expliquer-un-tableau.png\" sizes=\"auto, \" srcset=\"\" alt=\"\u89e3\u91ca\u8868\u683c\u7684\u4f8b\u5b50\" width=\"511\" height=\"303\"><\/figure><\/div><p>\u5728\u4e0a\u9762\u7684\u793a\u4f8b\u4e2d\uff0c\u60a8\u6709\u4e00\u4e2a\u5305\u542b\u5341\u4e2a\u5143\u7d20\uff08\u6570\u7ec4\u5927\u5c0f\uff09\u7684\u6570\u7ec4\uff0c\u6bcf\u4e2a\u5143\u7d20\u90fd\u6709\u4e00\u4e2a\u7279\u5b9a\u7684\u4f4d\u7f6e\uff08\u7d22\u5f15\uff09\u3002<\/p><p>\u56e0\u6b64\uff0c\u5982\u679c\u60a8\u60f3\u4f7f\u7528\u7b2c\u516b\u4e2a\u4f4d\u7f6e\u7684\u5143\u7d20\uff0c\u5219\u5fc5\u987b\u4f7f\u7528\u5176\u7d22\u5f15\u53f7\u6765\u5f15\u7528\u8be5\u5143\u7d20\u3002<\/p><p>\u6211\u4eec\u5728\u4e0a\u9762\u7684\u4f8b\u5b50\u4e2d\u4f7f\u7528\u7684\u6570\u7ec4\u662f\u4e00\u4e2a\u4e00\u7ef4\u6570\u7ec4\u3002\u4f46\u5728\u672c\u6307\u5357\u7684\u540e\u9762\uff0c\u6211\u4eec\u8fd8\u5c06\u4e86\u89e3\u591a\u7ef4\u6570\u7ec4\u3002<\/p><h2 class=\"wp-block-heading\">\u5982\u4f55\u5728VBA\u4e2d\u58f0\u660e\u6570\u7ec4<\/h2><p>\u6b63\u5982\u6211\u4e0a\u9762\u63d0\u5230\u7684\uff0c\u6570\u7ec4\u662f\u53d8\u91cf\u7684\u7c7b\u578b\uff0c\u56e0\u6b64\u60a8\u9700\u8981\u4f7f\u7528\u5173\u952e\u5b57\uff08Dim\u3001Private\u3001Public \u548c Static\uff09\u6765\u58f0\u660e\u5b83\u3002\u4e0e\u666e\u901a\u53d8\u91cf\u4e0d\u540c\uff0c\u58f0\u660e\u6570\u7ec4\u65f6\uff0c\u5fc5\u987b\u5728\u6570\u7ec4\u540d\u79f0\u540e\u4f7f\u7528\u4e00\u5bf9\u62ec\u53f7\u3002<\/p><p>\u5047\u8bbe\u60a8\u60f3\u58f0\u660e\u4e00\u4e2a\u6211\u4eec\u5728\u4e0a\u9762\u7684\u793a\u4f8b\u4e2d\u4f7f\u7528\u7684\u6570\u7ec4\u3002<\/p><p><strong>\u58f0\u660e\u6570\u7ec4\u7684\u6b65\u9aa4\u3002<\/strong><\/p><ul><li>\u9996\u5148\uff0c\u4f7f\u7528\u5173\u952e\u5b57\u201cDim\u201d\uff0c\u8f93\u5165\u8868\u540d\u79f0\u5e76\u952e\u5165\u62ec\u53f7\u3002 <br><img loading=\"lazy\" decoding=\"async\" title=\"2-\u4f7f\u7528\u5173\u952e\u5b57dim\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/2-utiliser-le-mot-cle-dim.png\" sizes=\"auto, \" srcset=\"\" alt=\"use-the-keyword-dim\" width=\"375\" height=\"215\"><\/li><li>\u63a5\u4e0b\u6765\uff0c\u60a8\u9700\u8981\u6307\u5b9a\u6570\u7ec4\u7684\u6570\u636e\u7c7b\u578b\u3002\u5982\u679c\u6ca1\u6709\u6307\u5b9a\u6570\u636e\u7c7b\u578b\uff0cVBA \u5c06\u5206\u914d\u9002\u5f53\u7684\u6570\u636e\u7c7b\u578b\u3002 <br><img loading=\"lazy\" decoding=\"async\" title=\"3-\u6307\u5b9a\u6570\u7ec4\u7684\u6570\u636e\u7c7b\u578b\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/3-specifier-le-type-de-donnees-dun-tableau.png\" sizes=\"auto, \" srcset=\"\" alt=\"specify-data-type-of-an-array\" width=\"377\" height=\"197\"><\/li><li>\u4e4b\u540e\uff0c\u60a8\u9700\u8981\u5b9a\u4e49\u8981\u5728\u6570\u7ec4\u4e2d\u5b58\u50a8\u7684\u5143\u7d20\u6570\u91cf\u3002 <br><img loading=\"lazy\" decoding=\"async\" title=\"4 \u7ec4\u9879\u76ee\u6570\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/4-definir-le-nombre-darticles.png\" sizes=\"auto, \" srcset=\"\" alt=\"define-the-number-of-items\" width=\"381\" height=\"176\"><\/li><li>\u6700\u7ec8\uff0c\u8981\u4e3a\u6570\u7ec4\u4e2d\u7684\u5143\u7d20\u8d4b\u503c\uff0c\u5fc5\u987b\u4f7f\u7528\u8be5\u5143\u7d20\u7684\u7d22\u5f15\u53f7\u6765\u6807\u8bc6\u5b83\uff0c\u7136\u540e\u4e3a\u5176\u8d4b\u503c\u3002 <br><img loading=\"lazy\" decoding=\"async\" title=\"5-\u4e3a\u9879\u76ee\u8d4b\u503c\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/5-attribuer-une-valeur-a-un-element.png\" sizes=\"auto, \" srcset=\"\" alt=\"assign-a-vale-to-an-item\" width=\"336\" height=\"391\"><\/li><\/ul><p><strong>\u5b8c\u6574\u4ee3\u7801<\/strong><\/p><pre class=\"wp-block-code\"> <code class=\"language-visual-basic\" lang=\"visual-basic\">Sub vba_array_example() Dim StudentsNames(10) As String StudentsNames(0) = \"Waylon\" StudentsNames(1) = \"Morton\" StudentsNames(2) = \"Rudolph\" StudentsNames(3) = \"Georgene\" StudentsNames(4) = \"Billi\" StudentsNames(5) = \"Enid\" StudentsNames(6) = \"Genevieve\" StudentsNames(7) = \"Judi\" StudentsNames(8) = \"Madaline\" StudentsNames(9) = \"Elton\" End Sub<\/code><\/pre><h3 class=\"wp-block-heading\">\u5feb\u901f\u7b14\u8bb0<\/h3><ul><li>\u5728\u4e0a\u9762\u7684\u4ee3\u7801\u4e2d\uff0c\u9996\u5148\u6709 Dim \u8bed\u53e5\uff0c\u5b83\u5b9a\u4e49\u4e86\u6700\u591a\u53ef\u4ee5\u5b58\u50a8 10 \u4e2a\u5143\u7d20\u5e76\u5177\u6709\u5b57\u7b26\u4e32\u6570\u636e\u7c7b\u578b\u7684\u4e00\u7ef4\u6570\u7ec4\u3002<\/li><li>\u4e4b\u540e\uff0c\u60a8\u5c06\u6709 10 \u884c\u4ee3\u7801\u5b9a\u4e49\u6570\u7ec4\u7684\u5143\u7d20\u4ece 0 \u5230 9\u3002<\/li><\/ul><h3 class=\"wp-block-heading\">\u5177\u6709\u4e0d\u540c\u6570\u636e\u7c7b\u578b\u7684\u8868<\/h3><p>\u58f0\u660e\u6570\u7ec4\u65f6\uff0c\u5982\u679c\u672a\u80fd\u6307\u5b9a\u6570\u636e\u7c7b\u578b\uff0cVBA \u5c06\u81ea\u52a8\u4f7f\u7528\u53d8\u5316\u7684\u6570\u636e\u7c7b\u578b\uff0c\u5bfc\u81f4\u5185\u5b58\u4f7f\u7528\u91cf\u7565\u6709\u589e\u52a0\uff0c\u800c\u5185\u5b58\u4f7f\u7528\u91cf\u7684\u589e\u52a0\u53ef\u80fd\u4f1a\u964d\u4f4e\u4ee3\u7801\u6027\u80fd\u3002<\/p><p>\u56e0\u6b64\uff0c\u9664\u975e\u6709\u5fc5\u8981\u4f7f\u7528\u53d8\u4f53\u6570\u636e\u7c7b\u578b\uff0c\u5426\u5219\u6700\u597d\u5728\u58f0\u660e\u6570\u7ec4\u65f6\u5b9a\u4e49\u7279\u5b9a\u7684\u6570\u636e\u7c7b\u578b\u3002<\/p><h2 class=\"wp-block-heading\">\u4ece\u6570\u7ec4\u8fd4\u56de\u4fe1\u606f<\/h2><p>\u6b63\u5982\u6211\u4e4b\u524d\u63d0\u5230\u7684\uff0c\u8981\u4ece\u6570\u7ec4\u4e2d\u83b7\u53d6\u4fe1\u606f\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528\u5143\u7d20\u7684\u7d22\u5f15\u53f7\u6765\u6307\u5b9a\u5176\u4f4d\u7f6e\u3002\u4f8b\u5982\uff0c\u5982\u679c\u60a8\u60f3\u8fd4\u56de\u6211\u4eec\u5728\u4e0a\u4e00\u4e2a\u793a\u4f8b\u4e2d\u521b\u5efa\u7684\u533a\u57df\u7684\u7b2c 8 \u4e2a\u5143\u7d20\uff0c\u5219\u4ee3\u7801\u5c06\u4e3a\uff1a <\/p><div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-52238\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/6-retour-dinformations-a-partir-dun-tableau.png\" sizes=\"auto, \" srcset=\"\" alt=\"\u8868\u53cd\u9988\" width=\"479\" height=\"451\"><\/figure><\/div><p>\u5728\u4e0a\u9762\u7684\u4ee3\u7801\u4e2d\uff0c\u60a8\u4f7f\u7528\u6570\u7ec4\u5143\u7d20 8 \u5728\u5355\u5143\u683c A1 \u4e2d\u8f93\u5165\u4e86\u503c\u3002<\/p><h2 class=\"wp-block-heading\">\u4f7f\u7528\u9009\u9879\u57fa\u6570 1<\/h2><p>\u6211\u786e\u4fe1\u60a8\u73b0\u5728\u8111\u5b50\u91cc\u6709\u8fd9\u4e2a\u95ee\u9898\uff0c\u4e3a\u4ec0\u4e48\u6211\u4eec\u7684\u9879\u76ee\u5217\u8868\u4ece\u96f6\u5f00\u59cb\uff0c\u800c\u4e0d\u662f\u4ece 1 \u5f00\u59cb\uff1f<\/p><p>\u55ef\uff0c\u8fd9\u4e0d\u662f\u4e00\u4e2a\u9519\u8bef\u3002<\/p><p>\u5f53\u7f16\u7a0b\u8bed\u8a00\u6700\u521d\u88ab\u6784\u9020\u65f6<a href=\"http:\/\/www.cs.utexas.edu\/users\/EWD\/transcriptions\/EWD08xx\/EWD831.html\" target=\"_blank\" rel=\"noreferrer noopener\">\uff0c\u4e00\u4e9b\u7c97\u5fc3\u4f7f\u5f97\u8fd9\u4e2a\u7ed3\u6784\u6210\u4e3a\u4e86<\/a>\u6570\u7ec4\u4e2d\u7684\u5143\u7d20\u5217\u8868\u3002\u5728\u5927\u591a\u6570\u7f16\u7a0b\u8bed\u8a00\u4e2d\uff0c\u60a8\u53ef\u4ee5\u627e\u5230\u76f8\u540c\u7684\u5217\u8868\u9879\u7ed3\u6784\u3002<\/p><p>\u7136\u800c\uff0c\u4e0e\u5927\u591a\u6570\u5176\u4ed6\u8ba1\u7b97\u673a\u8bed\u8a00\u4e0d\u540c\uff0c\u5728 VBA \u4e2d\uff0c\u60a8\u53ef\u4ee5\u6807\u51c6\u5316\u7d22\u5f15\u7684\u5de5\u4f5c\u65b9\u5f0f\uff0c\u8fd9\u610f\u5473\u7740\u60a8\u53ef\u4ee5\u4f7f\u5176\u4ee5 1 \u5f00\u5934\u3002\u60a8\u552f\u4e00\u9700\u8981\u505a\u7684\u5c31\u662f\u5728\u58f0\u660e\u4e00\u4e2a\u4e4b\u524d\u5728\u6a21\u5757\u5f00\u5934\u6dfb\u52a0\u4e00\u6761\u57fa\u4e8e\u9009\u9879\u7684\u8bed\u53e5\u3002\u6570\u7ec4.\u6570\u7ec4\u3002<\/p><p>\u73b0\u5728\u8be5\u8868\u5c06\u5982\u4e0b\u6240\u793a\uff1a <\/p><div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-52239\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/7-utiliser-la-base-doptions-1.png\" sizes=\"auto, \" srcset=\"\" alt=\"\u4f7f\u7528\u9009\u9879\u57fa1\" width=\"344\" height=\"424\"><\/figure><\/div><h2 class=\"wp-block-heading\">\u5728\u8868\u4e2d\u641c\u7d22<\/h2><p>\u5f53\u60a8\u5c06\u503c\u5b58\u50a8\u5728\u6570\u7ec4\u4e2d\u65f6\uff0c\u6709\u65f6\u53ef\u80fd\u9700\u8981\u8fdb\u884c\u6570\u7ec4\u67e5\u627e\u3002<\/p><p>\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u60a8\u9700\u8981\u77e5\u9053\u53ef\u4ee5\u4f7f\u7528\u7684\u65b9\u6cd5\u3002\u73b0\u5728\u770b\u4e0b\u9762\u7684\u4ee3\u7801\uff0c\u5b83\u53ef\u4ee5\u5e2e\u52a9\u60a8\u4e86\u89e3\u5982\u4f55\u5728\u6570\u7ec4\u4e2d\u641c\u7d22\u503c\u3002 <\/p><pre class=\"wp-block-code\"> <code class=\"language-visual-basic\" lang=\"visual-basic\">Sub vba_array_search() 'this section declares an array and variables _ that you need to search within the array. Dim myArray(10) As Integer Dim i As Integer Dim varUserNumber As Variant Dim strMsg As String 'This part of the code adds 10 random numbers to _ the array and shows the result in the _ immediate window as well. For i = 1 To 10 myArray(i) = Int(Rnd * 10) Debug.Print myArray(i) Next i 'it is an input box that asks you the number that you want to find. Loopback: varUserNumber = InputBox _ (\"Enter a number between 1 and 10 to search for:\", _ \"Linear Search Demonstrator\") 'it's an IF statement that checks for the value that you _ have entered in the input box. If varUserNumber = \"\" Then End If Not IsNumeric(varUserNumber) Then GoTo Loopback If varUserNumber &lt; 1 Or varUserNumber &gt; 10 Then GoTo Loopback 'message to show if the value doesn't found. strMsg = \"Your value, \" &amp; varUserNumber &amp; _ \", was not found in the array.\" 'loop through the array and match each value with the _ the value you have entered in the input box. For i = 1 To UBound(myArray) If myArray(i) = varUserNumber Then strMsg = \"Your value, \" &amp; varUserNumber &amp; _ \", was found at position \" &amp; i &amp; \" in the array.\" Exit For End If Next i 'message box in the end MsgBox strMsg, vbOKOnly + vbInformation, \"Linear Search Result\" End Sub<\/code> <\/pre><div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-52240\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/8-recherche-dans-un-tableau.png\" sizes=\"auto, \" srcset=\"\" alt=\"\u5728\u8868\u4e2d\u641c\u7d22\" width=\"529\" height=\"1087\"><\/figure><\/div><ol><li>\u5728\u4ee3\u7801\u7684\u7b2c\u4e00\u90e8\u5206\u4e2d\uff0c\u60a8\u6709\u7a0d\u540e\u9700\u8981\u5728\u4ee3\u7801\u4e2d\u4f7f\u7528\u7684\u53d8\u91cf\u3002<\/li><li>\u4e4b\u540e\uff0c\u4e0b\u4e00\u90e8\u5206\u662f\u4f7f\u7528 RND \u751f\u6210\u968f\u673a\u6570\u4ee5\u83b7\u5f97\u6570\u7ec4\u7684 10 \u4e2a\u503c\u3002<\/li><li>\u63a5\u4e0b\u6765\u662f\u4e00\u4e2a\u8f93\u5165\u6846\uff0c\u7528\u4e8e\u8f93\u5165\u8981\u5728\u8868\u4e2d\u641c\u7d22\u7684\u503c\u3002<\/li><li>\u5728\u6b64\u90e8\u5206\u4e2d\uff0c\u5982\u679c\u672a\u627e\u5230\u60a8\u8f93\u5165\u7684\u503c\uff0c\u60a8\u5c06\u5728\u6d88\u606f\u6846\u4e2d\u4f7f\u7528\u5b57\u7b26\u4e32\u7684\u4ee3\u7801\u3002<\/li><li>\u8fd9\u90e8\u5206\u4ee3\u7801\u4f7f\u7528\u5faa\u73af\u6765\u904d\u5386\u6570\u7ec4\u7684\u6bcf\u4e2a\u5143\u7d20\uff0c\u5e76\u68c0\u67e5\u60a8\u8f93\u5165\u7684\u503c\u662f\u5426\u5728\u6570\u7ec4\u4e2d\u3002<\/li><li>\u4ee3\u7801\u7684\u6700\u540e\u4e00\u90e8\u5206\u663e\u793a\u4e00\u6761\u6d88\u606f\uff0c\u6307\u793a\u662f\u5426\u627e\u5230\u503c\u3002<\/li><\/ol><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\">\u4e86\u89e3\u6709\u5173 VBA \u8868\u7684\u66f4\u591a\u4fe1\u606f<\/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\/\u6570\u7ec4\u5927\u5c0f\/\">VBA \u6570\u7ec4\u957f\u5ea6\uff08\u5927\u5c0f\uff09<\/a><\/li><li><a href=\"https:\/\/exceladvisor.org\/cn\/\u5e26\u94fe\u6761\u7684\u684c\u5b50\/\">\u5e26\u5b57\u7b26\u4e32\u7684 VBA \u6570\u7ec4<\/a><\/li><li><a href=\"https:\/\/exceladvisor.org\/cn\/\u64e6\u6389\u9ed1\u677f\/\">VBA \u6e05\u9664\u6570\u7ec4<\/a><\/li><li><a href=\"https:\/\/exceladvisor.org\/cn\/\u52a8\u6001\u8868\/\">\u52a8\u6001\u8868VBA<\/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-42","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 \u8868\u683c\u521d\u5b66\u8005\u6307\u5357 - Excel Advisor<\/title>\n<meta name=\"description\" content=\"\u5982\u679c\u60a8\u60f3\u4f7f\u7528 VBA \u5904\u7406\u5927\u6570\u636e\uff0c\u60a8\u9700\u8981\u4e86\u89e3\u8868\u4ee5\u53ca\u5982\u4f55\u5728\u5176\u4e2d\u4f7f\u7528\u5b83\u4eec\" \/>\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\/\u7ed8\u753b\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"VBA \u8868\u683c\u521d\u5b66\u8005\u6307\u5357 - Excel Advisor\" \/>\n<meta property=\"og:description\" content=\"\u5982\u679c\u60a8\u60f3\u4f7f\u7528 VBA \u5904\u7406\u5927\u6570\u636e\uff0c\u60a8\u9700\u8981\u4e86\u89e3\u8868\u4ee5\u53ca\u5982\u4f55\u5728\u5176\u4e2d\u4f7f\u7528\u5b83\u4eec\" \/>\n<meta property=\"og:url\" content=\"https:\/\/exceladvisor.org\/cn\/\u7ed8\u753b\/\" \/>\n<meta property=\"og:site_name\" content=\"Excel Advisor\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-10T11:45:09+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-exemple-pour-expliquer-un-tableau.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\/%e7%bb%98%e7%94%bb\/\",\"url\":\"https:\/\/exceladvisor.org\/cn\/%e7%bb%98%e7%94%bb\/\",\"name\":\"VBA \u8868\u683c\u521d\u5b66\u8005\u6307\u5357 - Excel Advisor\",\"isPartOf\":{\"@id\":\"https:\/\/exceladvisor.org\/cn\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/exceladvisor.org\/cn\/%e7%bb%98%e7%94%bb\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/exceladvisor.org\/cn\/%e7%bb%98%e7%94%bb\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-exemple-pour-expliquer-un-tableau.png\",\"datePublished\":\"2023-11-18T05:28:14+00:00\",\"dateModified\":\"2023-12-10T11:45:09+00:00\",\"description\":\"\u5982\u679c\u60a8\u60f3\u4f7f\u7528 VBA \u5904\u7406\u5927\u6570\u636e\uff0c\u60a8\u9700\u8981\u4e86\u89e3\u8868\u4ee5\u53ca\u5982\u4f55\u5728\u5176\u4e2d\u4f7f\u7528\u5b83\u4eec\",\"breadcrumb\":{\"@id\":\"https:\/\/exceladvisor.org\/cn\/%e7%bb%98%e7%94%bb\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/exceladvisor.org\/cn\/%e7%bb%98%e7%94%bb\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/exceladvisor.org\/cn\/%e7%bb%98%e7%94%bb\/#primaryimage\",\"url\":\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-exemple-pour-expliquer-un-tableau.png\",\"contentUrl\":\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-exemple-pour-expliquer-un-tableau.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/exceladvisor.org\/cn\/%e7%bb%98%e7%94%bb\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u5bb6\",\"item\":\"https:\/\/exceladvisor.org\/cn\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Vba \u8868\uff1a\u57fa\u7840\u5230\u9ad8\u7ea7\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 \u8868\u683c\u521d\u5b66\u8005\u6307\u5357 - Excel Advisor","description":"\u5982\u679c\u60a8\u60f3\u4f7f\u7528 VBA \u5904\u7406\u5927\u6570\u636e\uff0c\u60a8\u9700\u8981\u4e86\u89e3\u8868\u4ee5\u53ca\u5982\u4f55\u5728\u5176\u4e2d\u4f7f\u7528\u5b83\u4eec","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\/\u7ed8\u753b\/","og_locale":"zh_CN","og_type":"article","og_title":"VBA \u8868\u683c\u521d\u5b66\u8005\u6307\u5357 - Excel Advisor","og_description":"\u5982\u679c\u60a8\u60f3\u4f7f\u7528 VBA \u5904\u7406\u5927\u6570\u636e\uff0c\u60a8\u9700\u8981\u4e86\u89e3\u8868\u4ee5\u53ca\u5982\u4f55\u5728\u5176\u4e2d\u4f7f\u7528\u5b83\u4eec","og_url":"https:\/\/exceladvisor.org\/cn\/\u7ed8\u753b\/","og_site_name":"Excel Advisor","article_modified_time":"2023-12-10T11:45:09+00:00","og_image":[{"url":"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-exemple-pour-expliquer-un-tableau.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\/%e7%bb%98%e7%94%bb\/","url":"https:\/\/exceladvisor.org\/cn\/%e7%bb%98%e7%94%bb\/","name":"VBA \u8868\u683c\u521d\u5b66\u8005\u6307\u5357 - Excel Advisor","isPartOf":{"@id":"https:\/\/exceladvisor.org\/cn\/#website"},"primaryImageOfPage":{"@id":"https:\/\/exceladvisor.org\/cn\/%e7%bb%98%e7%94%bb\/#primaryimage"},"image":{"@id":"https:\/\/exceladvisor.org\/cn\/%e7%bb%98%e7%94%bb\/#primaryimage"},"thumbnailUrl":"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-exemple-pour-expliquer-un-tableau.png","datePublished":"2023-11-18T05:28:14+00:00","dateModified":"2023-12-10T11:45:09+00:00","description":"\u5982\u679c\u60a8\u60f3\u4f7f\u7528 VBA \u5904\u7406\u5927\u6570\u636e\uff0c\u60a8\u9700\u8981\u4e86\u89e3\u8868\u4ee5\u53ca\u5982\u4f55\u5728\u5176\u4e2d\u4f7f\u7528\u5b83\u4eec","breadcrumb":{"@id":"https:\/\/exceladvisor.org\/cn\/%e7%bb%98%e7%94%bb\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/exceladvisor.org\/cn\/%e7%bb%98%e7%94%bb\/"]}]},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/exceladvisor.org\/cn\/%e7%bb%98%e7%94%bb\/#primaryimage","url":"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-exemple-pour-expliquer-un-tableau.png","contentUrl":"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-exemple-pour-expliquer-un-tableau.png"},{"@type":"BreadcrumbList","@id":"https:\/\/exceladvisor.org\/cn\/%e7%bb%98%e7%94%bb\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u5bb6","item":"https:\/\/exceladvisor.org\/cn\/"},{"@type":"ListItem","position":2,"name":"Vba \u8868\uff1a\u57fa\u7840\u5230\u9ad8\u7ea7\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\/42","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=42"}],"version-history":[{"count":1,"href":"https:\/\/exceladvisor.org\/cn\/wp-json\/wp\/v2\/pages\/42\/revisions"}],"predecessor-version":[{"id":829,"href":"https:\/\/exceladvisor.org\/cn\/wp-json\/wp\/v2\/pages\/42\/revisions\/829"}],"wp:attachment":[{"href":"https:\/\/exceladvisor.org\/cn\/wp-json\/wp\/v2\/media?parent=42"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}