{"id":3409,"date":"2023-10-27T15:08:32","date_gmt":"2023-10-27T15:08:32","guid":{"rendered":"https:\/\/exceladvisor.org\/ja\/%e5%b1%95%e9%96%8b%e3%81%99%e3%82%8b\/"},"modified":"2023-12-07T05:06:01","modified_gmt":"2023-12-07T05:06:01","slug":"%e5%b1%95%e9%96%8b%e3%81%99%e3%82%8b","status":"publish","type":"page","link":"https:\/\/exceladvisor.org\/ja\/%e5%b1%95%e9%96%8b%e3%81%99%e3%82%8b\/","title":{"rendered":"Vba\u306e\u914d\u5217\u95a2\u6570\u306e\u4f7f\u3044\u65b9\u306f\uff1f"},"content":{"rendered":"<div class=\"excel-\" id=\"excel-472619939\"><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>VBA ARRAY \u95a2\u6570\u306f\u3001VBA \u95a2\u6570\u306e\u914d\u5217\u30ab\u30c6\u30b4\u30ea\u306b\u30ea\u30b9\u30c8\u3055\u308c\u3066\u3044\u307e\u3059\u3002 VBA \u30b3\u30fc\u30c9\u3067\u4f7f\u7528\u3059\u308b\u3068\u3001<strong>\u6307\u5b9a\u3057\u305f\u5024\u306e\u30bb\u30c3\u30c8\u3092\u4fdd\u5b58\u3067\u304d\u307e\u3059<\/strong>\u3002\u7c21\u5358\u306b\u8a00\u3046\u3068\u3001\u6307\u5b9a\u3057\u305f\u8907\u6570\u306e\u5024\u307e\u305f\u306f\u5024\u306e\u30bb\u30c3\u30c8\u3092\u4fdd\u5b58\u3067\u304d\u3001\u30b3\u30fc\u30c9\u5185\u3067\u3053\u308c\u3089\u306e\u914d\u5217\u3092\u4f7f\u7528\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3068\u304d\u306b\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002<\/p><h2 class=\"wp-block-heading\">\u69cb\u6587<\/h2><p><strong>\u30c6\u30fc\u30d6\u30eb (Arglist)<\/strong><\/p><h2 class=\"wp-block-heading\">\u5f15\u6570<\/h2><ul><li><strong>Arglist<\/strong> : \u914d\u5217\u3092\u4f5c\u6210\u3059\u308b\u5024\u306e\u30ea\u30b9\u30c8 [\u3053\u308c\u3089\u306e\u5024\u306f\u30ab\u30f3\u30de (,) \u3067\u533a\u5207\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059]\u3002<\/li><\/ul><h2 class=\"wp-block-heading\">\u4f8b<\/h2><p>VBA ARRAY \u95a2\u6570\u306e\u4f7f\u7528\u65b9\u6cd5\u3092\u5b9f\u969b\u306b\u7406\u89e3\u3059\u308b\u306b\u306f\u3001\u305d\u308c\u3092\u4f7f\u7528\u3057\u3066 VBA \u30b3\u30fc\u30c9\u3092\u4f5c\u6210\u3057\u305f\u4ee5\u4e0b\u306e\u4f8b\u3092\u78ba\u8a8d\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002 <\/p><div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" title=\"\u4f8b-vba-\u914d\u5217\u95a2\u6570\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/exemple-de-fonction-de-tableau-vba.png\" sizes=\"auto, \" srcset=\"\" alt=\"example-vba-array-function\" width=\"792\" height=\"575\"><\/figure><\/div><p>\u4e0a\u8a18\u306e\u30b3\u30fc\u30c9\u3067\u306f\u3001\u914d\u5217\u95a2\u6570\u3092\u4f7f\u7528\u3057\u3066\u30a4\u30f3\u30c7\u30c3\u30af\u30b9 0 \u304b\u3089\u59cb\u307e\u308b 3 \u3064\u306e\u5024\u3092\u6301\u3064 1 \u6b21\u5143\u914d\u5217\u3092\u5b9a\u7fa9\u3057\u3001\u540c\u3058\u30b3\u30fc\u30c9\u3067 Debug \u3092\u4f7f\u7528\u3057\u307e\u3057\u305f\u3002\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u756a\u53f7\u3092\u4f7f\u7528\u3057\u3066\u30a4\u30df\u30c7\u30a3\u30a8\u30a4\u30c8 \u30a6\u30a3\u30f3\u30c9\u30a6\u3067\u3059\u3079\u3066\u306e\u5024\u3092\u53d6\u5f97\u3059\u308b\u306b\u306f\u3001\u5370\u5237\u3057\u307e\u3059\u3002<\/p><pre class=\"wp-block-code\"> <code class=\"language-visual-basic\" lang=\"visual-basic\">Sub example_ARRAY() Dim myArray As Variant myArray = Array(10, 20, 30) Debug.Print myArray(0) Debug.Print myArray(1) Debug.Print myArray(2) End Sub<\/code><\/pre><h2 class=\"wp-block-heading\">\u30b3\u30e1\u30f3\u30c8<\/h2><ul><li>\u5f15\u6570\u304c\u6307\u5b9a\u3055\u308c\u3066\u3044\u306a\u3044\u5834\u5408\u3001\u7d50\u679c\u3068\u3057\u3066\u914d\u5217\u306f\u8fd4\u3055\u308c\u307e\u305b\u3093\u3002<\/li><\/ul><div class=\"gb-container gb-container-078e99df gb-container-mt\"> <a class=\"gb-button gb-button-b61bc159 gb-button-text gb-button-mt-button\" href=\"https:\/\/exceladvisor.org\/ja\/vba\/\">VBA\u3068\u306f<\/a><h2 class=\"gb-headline gb-headline-eb94b2aa gb-headline-text gb-headline-mt-heading\">\u95a2\u9023\u3059\u308b<a href=\"https:\/\/exceladvisor.org\/ja\/\u6a5f\u80fd\/\">VBA \u95a2\u6570<\/a><\/h2><div class=\"gb-grid-wrapper gb-grid-wrapper-bea82d60 gb-grid-wrapper-mt-grid\"><div class=\"gb-grid-column gb-grid-column-98a91fbb\"><div class=\"gb-container gb-container-98a91fbb\"><ul><li> <a href=\"https:\/\/exceladvisor.org\/ja\/\u30d5\u30a3\u30eb\u30bf\u30fc\/\">VBA\u30d5\u30a3\u30eb\u30bf\u30fc<\/a><\/li><li><a href=\"https:\/\/exceladvisor.org\/ja\/\u53c2\u52a0\u3059\u308b\/\">VBA\u306b\u53c2\u52a0\u3059\u308b<\/a><\/li><li><a href=\"https:\/\/exceladvisor.org\/ja\/\u9650\u754c\/\">VBA LBOUND<\/a><\/li><li>\u5206\u5272VBA<\/li><li> <a href=\"https:\/\/exceladvisor.org\/ja\/\u4e0a\u308a\/\">VBA \u30d0\u30a6\u30f3\u30c9<\/a><\/li><\/ul><\/div><\/div><div class=\"gb-grid-column gb-grid-column-3151f7cb\"><div class=\"gb-container gb-container-3151f7cb\"><\/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-3409","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\u306e\u914d\u5217\u95a2\u6570\u306e\u4f7f\u3044\u65b9\u306f\uff1f (\u69cb\u6587 + \u4f8b)<\/title>\n<meta name=\"description\" content=\"VBA \u914d\u5217\u95a2\u6570\u306e\u4f7f\u7528\u65b9\u6cd5\u3092\u69cb\u6587\u3001\u5f15\u6570\u3001\u30b5\u30f3\u30d7\u30eb \u30b3\u30fc\u30c9\u4ed8\u304d\u306e\u4f8b\u3067\u5b66\u7fd2\u3057\u307e\u3059\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\/ja\/\u5c55\u958b\u3059\u308b\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"VBA\u306e\u914d\u5217\u95a2\u6570\u306e\u4f7f\u3044\u65b9\u306f\uff1f (\u69cb\u6587 + \u4f8b)\" \/>\n<meta property=\"og:description\" content=\"VBA \u914d\u5217\u95a2\u6570\u306e\u4f7f\u7528\u65b9\u6cd5\u3092\u69cb\u6587\u3001\u5f15\u6570\u3001\u30b5\u30f3\u30d7\u30eb \u30b3\u30fc\u30c9\u4ed8\u304d\u306e\u4f8b\u3067\u5b66\u7fd2\u3057\u307e\u3059\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/exceladvisor.org\/ja\/\u5c55\u958b\u3059\u308b\/\" \/>\n<meta property=\"og:site_name\" content=\"Excel Advisor\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-07T05:06:01+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/exemple-de-fonction-de-tableau-vba.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/exceladvisor.org\/ja\/%e5%b1%95%e9%96%8b%e3%81%99%e3%82%8b\/\",\"url\":\"https:\/\/exceladvisor.org\/ja\/%e5%b1%95%e9%96%8b%e3%81%99%e3%82%8b\/\",\"name\":\"VBA\u306e\u914d\u5217\u95a2\u6570\u306e\u4f7f\u3044\u65b9\u306f\uff1f (\u69cb\u6587 + \u4f8b)\",\"isPartOf\":{\"@id\":\"https:\/\/exceladvisor.org\/ja\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/exceladvisor.org\/ja\/%e5%b1%95%e9%96%8b%e3%81%99%e3%82%8b\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/exceladvisor.org\/ja\/%e5%b1%95%e9%96%8b%e3%81%99%e3%82%8b\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/exemple-de-fonction-de-tableau-vba.png\",\"datePublished\":\"2023-10-27T15:08:32+00:00\",\"dateModified\":\"2023-12-07T05:06:01+00:00\",\"description\":\"VBA \u914d\u5217\u95a2\u6570\u306e\u4f7f\u7528\u65b9\u6cd5\u3092\u69cb\u6587\u3001\u5f15\u6570\u3001\u30b5\u30f3\u30d7\u30eb \u30b3\u30fc\u30c9\u4ed8\u304d\u306e\u4f8b\u3067\u5b66\u7fd2\u3057\u307e\u3059\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/exceladvisor.org\/ja\/%e5%b1%95%e9%96%8b%e3%81%99%e3%82%8b\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/exceladvisor.org\/ja\/%e5%b1%95%e9%96%8b%e3%81%99%e3%82%8b\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/exceladvisor.org\/ja\/%e5%b1%95%e9%96%8b%e3%81%99%e3%82%8b\/#primaryimage\",\"url\":\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/exemple-de-fonction-de-tableau-vba.png\",\"contentUrl\":\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/exemple-de-fonction-de-tableau-vba.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/exceladvisor.org\/ja\/%e5%b1%95%e9%96%8b%e3%81%99%e3%82%8b\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u5bb6\",\"item\":\"https:\/\/exceladvisor.org\/ja\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Vba\u306e\u914d\u5217\u95a2\u6570\u306e\u4f7f\u3044\u65b9\u306f\uff1f\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/exceladvisor.org\/ja\/#website\",\"url\":\"https:\/\/exceladvisor.org\/ja\/\",\"name\":\"Excel Advisor\",\"description\":\"\u30c7\u30fc\u30bf\u3092\u652f\u914d\u3059\u308b\u305f\u3081\u306e\u7a76\u6975\u306e\u30ac\u30a4\u30c9!\",\"publisher\":{\"@id\":\"https:\/\/exceladvisor.org\/ja\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/exceladvisor.org\/ja\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/exceladvisor.org\/ja\/#organization\",\"name\":\"Excel Advisor\",\"url\":\"https:\/\/exceladvisor.org\/ja\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/exceladvisor.org\/ja\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/exceladvisor.org\/ja\/wp-content\/uploads\/2023\/12\/exceladvisor.org_.png\",\"contentUrl\":\"https:\/\/exceladvisor.org\/ja\/wp-content\/uploads\/2023\/12\/exceladvisor.org_.png\",\"width\":105,\"height\":36,\"caption\":\"Excel Advisor\"},\"image\":{\"@id\":\"https:\/\/exceladvisor.org\/ja\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"VBA\u306e\u914d\u5217\u95a2\u6570\u306e\u4f7f\u3044\u65b9\u306f\uff1f (\u69cb\u6587 + \u4f8b)","description":"VBA \u914d\u5217\u95a2\u6570\u306e\u4f7f\u7528\u65b9\u6cd5\u3092\u69cb\u6587\u3001\u5f15\u6570\u3001\u30b5\u30f3\u30d7\u30eb \u30b3\u30fc\u30c9\u4ed8\u304d\u306e\u4f8b\u3067\u5b66\u7fd2\u3057\u307e\u3059\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\/ja\/\u5c55\u958b\u3059\u308b\/","og_locale":"ja_JP","og_type":"article","og_title":"VBA\u306e\u914d\u5217\u95a2\u6570\u306e\u4f7f\u3044\u65b9\u306f\uff1f (\u69cb\u6587 + \u4f8b)","og_description":"VBA \u914d\u5217\u95a2\u6570\u306e\u4f7f\u7528\u65b9\u6cd5\u3092\u69cb\u6587\u3001\u5f15\u6570\u3001\u30b5\u30f3\u30d7\u30eb \u30b3\u30fc\u30c9\u4ed8\u304d\u306e\u4f8b\u3067\u5b66\u7fd2\u3057\u307e\u3059\u3002","og_url":"https:\/\/exceladvisor.org\/ja\/\u5c55\u958b\u3059\u308b\/","og_site_name":"Excel Advisor","article_modified_time":"2023-12-07T05:06:01+00:00","og_image":[{"url":"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/exemple-de-fonction-de-tableau-vba.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/exceladvisor.org\/ja\/%e5%b1%95%e9%96%8b%e3%81%99%e3%82%8b\/","url":"https:\/\/exceladvisor.org\/ja\/%e5%b1%95%e9%96%8b%e3%81%99%e3%82%8b\/","name":"VBA\u306e\u914d\u5217\u95a2\u6570\u306e\u4f7f\u3044\u65b9\u306f\uff1f (\u69cb\u6587 + \u4f8b)","isPartOf":{"@id":"https:\/\/exceladvisor.org\/ja\/#website"},"primaryImageOfPage":{"@id":"https:\/\/exceladvisor.org\/ja\/%e5%b1%95%e9%96%8b%e3%81%99%e3%82%8b\/#primaryimage"},"image":{"@id":"https:\/\/exceladvisor.org\/ja\/%e5%b1%95%e9%96%8b%e3%81%99%e3%82%8b\/#primaryimage"},"thumbnailUrl":"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/exemple-de-fonction-de-tableau-vba.png","datePublished":"2023-10-27T15:08:32+00:00","dateModified":"2023-12-07T05:06:01+00:00","description":"VBA \u914d\u5217\u95a2\u6570\u306e\u4f7f\u7528\u65b9\u6cd5\u3092\u69cb\u6587\u3001\u5f15\u6570\u3001\u30b5\u30f3\u30d7\u30eb \u30b3\u30fc\u30c9\u4ed8\u304d\u306e\u4f8b\u3067\u5b66\u7fd2\u3057\u307e\u3059\u3002","breadcrumb":{"@id":"https:\/\/exceladvisor.org\/ja\/%e5%b1%95%e9%96%8b%e3%81%99%e3%82%8b\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/exceladvisor.org\/ja\/%e5%b1%95%e9%96%8b%e3%81%99%e3%82%8b\/"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/exceladvisor.org\/ja\/%e5%b1%95%e9%96%8b%e3%81%99%e3%82%8b\/#primaryimage","url":"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/exemple-de-fonction-de-tableau-vba.png","contentUrl":"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/exemple-de-fonction-de-tableau-vba.png"},{"@type":"BreadcrumbList","@id":"https:\/\/exceladvisor.org\/ja\/%e5%b1%95%e9%96%8b%e3%81%99%e3%82%8b\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u5bb6","item":"https:\/\/exceladvisor.org\/ja\/"},{"@type":"ListItem","position":2,"name":"Vba\u306e\u914d\u5217\u95a2\u6570\u306e\u4f7f\u3044\u65b9\u306f\uff1f"}]},{"@type":"WebSite","@id":"https:\/\/exceladvisor.org\/ja\/#website","url":"https:\/\/exceladvisor.org\/ja\/","name":"Excel Advisor","description":"\u30c7\u30fc\u30bf\u3092\u652f\u914d\u3059\u308b\u305f\u3081\u306e\u7a76\u6975\u306e\u30ac\u30a4\u30c9!","publisher":{"@id":"https:\/\/exceladvisor.org\/ja\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/exceladvisor.org\/ja\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Organization","@id":"https:\/\/exceladvisor.org\/ja\/#organization","name":"Excel Advisor","url":"https:\/\/exceladvisor.org\/ja\/","logo":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/exceladvisor.org\/ja\/#\/schema\/logo\/image\/","url":"https:\/\/exceladvisor.org\/ja\/wp-content\/uploads\/2023\/12\/exceladvisor.org_.png","contentUrl":"https:\/\/exceladvisor.org\/ja\/wp-content\/uploads\/2023\/12\/exceladvisor.org_.png","width":105,"height":36,"caption":"Excel Advisor"},"image":{"@id":"https:\/\/exceladvisor.org\/ja\/#\/schema\/logo\/image\/"}}]}},"yoast_meta":{"yoast_wpseo_title":"","yoast_wpseo_metadesc":"","yoast_wpseo_canonical":""},"_links":{"self":[{"href":"https:\/\/exceladvisor.org\/ja\/wp-json\/wp\/v2\/pages\/3409","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/exceladvisor.org\/ja\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/exceladvisor.org\/ja\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/exceladvisor.org\/ja\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/exceladvisor.org\/ja\/wp-json\/wp\/v2\/comments?post=3409"}],"version-history":[{"count":1,"href":"https:\/\/exceladvisor.org\/ja\/wp-json\/wp\/v2\/pages\/3409\/revisions"}],"predecessor-version":[{"id":4283,"href":"https:\/\/exceladvisor.org\/ja\/wp-json\/wp\/v2\/pages\/3409\/revisions\/4283"}],"wp:attachment":[{"href":"https:\/\/exceladvisor.org\/ja\/wp-json\/wp\/v2\/media?parent=3409"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}