{"id":3504,"date":"2023-10-23T20:34:49","date_gmt":"2023-10-23T20:34:49","guid":{"rendered":"https:\/\/exceladvisor.org\/ja\/%e4%b8%8a%e3%82%8a\/"},"modified":"2023-12-07T05:05:55","modified_gmt":"2023-12-07T05:05:55","slug":"%e4%b8%8a%e3%82%8a","status":"publish","type":"page","link":"https:\/\/exceladvisor.org\/ja\/%e4%b8%8a%e3%82%8a\/","title":{"rendered":"Vba\u306eubound\u95a2\u6570\u306e\u4f7f\u3044\u65b9\u306f\uff1f"},"content":{"rendered":"<div class=\"excel-\" id=\"excel-1157423989\"><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 UBOUND \u95a2\u6570\u306f\u3001VBA \u95a2\u6570\u306e\u30c6\u30fc\u30d6\u30eb \u30ab\u30c6\u30b4\u30ea\u306b\u30ea\u30b9\u30c8\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u3092 VBA \u30b3\u30fc\u30c9\u3067\u4f7f\u7528\u3059\u308b\u3068\u3001<strong><span style=\"color: #000000;\">\u6307\u5b9a\u3055\u308c\u305f\u914d\u5217\u5185\u306e\u30c7\u30a3\u30e1\u30f3\u30b7\u30e7\u30f3\u306e\u6700\u5927\u306e\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u8fd4\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059<\/span><\/strong>\u3002\u7c21\u5358\u306b\u8a00\u3048\u3070\u3001\u914d\u5217\u306e\u4e0a\u9650\u3092\u898b\u3064\u3051\u3066\u7d50\u679c\u306e\u6700\u5927\u5024\u3092\u8fd4\u3059\u306e\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002<\/p><h2 class=\"wp-block-heading\">\u69cb\u6587<\/h2><p><strong>UBound(\u914d\u5217\u540d, [\u6b21\u5143])<\/strong><\/p><h2 class=\"wp-block-heading\">\u5f15\u6570<\/h2><ul><li><strong>ArrayName<\/strong> : \u6700\u5927\u306e\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u691c\u7d22\u3059\u308b\u914d\u5217\u3002<\/li><li> <strong>[Dimension]<\/strong> : \u914d\u5217\u306e\u6b21\u5143\u3092\u5b9a\u7fa9\u3059\u308b\u6574\u6570 (\u3053\u308c\u306f\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u5f15\u6570\u3067\u3042\u308a\u3001\u7701\u7565\u3055\u308c\u305f\u5834\u5408\u3001VBA \u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067 1 \u3092\u53d7\u3051\u53d6\u308a\u307e\u3059)\u3002<\/li><\/ul><h2 class=\"wp-block-heading\">\u4f8b<\/h2><p>VBA UBOUND \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-ubound-function\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/exemple-de-fonction-vba-ubound.png\" sizes=\"auto, \" srcset=\"\" alt=\"example-vba-ubound-function\" width=\"834\" height=\"487\"><\/figure><\/div><pre class=\"wp-block-code\"> <code class=\"language-visual-basic\" lang=\"visual-basic\">Sub example_UBOUND() Dim myAry(0 To 1100) As Double Range(\"A1\").Value = UBound(myAry, 1) End Sub<\/code><\/pre><p>\u4e0a\u8a18\u306e\u30b3\u30fc\u30c9\u3067\u306f\u3001UBOUND \u3092\u4f7f\u7528\u3057\u3066\u914d\u5217\u300cmyAry\u300d\u304b\u3089\u30c7\u30a3\u30e1\u30f3\u30b7\u30e7\u30f3\u306e\u6700\u9ad8\u306e\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u53d6\u5f97\u3057\u3001\u7d50\u679c\u3068\u3057\u3066 0 \u304b\u3089 1100 \u307e\u3067\u306e\u6700\u9ad8\u5024\u3067\u3042\u308b 1100 \u3092\u8fd4\u3057\u307e\u3057\u305f\u3002<\/p><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\/\u5c55\u958b\u3059\u308b\/\">VBA\u30c6\u30fc\u30d6\u30eb<\/a><\/li><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><\/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-3504","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\u306eUBOUND\u95a2\u6570\u306e\u4f7f\u3044\u65b9\u306f\uff1f (\u69cb\u6587 + \u4f8b)<\/title>\n<meta name=\"description\" content=\"VBA UBOUND \u95a2\u6570\u306e\u69cb\u6587\u3001\u5f15\u6570\u3001\u4f8b\u3092\u30b5\u30f3\u30d7\u30eb \u30b3\u30fc\u30c9\u3068\u3068\u3082\u306b\u4f7f\u7528\u3059\u308b\u65b9\u6cd5\u3092\u5b66\u3073\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\/\u4e0a\u308a\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"VBA\u306eUBOUND\u95a2\u6570\u306e\u4f7f\u3044\u65b9\u306f\uff1f (\u69cb\u6587 + \u4f8b)\" \/>\n<meta property=\"og:description\" content=\"VBA UBOUND \u95a2\u6570\u306e\u69cb\u6587\u3001\u5f15\u6570\u3001\u4f8b\u3092\u30b5\u30f3\u30d7\u30eb \u30b3\u30fc\u30c9\u3068\u3068\u3082\u306b\u4f7f\u7528\u3059\u308b\u65b9\u6cd5\u3092\u5b66\u3073\u307e\u3059\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/exceladvisor.org\/ja\/\u4e0a\u308a\/\" \/>\n<meta property=\"og:site_name\" content=\"Excel Advisor\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-07T05:05:55+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/exemple-de-fonction-vba-ubound.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\/%e4%b8%8a%e3%82%8a\/\",\"url\":\"https:\/\/exceladvisor.org\/ja\/%e4%b8%8a%e3%82%8a\/\",\"name\":\"VBA\u306eUBOUND\u95a2\u6570\u306e\u4f7f\u3044\u65b9\u306f\uff1f (\u69cb\u6587 + \u4f8b)\",\"isPartOf\":{\"@id\":\"https:\/\/exceladvisor.org\/ja\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/exceladvisor.org\/ja\/%e4%b8%8a%e3%82%8a\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/exceladvisor.org\/ja\/%e4%b8%8a%e3%82%8a\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/exemple-de-fonction-vba-ubound.png\",\"datePublished\":\"2023-10-23T20:34:49+00:00\",\"dateModified\":\"2023-12-07T05:05:55+00:00\",\"description\":\"VBA UBOUND \u95a2\u6570\u306e\u69cb\u6587\u3001\u5f15\u6570\u3001\u4f8b\u3092\u30b5\u30f3\u30d7\u30eb \u30b3\u30fc\u30c9\u3068\u3068\u3082\u306b\u4f7f\u7528\u3059\u308b\u65b9\u6cd5\u3092\u5b66\u3073\u307e\u3059\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/exceladvisor.org\/ja\/%e4%b8%8a%e3%82%8a\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/exceladvisor.org\/ja\/%e4%b8%8a%e3%82%8a\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/exceladvisor.org\/ja\/%e4%b8%8a%e3%82%8a\/#primaryimage\",\"url\":\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/exemple-de-fonction-vba-ubound.png\",\"contentUrl\":\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/exemple-de-fonction-vba-ubound.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/exceladvisor.org\/ja\/%e4%b8%8a%e3%82%8a\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u5bb6\",\"item\":\"https:\/\/exceladvisor.org\/ja\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Vba\u306eubound\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\u306eUBOUND\u95a2\u6570\u306e\u4f7f\u3044\u65b9\u306f\uff1f (\u69cb\u6587 + \u4f8b)","description":"VBA UBOUND \u95a2\u6570\u306e\u69cb\u6587\u3001\u5f15\u6570\u3001\u4f8b\u3092\u30b5\u30f3\u30d7\u30eb \u30b3\u30fc\u30c9\u3068\u3068\u3082\u306b\u4f7f\u7528\u3059\u308b\u65b9\u6cd5\u3092\u5b66\u3073\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\/\u4e0a\u308a\/","og_locale":"ja_JP","og_type":"article","og_title":"VBA\u306eUBOUND\u95a2\u6570\u306e\u4f7f\u3044\u65b9\u306f\uff1f (\u69cb\u6587 + \u4f8b)","og_description":"VBA UBOUND \u95a2\u6570\u306e\u69cb\u6587\u3001\u5f15\u6570\u3001\u4f8b\u3092\u30b5\u30f3\u30d7\u30eb \u30b3\u30fc\u30c9\u3068\u3068\u3082\u306b\u4f7f\u7528\u3059\u308b\u65b9\u6cd5\u3092\u5b66\u3073\u307e\u3059\u3002","og_url":"https:\/\/exceladvisor.org\/ja\/\u4e0a\u308a\/","og_site_name":"Excel Advisor","article_modified_time":"2023-12-07T05:05:55+00:00","og_image":[{"url":"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/exemple-de-fonction-vba-ubound.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/exceladvisor.org\/ja\/%e4%b8%8a%e3%82%8a\/","url":"https:\/\/exceladvisor.org\/ja\/%e4%b8%8a%e3%82%8a\/","name":"VBA\u306eUBOUND\u95a2\u6570\u306e\u4f7f\u3044\u65b9\u306f\uff1f (\u69cb\u6587 + \u4f8b)","isPartOf":{"@id":"https:\/\/exceladvisor.org\/ja\/#website"},"primaryImageOfPage":{"@id":"https:\/\/exceladvisor.org\/ja\/%e4%b8%8a%e3%82%8a\/#primaryimage"},"image":{"@id":"https:\/\/exceladvisor.org\/ja\/%e4%b8%8a%e3%82%8a\/#primaryimage"},"thumbnailUrl":"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/exemple-de-fonction-vba-ubound.png","datePublished":"2023-10-23T20:34:49+00:00","dateModified":"2023-12-07T05:05:55+00:00","description":"VBA UBOUND \u95a2\u6570\u306e\u69cb\u6587\u3001\u5f15\u6570\u3001\u4f8b\u3092\u30b5\u30f3\u30d7\u30eb \u30b3\u30fc\u30c9\u3068\u3068\u3082\u306b\u4f7f\u7528\u3059\u308b\u65b9\u6cd5\u3092\u5b66\u3073\u307e\u3059\u3002","breadcrumb":{"@id":"https:\/\/exceladvisor.org\/ja\/%e4%b8%8a%e3%82%8a\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/exceladvisor.org\/ja\/%e4%b8%8a%e3%82%8a\/"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/exceladvisor.org\/ja\/%e4%b8%8a%e3%82%8a\/#primaryimage","url":"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/exemple-de-fonction-vba-ubound.png","contentUrl":"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/exemple-de-fonction-vba-ubound.png"},{"@type":"BreadcrumbList","@id":"https:\/\/exceladvisor.org\/ja\/%e4%b8%8a%e3%82%8a\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u5bb6","item":"https:\/\/exceladvisor.org\/ja\/"},{"@type":"ListItem","position":2,"name":"Vba\u306eubound\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\/3504","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=3504"}],"version-history":[{"count":1,"href":"https:\/\/exceladvisor.org\/ja\/wp-json\/wp\/v2\/pages\/3504\/revisions"}],"predecessor-version":[{"id":4275,"href":"https:\/\/exceladvisor.org\/ja\/wp-json\/wp\/v2\/pages\/3504\/revisions\/4275"}],"wp:attachment":[{"href":"https:\/\/exceladvisor.org\/ja\/wp-json\/wp\/v2\/media?parent=3504"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}