{"id":571,"date":"2023-10-22T20:20:14","date_gmt":"2023-10-22T20:20:14","guid":{"rendered":"https:\/\/exceladvisor.org\/cn\/%e6%95%b0%e7%bb%84%e5%a4%a7%e5%b0%8f\/"},"modified":"2023-12-10T11:46:49","modified_gmt":"2023-12-10T11:46:49","slug":"%e6%95%b0%e7%bb%84%e5%a4%a7%e5%b0%8f","status":"publish","type":"page","link":"https:\/\/exceladvisor.org\/cn\/%e6%95%b0%e7%bb%84%e5%a4%a7%e5%b0%8f\/","title":{"rendered":"\u5982\u4f55\u4f7f\u7528vba\u83b7\u53d6\u6570\u7ec4\u7684\u957f\u5ea6\uff1f"},"content":{"rendered":"<div class=\"excel-\" id=\"excel-1010737114\"><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 VBA \u4e2d\uff0c\u83b7\u53d6\u6570\u7ec4\u7684\u957f\u5ea6\u610f\u5473\u7740\u8ba1\u7b97\u8be5\u6570\u7ec4\u4e2d\u5143\u7d20\u7684\u6570\u91cf\u3002\u4e3a\u6b64\uff0c\u60a8\u9700\u8981\u77e5\u9053\u6700\u4f4e\u5143\u7d20\u548c\u6700\u9ad8\u5143\u7d20\u3002\u56e0\u6b64\uff0c\u8981\u83b7\u5f97\u6b64\u503c\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528<a href=\"https:\/\/exceladvisor.org\/cn\/\u8d85\u7ed1\u5b9a\/\">UBOUND<\/a>\u548c<a href=\"https:\/\/exceladvisor.org\/cn\/\u7ed1\u5b9a\/\">LBOUND<\/a>\u51fd\u6570\uff0c\u5b83\u4eec\u5206\u522b\u8fd4\u56de\u4e0a\u9650\u548c\u4e0b\u9650\u3002<\/p><p>\u9664\u6b64\u4e4b\u5916\uff0c\u60a8\u8fd8\u53ef\u4ee5\u4f7f\u7528\u7535\u5b50\u8868\u683c\u51fd\u6570 COUNTA\u3002\u5728\u672c\u6559\u7a0b\u4e2d\uff0c\u6211\u4eec\u5c06\u770b\u5230\u8fd9\u4e24\u79cd\u65b9\u6cd5\uff0c\u4ee5\u4fbf\u60a8\u53ef\u4ee5\u6839\u636e\u81ea\u5df1\u7684\u65b9\u4fbf\u4f7f\u7528\u5176\u4e2d\u4efb\u4f55\u4e00\u79cd\u65b9\u6cd5\u3002<\/p><h2 class=\"wp-block-heading\">\u83b7\u53d6\u6570\u7ec4\u5927\u5c0f\u7684\u6b65\u9aa4<\/h2><p>\u8fd9\u91cc\u6211\u4eec\u6709\u4e00\u4e2a\u8868\uff0c\u5176\u4e2d\u5305\u542b\u6708\u4efd\u5217\u8868\u548c\u6bcf\u4e2a\u6708\u7684\u9500\u552e\u6570\u91cf\u3002 <\/p><div class=\"wp-block-image is-style-default\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-57222\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-longueur-de-tableau-vba-1.png\" sizes=\"auto, \" srcset=\"\" alt=\"vba \u6570\u7ec4\u957f\u5ea6\" width=\"451\" height=\"527\"><\/figure><\/div><ol><li>\u786e\u4fdd\u60a8\u6709\u4e00\u4e2a\u5305\u542b\u884c\u548c\u5217\u7684\u6b63\u786e\u58f0\u660e\u7684\u8868\u3002 <br><img loading=\"lazy\" decoding=\"async\" title=\"2-\u6570\u7ec4-\u58f0\u660e\u6b63\u786e-2\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/2-tableau-declare-correctement-2.png\" sizes=\"auto, \" srcset=\"\" alt=\"\" width=\"484\" height=\"291\"><\/li><li>\u4e4b\u540e\uff0c\u8fd8\u6709\u4e24\u4e2a\u53d8\u91cf\uff08\u56e0\u4e3a\u6211\u4eec\u6709\u4e00\u4e2a\u4e8c\u7ef4\u6570\u7ec4\uff09\u6765\u5b58\u50a8\u6570\u7ec4\u7684\u8fb9\u754c\u3002 <br><img loading=\"lazy\" decoding=\"async\" title=\"3-\u5b58\u50a8\u6570\u7ec43\u7684\u8fb9\u754c\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/3-stocker-les-bornes-dun-tableau-3.png\" sizes=\"auto, \" srcset=\"\" alt=\"\" width=\"596\" height=\"298\"><\/li><li>\u7136\u540e\u4f60\u9700\u8981\u4f7f\u7528\u4e00\u4e2a\u516c\u5f0f\uff0c\u5176\u4e2d\u9700\u8981\u4f7f\u7528Ubound\u51fd\u6570\u6765\u83b7\u53d6\u6570\u7ec4\u7684\u4e0a\u9650\uff0c\u7136\u540e\u4f7f\u7528Lbound\u51fd\u6570\u6765\u83b7\u53d6\u6570\u7ec4\u7684\u4e0b\u9650\u3002<\/li><li>\u7531\u4e8e\u60a8\u6709\u4e00\u4e2a\u4e8c\u7ef4\u6570\u7ec4\uff0c\u56e0\u6b64\u60a8\u9700\u8981\u7ed1\u5b9a\u7ef4\u5ea6\u5e76\u5728\u53d8\u91cf\u4e0a\u8bbe\u7f6e\u8be5\u503c\u3002 <br><img loading=\"lazy\" decoding=\"async\" title=\"4-\u4f7f\u7528-ubound-4\u51fd\u6570\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/4-utiliser-la-fonction-ubound-4.png\" sizes=\"auto, \" srcset=\"\" alt=\"\" width=\"682\" height=\"349\"><\/li><li>\u6700\u540e\uff0c\u5c06 Ubound \u548c Lbound \u5f97\u5230\u7684\u957f\u5ea6\u76f8\u4e58\u4f5c\u4e3a\u4e0a\u9650\u548c\u4e0b\u9650\u3002 <br><img loading=\"lazy\" decoding=\"async\" title=\"5-ubound-\u548c-lbound-like-lower-and-upper-5\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/5-ubound-et-lbound-comme-inferieur-et-superieur-5.png\" sizes=\"auto, \" srcset=\"\" alt=\"\" width=\"729\" height=\"397\"><\/li><\/ol><p>\u8fd9\u662f\u5b8c\u6574\u7684\u4ee3\u7801\u3002<\/p><pre class=\"wp-block-code\"> <code class=\"language-visual-basic\" lang=\"visual-basic\">Dim yearSales(1 To 12, 1 To 2) As Integer Dim iCount1 As Integer, iCount2 As Integer iCount1 = UBound(yearSales, 1) - LBound(yearSales, 1) + 1 iCount2 = UBound(yearSales, 2) - LBound(yearSales, 2) + 1 MsgBox iCount1 * iCount2<\/code><\/pre><p class=\"qt-tip\"><strong>\u6ce8\u610f\uff1a<\/strong>\u60a8\u4e00\u5b9a\u60f3\u77e5\u9053\u6211\u5728\u6587\u7ae0\u5f00\u5934\u4e0e\u60a8\u5206\u4eab\u7684\u8868\u4e2d\u662f\u5426\u603b\u5171\u6709 13 \u884c\u3002<\/p><p>\u4f46\u6211\u4eec\u4f7f\u7528\u4e86 13 \u884c\u8868\uff0c\u56e0\u4e3a\u7b2c\u4e00\u884c\u662f\u6807\u9898\u3002\u5728\u8fd9\u91cc\uff0c\u6211\u4eec\u4f7f\u7528<a href=\"https:\/\/exceladvisor.org\/cn\/\u5982\u679c-2\/\">IF \u8bed\u53e5<\/a>\u548c ISEMPTY<a href=\"https:\/\/exceladvisor.org\/cn\/\u662f\u7a7a\u7684\/\">\u51fd\u6570<\/a>\u6765\u68c0\u67e5\u58f0\u660e\u7684\u6570\u7ec4\u662f\u5426\u4e0d\u5305\u542b\u4efb\u4f55\u5143\u7d20\u3002<\/p><pre class=\"wp-block-code\"> <code class=\"language-visual-basic\" lang=\"visual-basic\">Dim yearSales(1 To 12, 1 To 2) As Integer Dim iCount1 As Integer, iCount2 As Integer If IsEmpty(yearSales) = 0 Then MsgBox \"This array has zero elements.\" Else iCount1 = UBound(yearSales, 1) - LBound(yearSales, 1) + 1 iCount2 = UBound(yearSales, 2) - LBound(yearSales, 2) + 1 MsgBox \"This array has \" &amp; iCount1 * iCount2 &amp; \" element(s).\"<\/code><\/pre><h2 class=\"wp-block-heading\">\u4f7f\u7528COUNTA\u83b7\u53d6\u6570\u7ec4\u957f\u5ea6<\/h2><p>\u5982\u60a8\u6240\u77e5\uff0c\u6570\u7ec4\u662f\u4e00\u7ec4\u4ee5\u4e00\u7ef4\u6216\u591a\u7ef4\u65b9\u5f0f\u6784\u9020\u7684\u5143\u7d20\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528 COUNTA \u51fd\u6570\uff08<a href=\"https:\/\/exceladvisor.org\/cn\/\u7535\u5b50\u8868\u683c\u529f\u80fd\/\">\u7535\u5b50\u8868\u683c\u51fd\u6570<\/a>\uff09\u4e00\u6b21\u5bf9\u8fd9\u4e9b\u5143\u7d20\u8fdb\u884c\u8ba1\u6570\u3002<\/p><p>\u5728\u4ee5\u4e0b\u4ee3\u7801\u4e2d\uff0c\u60a8\u4f7f\u7528\u4e86\u4e4b\u524d\u58f0\u660e\u7684\u540c\u4e00\u6570\u7ec4\uff0c\u7136\u540e\u4f7f\u7528\u53d8\u91cf\u6765\u5b58\u50a8\u51fd\u6570\u8fd4\u56de\u7684\u5143\u7d20\u6570\u3002 <\/p><div class=\"wp-block-image is-style-default\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-57227\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/6-utiliser-une-variable-pour-stocker-lelement-6.png\" sizes=\"auto, \" srcset=\"\" alt=\"\" width=\"644\" height=\"374\"><\/figure><\/div><p>\u6b63\u5982\u4f60\u6240\u770b\u5230\u7684\uff0c\u5b83\u8fd4\u56de\u7684\u7ed3\u679c\u662f 24\uff0c\u8fd9\u662f\u6570\u7ec4\u4e2d\u5143\u7d20\u7684\u603b\u6570\u3002<\/p><pre class=\"wp-block-code\"> <code class=\"language-visual-basic\" lang=\"visual-basic\">Dim yearSales(1 To 12, 1 To 2) As Integer iCount = WorksheetFunction.CountA(yearSales) MsgBox iCount<\/code><\/pre><p>\u60a8\u9700\u8981\u6ce8\u610f\u4e00\u4ef6\u4e8b\uff0c\u8be5\u65b9\u6cd5\u5e76\u4e0d\u9002\u5408\u5728\u6240\u6709\u60c5\u51b5\u4e0b\u4f7f\u7528\uff0c\u56e0\u6b64\u4f7f\u7528\u6211\u4eec\u4e4b\u524d\u8ba8\u8bba\u7684\u65b9\u6cd5\u603b\u662f\u597d\u7684\u3002<\/p><p>\u60a8\u8fd8\u53ef\u4ee5\u7f16\u5199\u4ee3\u7801\u6765\u9996\u5148\u68c0\u67e5\u58f0\u660e\u7684\u6570\u7ec4\u662f\u5426\u4e0d\u4e3a\u7a7a\u3002<\/p><pre class=\"wp-block-code\"> <code class=\"language-visual-basic\" lang=\"visual-basic\">Dim yearSales(1 To 12, 1 To 2) As Integer If IsEmpty(yearSales) = 0 Then MsgBox \"This array has zero elements.\" Else iCount = WorksheetFunction.CountA(yearSales) MsgBox \"This array has \" &amp; iCount &amp; \" element(s).\"<\/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\">\u4e86\u89e3\u6709\u5173<a href=\"https:\/\/exceladvisor.org\/cn\/\u7ed8\u753b\/\">VBA \u8868<\/a>\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\/\u6dfb\u52a0\u65b0\u7684\u503c\u6570\u7ec4\/\">VBA \u5c06\u65b0\u503c\u6dfb\u52a0\u5230\u6570\u7ec4<\/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><\/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-571","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\u4f7f\u7528VBA\u83b7\u53d6\u6570\u7ec4\u7684\u957f\u5ea6\uff1f<\/title>\n<meta name=\"description\" content=\"\u5728\u8fd9\u91cc\uff0c\u60a8\u5c06\u770b\u5230\u4f7f\u7528 UBOUND \u548c LBOUND \u51fd\u6570\u83b7\u53d6\u6570\u7ec4\u957f\u5ea6\uff08\u5355\u7ef4\u548c\u591a\u7ef4\uff09\u7684\u4e24\u79cd\u7b80\u5355\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\/\u6570\u7ec4\u5927\u5c0f\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5982\u4f55\u4f7f\u7528VBA\u83b7\u53d6\u6570\u7ec4\u7684\u957f\u5ea6\uff1f\" \/>\n<meta property=\"og:description\" content=\"\u5728\u8fd9\u91cc\uff0c\u60a8\u5c06\u770b\u5230\u4f7f\u7528 UBOUND \u548c LBOUND \u51fd\u6570\u83b7\u53d6\u6570\u7ec4\u957f\u5ea6\uff08\u5355\u7ef4\u548c\u591a\u7ef4\uff09\u7684\u4e24\u79cd\u7b80\u5355\u65b9\u6cd5\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/exceladvisor.org\/cn\/\u6570\u7ec4\u5927\u5c0f\/\" \/>\n<meta property=\"og:site_name\" content=\"Excel Advisor\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-10T11:46:49+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-longueur-de-tableau-vba-1.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%95%b0%e7%bb%84%e5%a4%a7%e5%b0%8f\/\",\"url\":\"https:\/\/exceladvisor.org\/cn\/%e6%95%b0%e7%bb%84%e5%a4%a7%e5%b0%8f\/\",\"name\":\"\u5982\u4f55\u4f7f\u7528VBA\u83b7\u53d6\u6570\u7ec4\u7684\u957f\u5ea6\uff1f\",\"isPartOf\":{\"@id\":\"https:\/\/exceladvisor.org\/cn\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/exceladvisor.org\/cn\/%e6%95%b0%e7%bb%84%e5%a4%a7%e5%b0%8f\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/exceladvisor.org\/cn\/%e6%95%b0%e7%bb%84%e5%a4%a7%e5%b0%8f\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-longueur-de-tableau-vba-1.png\",\"datePublished\":\"2023-10-22T20:20:14+00:00\",\"dateModified\":\"2023-12-10T11:46:49+00:00\",\"description\":\"\u5728\u8fd9\u91cc\uff0c\u60a8\u5c06\u770b\u5230\u4f7f\u7528 UBOUND \u548c LBOUND \u51fd\u6570\u83b7\u53d6\u6570\u7ec4\u957f\u5ea6\uff08\u5355\u7ef4\u548c\u591a\u7ef4\uff09\u7684\u4e24\u79cd\u7b80\u5355\u65b9\u6cd5\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/exceladvisor.org\/cn\/%e6%95%b0%e7%bb%84%e5%a4%a7%e5%b0%8f\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/exceladvisor.org\/cn\/%e6%95%b0%e7%bb%84%e5%a4%a7%e5%b0%8f\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/exceladvisor.org\/cn\/%e6%95%b0%e7%bb%84%e5%a4%a7%e5%b0%8f\/#primaryimage\",\"url\":\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-longueur-de-tableau-vba-1.png\",\"contentUrl\":\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-longueur-de-tableau-vba-1.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/exceladvisor.org\/cn\/%e6%95%b0%e7%bb%84%e5%a4%a7%e5%b0%8f\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u5bb6\",\"item\":\"https:\/\/exceladvisor.org\/cn\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5982\u4f55\u4f7f\u7528vba\u83b7\u53d6\u6570\u7ec4\u7684\u957f\u5ea6\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\u4f7f\u7528VBA\u83b7\u53d6\u6570\u7ec4\u7684\u957f\u5ea6\uff1f","description":"\u5728\u8fd9\u91cc\uff0c\u60a8\u5c06\u770b\u5230\u4f7f\u7528 UBOUND \u548c LBOUND \u51fd\u6570\u83b7\u53d6\u6570\u7ec4\u957f\u5ea6\uff08\u5355\u7ef4\u548c\u591a\u7ef4\uff09\u7684\u4e24\u79cd\u7b80\u5355\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\/\u6570\u7ec4\u5927\u5c0f\/","og_locale":"zh_CN","og_type":"article","og_title":"\u5982\u4f55\u4f7f\u7528VBA\u83b7\u53d6\u6570\u7ec4\u7684\u957f\u5ea6\uff1f","og_description":"\u5728\u8fd9\u91cc\uff0c\u60a8\u5c06\u770b\u5230\u4f7f\u7528 UBOUND \u548c LBOUND \u51fd\u6570\u83b7\u53d6\u6570\u7ec4\u957f\u5ea6\uff08\u5355\u7ef4\u548c\u591a\u7ef4\uff09\u7684\u4e24\u79cd\u7b80\u5355\u65b9\u6cd5\u3002","og_url":"https:\/\/exceladvisor.org\/cn\/\u6570\u7ec4\u5927\u5c0f\/","og_site_name":"Excel Advisor","article_modified_time":"2023-12-10T11:46:49+00:00","og_image":[{"url":"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-longueur-de-tableau-vba-1.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%95%b0%e7%bb%84%e5%a4%a7%e5%b0%8f\/","url":"https:\/\/exceladvisor.org\/cn\/%e6%95%b0%e7%bb%84%e5%a4%a7%e5%b0%8f\/","name":"\u5982\u4f55\u4f7f\u7528VBA\u83b7\u53d6\u6570\u7ec4\u7684\u957f\u5ea6\uff1f","isPartOf":{"@id":"https:\/\/exceladvisor.org\/cn\/#website"},"primaryImageOfPage":{"@id":"https:\/\/exceladvisor.org\/cn\/%e6%95%b0%e7%bb%84%e5%a4%a7%e5%b0%8f\/#primaryimage"},"image":{"@id":"https:\/\/exceladvisor.org\/cn\/%e6%95%b0%e7%bb%84%e5%a4%a7%e5%b0%8f\/#primaryimage"},"thumbnailUrl":"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-longueur-de-tableau-vba-1.png","datePublished":"2023-10-22T20:20:14+00:00","dateModified":"2023-12-10T11:46:49+00:00","description":"\u5728\u8fd9\u91cc\uff0c\u60a8\u5c06\u770b\u5230\u4f7f\u7528 UBOUND \u548c LBOUND \u51fd\u6570\u83b7\u53d6\u6570\u7ec4\u957f\u5ea6\uff08\u5355\u7ef4\u548c\u591a\u7ef4\uff09\u7684\u4e24\u79cd\u7b80\u5355\u65b9\u6cd5\u3002","breadcrumb":{"@id":"https:\/\/exceladvisor.org\/cn\/%e6%95%b0%e7%bb%84%e5%a4%a7%e5%b0%8f\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/exceladvisor.org\/cn\/%e6%95%b0%e7%bb%84%e5%a4%a7%e5%b0%8f\/"]}]},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/exceladvisor.org\/cn\/%e6%95%b0%e7%bb%84%e5%a4%a7%e5%b0%8f\/#primaryimage","url":"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-longueur-de-tableau-vba-1.png","contentUrl":"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-longueur-de-tableau-vba-1.png"},{"@type":"BreadcrumbList","@id":"https:\/\/exceladvisor.org\/cn\/%e6%95%b0%e7%bb%84%e5%a4%a7%e5%b0%8f\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u5bb6","item":"https:\/\/exceladvisor.org\/cn\/"},{"@type":"ListItem","position":2,"name":"\u5982\u4f55\u4f7f\u7528vba\u83b7\u53d6\u6570\u7ec4\u7684\u957f\u5ea6\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\/571","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=571"}],"version-history":[{"count":1,"href":"https:\/\/exceladvisor.org\/cn\/wp-json\/wp\/v2\/pages\/571\/revisions"}],"predecessor-version":[{"id":979,"href":"https:\/\/exceladvisor.org\/cn\/wp-json\/wp\/v2\/pages\/571\/revisions\/979"}],"wp:attachment":[{"href":"https:\/\/exceladvisor.org\/cn\/wp-json\/wp\/v2\/media?parent=571"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}