{"id":17809,"date":"2026-07-18T06:23:47","date_gmt":"2026-07-17T21:23:47","guid":{"rendered":"https:\/\/genai-ai.co.jp\/ai-kanri\/?p=17809"},"modified":"2026-09-01T15:15:38","modified_gmt":"2026-09-01T06:15:38","slug":"cc-vba-array","status":"publish","type":"post","link":"https:\/\/genai-ai.co.jp\/ai-kanri\/blog\/cc-vba-array\/","title":{"rendered":"\u30102026\u5e748\u6708\u6700\u65b0\u3011VBA\u306e\u914d\u5217\u5b8c\u5168\u30ac\u30a4\u30c9\uff5c\u5ba3\u8a00\u30fb\u30eb\u30fc\u30d7\u30fb\u30b3\u30d4\u30fc\u30fb\u30bd\u30fc\u30c8\u30fb\u30d5\u30a3\u30eb\u30bf\u30fbClaude Code\u6d3b\u7528\u6cd5"},"content":{"rendered":"\n<style>\n.g-flow-row{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;align-items:center;}\n.g-flow-item{background:linear-gradient(135deg,#1a1a1a,#2a1015);color:#fff;border-radius:8px;padding:16px 14px;min-width:130px;flex:1;text-align:center;}\n.g-flow-arrow{color:#dc2626;font-size:20px;font-weight:700;}\n.g-card-row{display:flex;gap:12px;flex-wrap:wrap;margin:0 0 32px;}\n.g-card-row>div{flex:1;min-width:220px;}\n@media(max-width:600px){\n  .g-flow-row{flex-direction:column;}\n  .g-flow-arrow{transform:rotate(90deg);}\n  .g-card-row{flex-direction:column;}\n  .g-card-row>div{min-width:100%;}\n}\n<\/style>\n\n\n\n<div style=\"margin:0 0 32px;\">\n  <img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/07\/thumb-cc-vba-array.jpg\" alt=\"\u30102026\u5e747\u6708\u6700\u65b0\u3011VBA\u306e\u914d\u5217\u5b8c\u5168\u30ac\u30a4\u30c9\uff5c\u5ba3\u8a00\u30fb\u30eb\u30fc\u30d7\u30fb\u30b3\u30d4\u30fc\u30fb\u30bd\u30fc\u30c8\u30fb\u30d5\u30a3\u30eb\u30bf\u30fbClaude Code\u6d3b\u7528\u6cd5\" style=\"width:100%;height:auto;border-radius:12px;display:block;\">\n<\/div>\n\n\n\n\n\n\n\n<p class=\"wp-block-paragraph\">VBA\u3067\u5927\u91cf\u306e\u30c7\u30fc\u30bf\u3092\u52b9\u7387\u3088\u304f\u51e6\u7406\u3059\u308b\u306b\u306f\u300c\u914d\u5217\u300d\u306e\u7406\u89e3\u304c\u6b20\u304b\u305b\u307e\u305b\u3093\u3002\u30bb\u30eb\u30921\u3064\u305a\u3064\u8aad\u307f\u66f8\u304d\u3059\u308b\u3088\u308a\u3001<strong>\u914d\u5217\u306b\u30c7\u30fc\u30bf\u3092\u307e\u3068\u3081\u3066\u51e6\u7406\u3059\u308b\u3053\u3068\u3067\u3001\u30de\u30af\u30ed\u306e\u5b9f\u884c\u901f\u5ea6\u304c\u6570\u5341\u301c\u6570\u767e\u500d\u901f\u304f\u306a\u308b<\/strong>\u3053\u3068\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u3057\u304b\u3057\u914d\u5217\u306b\u306f\u300c\u56fa\u5b9a\u9577\u30fb\u53ef\u5909\u9577\u30fb\u52d5\u7684\u914d\u5217\u300d\u306a\u3069\u8907\u6570\u306e\u7a2e\u985e\u304c\u3042\u308a\u3001ReDim\u30fbUBound\u30fbLBound\u3068\u3044\u3063\u305f\u5c02\u7528\u306e\u69cb\u6587\u3084\u95a2\u6570\u3082\u899a\u3048\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u30eb\u30fc\u30d7\u30fb\u30b3\u30d4\u30fc\u30fb\u30bd\u30fc\u30c8\u30fb\u30d5\u30a3\u30eb\u30bf\u306a\u3069\u64cd\u4f5c\u306e\u7a2e\u985e\u3082\u591a\u5c90\u306b\u308f\u305f\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u8a18\u4e8b\u3067\u306f<strong>VBA\u306e\u914d\u5217\u306b\u95a2\u3059\u308b\u5168\u77e5\u8b58\u3092\u4f53\u7cfb\u7684\u306b\u89e3\u8aac<\/strong>\u3057\u307e\u3059\u3002\u3055\u3089\u306b<strong>Claude Code\u3092\u4f7f\u3063\u3066\u914d\u5217\u51e6\u7406\u306eVBA\u30b3\u30fc\u30c9\u3092\u81ea\u52d5\u751f\u6210\u3059\u308b\u65b9\u6cd5<\/strong>\u3082\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"balloon-wrap\">\n  <div class=\"balloon-icon\">\n    <img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/04\/ceo-sugasawa.jpg\" alt=\"\u4ee3\u8868\u83c5\u6fa4\">\n    <span class=\"balloon-name\">\u4ee3\u8868\u83c5\u6fa4<\/span>\n  <\/div>\n  <div class=\"balloon-body\">VBA\u306e\u914d\u5217\u3092\u4f7f\u3044\u3053\u306a\u3059\u3068\u3001\u300c10,000\u884c\u306e\u30c7\u30fc\u30bf\u30921\u30bb\u30eb\u305a\u3064\u51e6\u7406\u3057\u306630\u5206\u304b\u304b\u3063\u3066\u3044\u305f\u30de\u30af\u30ed\u304c\u3001\u914d\u5217\u3092\u4f7f\u3063\u305f\u30893\u79d2\u306b\u306a\u3063\u305f\u300d\u3068\u3044\u3046\u3053\u3068\u304c\u5b9f\u969b\u306b\u8d77\u304d\u307e\u3059\u3002\u5927\u91cf\u30c7\u30fc\u30bf\u3092\u6271\u3046\u696d\u52d9\u307b\u3069\u3001\u914d\u5217\u306f\u52b9\u679c\u7684\u306a\u6b66\u5668\u306b\u306a\u308a\u307e\u3059\u3002<\/div>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u8a18\u4e8b\u3067\u5206\u304b\u308b\u3053\u3068\uff1a<\/p>\n\n\n\n<div style=\"background:#fafafa;border-radius:8px;padding:16px 20px;margin:16px 0;border-left:4px solid #dc2626;\">\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span>VBA\u306e<strong>\u914d\u5217\u306e\u57fa\u672c\u6982\u5ff5<\/strong>\u3068\u5909\u6570\u3068\u306e\u9055\u3044<\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span><strong>\u56fa\u5b9a\u9577\u30fb\u53ef\u5909\u9577\u30fb\u52d5\u7684\u914d\u5217\uff08ReDim\/ReDim Preserve\uff09<\/strong>\u306e\u5ba3\u8a00\u3068\u4f7f\u3044\u65b9<\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span><strong>UBound\u30fbLBound\u95a2\u6570<\/strong>\u3067\u914d\u5217\u30b5\u30a4\u30ba\u3092\u5b89\u5168\u306b\u53d6\u5f97\u3059\u308b\u65b9\u6cd5<\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span><strong>For\u6587\u30fbFor Each\u6587<\/strong>\u3067\u306e\u914d\u5217\u30eb\u30fc\u30d7\u51e6\u7406<\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span>Excel\u306e<strong>\u30bb\u30eb\u3068\u914d\u5217\u306e\u76f8\u4e92\u5909\u63db<\/strong>\u3067\u51e6\u7406\u901f\u5ea6\u3092\u5927\u5e45\u6539\u5584<\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span><strong>\u914d\u5217\u306e\u30b3\u30d4\u30fc\u30fb\u30bd\u30fc\u30c8\u30fbFilter\u95a2\u6570<\/strong>\u306b\u3088\u308b\u7d5e\u308a\u8fbc\u307f<\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span><strong>2\u6b21\u5143\u914d\u5217<\/strong>\u3092\u4f7f\u3063\u3066\u30b7\u30fc\u30c8\u30c7\u30fc\u30bf\u3092\u4e38\u3054\u3068\u51e6\u7406\u3059\u308b\u65b9\u6cd5<\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span><strong>Claude Code\u3078\u306e\u4f9d\u983c\u4f8b<\/strong>\u3067VBA\u30b3\u30fc\u30c9\u3092\u81ea\u52d5\u751f\u6210\u3059\u308b<\/strong><\/span><\/div>\n\n<\/div>\n\n\n<div style=\"margin:48px 0 8px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap;\"><a href=\"https:\/\/aikanri.genai-ai.co.jp\/aibpo\/makase\/blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=cc-vba-array&#038;blog_slug=cc-vba-array&#038;blog_title=%E3%80%902026%E5%B9%B48%E6%9C%88%E6%9C%80%E6%96%B0%E3%80%91VBA%E3%81%AE%E9%85%8D%E5%88%97%E5%AE%8C%E5%85%A8%E3%82%AC%E3%82%A4%E3%83%89%EF%BD%9C%E5%AE%A3%E8%A8%80%E3%83%BB%E3%83%AB%E3%83%BC%E3%83%97%E3%83%BB%E3%82%B3%E3%83%94%E3%83%BC%E3%83%BB%E3%82%BD%E3%83%BC%E3%83%88%E3%83%BB%E3%83%95%E3%82%A3%E3%83%AB%E3%82%BF%E3%83%BBClaude%20Code%E6%B4%BB%E7%94%A8%E6%B3%95&#038;blog_url=https%3A%2F%2Fgenai-ai.co.jp%2Fai-kanri%2Fblog%2Fcc-vba-array%2F&#038;utm_campaign=aibpo_makase\" target=\"_blank\" rel=\"noopener\" aria-label=\"AI\u793e\u54e1AIKATA\uff08\u670830\u4e07\u5186\u3067\u696d\u52d9\u307e\u304b\u305b\u653e\u984c\uff09\u306e\u7121\u6599\u76f8\u8ac7 \u4e88\u7d04\u30da\u30fc\u30b8\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/09\/cta_blog_makase_20260904.jpg\" alt=\"AI\u793e\u54e1AIKATA\uff5c\u670830\u4e07\u5186\u306e\u5b9a\u984d\u3067\u5fa1\u793e\u306e\u696d\u52d9\u3092\u307e\u308b\u3054\u3068\u5dfb\u304d\u53d6\u308a\u307e\u3059\uff08\u7121\u6599\u76f8\u8ac760\u5206\uff09\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><a href=\"https:\/\/aikanri.genai-ai.co.jp\/koteihi-line\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=cc-vba-array&#038;blog_slug=cc-vba-array&#038;blog_title=%E3%80%902026%E5%B9%B48%E6%9C%88%E6%9C%80%E6%96%B0%E3%80%91VBA%E3%81%AE%E9%85%8D%E5%88%97%E5%AE%8C%E5%85%A8%E3%82%AC%E3%82%A4%E3%83%89%EF%BD%9C%E5%AE%A3%E8%A8%80%E3%83%BB%E3%83%AB%E3%83%BC%E3%83%97%E3%83%BB%E3%82%B3%E3%83%94%E3%83%BC%E3%83%BB%E3%82%BD%E3%83%BC%E3%83%88%E3%83%BB%E3%83%95%E3%82%A3%E3%83%AB%E3%82%BF%E3%83%BBClaude%20Code%E6%B4%BB%E7%94%A8%E6%B3%95&#038;blog_url=https%3A%2F%2Fgenai-ai.co.jp%2Fai-kanri%2Fblog%2Fcc-vba-array%2F&#038;utm_campaign=koteihi_shindan\" target=\"_blank\" rel=\"noopener\" aria-label=\"\u516c\u5f0fLINE\u306e\u56fa\u5b9a\u8cbb\u524a\u6e1b\u8a3a\u65ad\uff08\u7121\u6599\u30fb\u7d041\u5206\uff09\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/09\/cta_blog_koteihi_line.jpg\" alt=\"\u5fa1\u793e\u304c\u6e1b\u3089\u305b\u308b\u56fa\u5b9a\u8cbb\u306f\u6708\u3044\u304f\u3089\u304b\uff5c\u516c\u5f0fLINE\u3067\u8cea\u554f\u306b\u7b54\u3048\u308b\u3060\u3051\uff08\u7121\u6599\u30fb\u7d041\u5206\uff09\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><\/div>\n\n\n<div id=\"sec-01\"><\/div>\n<h2 class=\"section-header-img\" style=\"margin:32px 0 24px;border-radius:8px;overflow:hidden;background:linear-gradient(135deg,#1a1a1a 0%,#2a1015 100%);padding:32px 28px;color:#fff;position:relative;border:none;border-left:none;text-align:left;\">\n  <span class=\"section-number\" style=\"display:block;\">01<\/span>\n  <span class=\"section-label\" style=\"display:block;\">VBA ARRAY BASICS<\/span>\n  <span class=\"section-title\" style=\"display:block;\">VBA\u306e\u914d\u5217\u3068\u306f\uff1f\u57fa\u672c\u6982\u5ff5\u3068\u5909\u6570\u3068\u306e\u9055\u3044<\/span>\n  <span class=\"section-desc\">\u8907\u6570\u306e\u5024\u30921\u3064\u306e\u5909\u6570\u540d\u3067\u307e\u3068\u3081\u3066\u6271\u3048\u308b\u30c7\u30fc\u30bf\u69cb\u9020<\/span>\n<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">VBA\u306e\u914d\u5217\uff08Array\uff09\u306f\u3001<strong>\u540c\u3058\u30c7\u30fc\u30bf\u578b\u306e\u8907\u6570\u306e\u5024\u3092\u4e00\u3064\u306e\u5909\u6570\u540d\u3067\u307e\u3068\u3081\u3066\u7ba1\u7406\u3067\u304d\u308b\u30c7\u30fc\u30bf\u69cb\u9020<\/strong>\u3067\u3059\u3002\u901a\u5e38\u306e\u5909\u6570\u304c\u300c1\u3064\u306e\u68da\u306b1\u3064\u306e\u5024\u300d\u3092\u5165\u308c\u308b\u3068\u3059\u308b\u3068\u3001\u914d\u5217\u306f\u300c\u756a\u53f7\u4ed8\u304d\u306e\u68da\u304c\u8907\u6570\u4e26\u3093\u3060\u30e9\u30c3\u30af\u300d\u306e\u30a4\u30e1\u30fc\u30b8\u3067\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#f8f9fa;border-left:4px solid #6b7280;border-radius:0 8px 8px 0;padding:16px 20px;margin:20px 0;\">\n  <p style=\"margin:0 0 4px;font-size:13px;font-weight:700;color:#6b7280;letter-spacing:1px;\">&#128218; \u7528\u8a9e\u89e3\u8aac<\/p>\n  <p style=\"margin:0;font-size:15px;line-height:1.7;\"><strong>\u914d\u5217\uff08Array\uff09<\/strong>\uff1aVBA\u3067\u8907\u6570\u306e\u5024\u30921\u3064\u306e\u5909\u6570\u540d\u3067\u307e\u3068\u3081\u3066\u7ba1\u7406\u3059\u308b\u30c7\u30fc\u30bf\u69cb\u9020\u3002\u300carr(0)\u300d\u300carr(1)\u300d\u306e\u3088\u3046\u306b\u6dfb\u5b57\uff08\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\uff09\u756a\u53f7\u3092\u4f7f\u3063\u3066\u5404\u8981\u7d20\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3002\u901a\u5e38\u306eVBA\u5909\u6570\u304c1\u3064\u306e\u5024\u3057\u304b\u6301\u3066\u306a\u3044\u306e\u306b\u5bfe\u3057\u3001\u914d\u5217\u306f\u540c\u7a2e\u306e\u30c7\u30fc\u30bf\u3092\u5927\u91cf\u306b\u6271\u3048\u308b\u3002Excel\u306e\u30bb\u30eb\u7bc4\u56f2\u3092\u4e00\u62ec\u3067\u914d\u5217\u306b\u8aad\u307f\u8fbc\u3093\u3067\u51e6\u7406\u3059\u308b\u3053\u3068\u3067\u3001\u30bb\u30eb\u30921\u3064\u305a\u3064\u8aad\u3080\u3088\u308a\u5b9f\u884c\u901f\u5ea6\u304c\u98db\u8e8d\u7684\u306b\u901f\u304f\u306a\u308b\u3002<\/p>\n<\/div>\n\n\n\n<table>\n<thead><tr><th>\u6bd4\u8f03\u9805\u76ee<\/th><th>\u901a\u5e38\u306e\u5909\u6570<\/th><th>\u914d\u5217<\/th><\/tr><\/thead>\n<tbody>\n<tr><td>\u683c\u7d0d\u3067\u304d\u308b\u5024\u306e\u6570<\/td><td>1\u3064\u3060\u3051<\/td><td>\u8907\u6570\uff08\u5ba3\u8a00\u6642\u306b\u6307\u5b9a\u3057\u305f\u6570\uff09<\/td><\/tr>\n<tr><td>\u5024\u3078\u306e\u30a2\u30af\u30bb\u30b9<\/td><td>\u5909\u6570\u540d\u3060\u3051\u3067\u30a2\u30af\u30bb\u30b9<\/td><td>\u5909\u6570\u540d(\u30a4\u30f3\u30c7\u30c3\u30af\u30b9)\u3067\u30a2\u30af\u30bb\u30b9\uff08\u4f8b: arr(0)\uff09<\/td><\/tr>\n<tr><td>\u30e1\u30e2\u30ea\u52b9\u7387<\/td><td>\u5024\u306e\u6570\u3060\u3051\u5909\u6570\u304c\u5fc5\u8981<\/td><td>1\u3064\u306e\u5909\u6570\u540d\u3067\u8907\u6570\u5024\u3092\u7ba1\u7406<\/td><\/tr>\n<tr><td>\u30eb\u30fc\u30d7\u3068\u306e\u76f8\u6027<\/td><td>\u6bce\u56de\u5909\u6570\u540d\u3092\u66f8\u304f\u5fc5\u8981\u3042\u308a<\/td><td>\u30eb\u30fc\u30d7\u3067\u5168\u8981\u7d20\u3092\u9806\u756a\u306b\u51e6\u7406\u3057\u3084\u3059\u3044<\/td><\/tr>\n<tr><td>\u5927\u91cf\u30c7\u30fc\u30bf\u306e\u901f\u5ea6<\/td><td>1\u4e07\u4ef6\u306f\u9045\u3044<\/td><td>\u914d\u5217\u306b\u8aad\u307f\u8fbc\u3093\u3067\u304b\u3089\u51e6\u7406\u3059\u308b\u3068\u9ad8\u901f<\/td><\/tr>\n<\/tbody>\n<\/table>\n\n\n\n<p class=\"wp-block-paragraph\">\u914d\u5217\u304c\u7279\u306b\u5a01\u529b\u3092\u767a\u63ee\u3059\u308b\u30b7\u30fc\u30f3\u3092\u78ba\u8a8d\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<table>\n<thead><tr><th>\u696d\u52d9\u30b7\u30fc\u30f3<\/th><th>\u914d\u5217\u3092\u4f7f\u3046\u524d<\/th><th>\u914d\u5217\u3092\u4f7f\u3063\u305f\u5f8c<\/th><\/tr><\/thead>\n<tbody>\n<tr><td>1\u4e07\u884c\u306e\u30c7\u30fc\u30bf\u3092\u96c6\u8a08<\/td><td>For i=1 to 10000: Cells(i,1)\u3092\u6bce\u56de\u8aad\u3080<\/td><td>\u5148\u306b\u914d\u5217\u306b\u8aad\u307f\u8fbc\u3093\u3067\u304b\u3089\u30e1\u30e2\u30ea\u5185\u3067\u51e6\u7406<\/td><\/tr>\n<tr><td>\u8907\u6570\u306e\u5546\u54c1\u30b3\u30fc\u30c9\u3092\u6bd4\u8f03<\/td><td>\u5909\u6570\u309210\u500b\u5ba3\u8a00\u3057\u3066\u7ba1\u7406<\/td><td>1\u3064\u306e\u914d\u5217\u5909\u6570\u3067\u5168\u30b3\u30fc\u30c9\u3092\u7ba1\u7406<\/td><\/tr>\n<tr><td>\u30bb\u30eb\u306b\u30c7\u30fc\u30bf\u3092\u66f8\u304d\u51fa\u3059<\/td><td>10,000\u56de\u306e\u30bb\u30eb\u66f8\u304d\u8fbc\u307f<\/td><td>1\u56de\u306e\u914d\u5217\u66f8\u304d\u51fa\u3057\u3067\u5b8c\u4e86<\/td><\/tr>\n<tr><td>\u6761\u4ef6\u306b\u4e00\u81f4\u3059\u308b\u884c\u3092\u62bd\u51fa<\/td><td>\u5168\u884c\u30921\u884c\u305a\u3064If\u6587\u3067\u30c1\u30a7\u30c3\u30af<\/td><td>\u914d\u5217\u306b\u30ed\u30fc\u30c9\u3057\u3066\u304b\u3089Filter\u95a2\u6570<\/td><\/tr>\n<\/tbody>\n<\/table>\n\n\n\n<div class=\"balloon-wrap is-right\">\n  <div class=\"balloon-icon\">\n    <img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/04\/yamazaki-avatar.png\" alt=\"AI\u9b3c\u7ba1\u7406\u5c71\u5d0e\">\n    <span class=\"balloon-name\">AI\u9b3c\u7ba1\u7406\u5c71\u5d0e<\/span>\n  <\/div>\n  <div class=\"balloon-body\">\u914d\u5217\u306e\u6700\u5927\u306e\u30e1\u30ea\u30c3\u30c8\u306f\u300c\u5b9f\u884c\u901f\u5ea6\u306e\u6539\u5584\u300d\u3067\u3059\u3002Excel\u306eVBA\u306f\u30bb\u30eb\u3078\u306e\u30a2\u30af\u30bb\u30b9\u304c\u9045\u3044\u305f\u3081\u3001\u5927\u91cf\u30c7\u30fc\u30bf\u3092\u51e6\u7406\u3059\u308b\u5834\u5408\u306f\u914d\u5217\u306b\u4e00\u62ec\u8aad\u307f\u8fbc\u307f\u3057\u3066\u304b\u3089\u30e1\u30e2\u30ea\u5185\u3067\u51e6\u7406\u3057\u3001\u6700\u5f8c\u306b\u4e00\u62ec\u66f8\u304d\u51fa\u3057\u3092\u3059\u308b\u306e\u304c\u57fa\u672c\u30c6\u30af\u30cb\u30c3\u30af\u3067\u3059\u3002<\/div>\n<\/div>\n\n\n<div style=\"margin:48px 0 8px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap;\"><a href=\"https:\/\/aikanri.genai-ai.co.jp\/aibpo\/makase\/blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=cc-vba-array&#038;blog_slug=cc-vba-array&#038;blog_title=%E3%80%902026%E5%B9%B48%E6%9C%88%E6%9C%80%E6%96%B0%E3%80%91VBA%E3%81%AE%E9%85%8D%E5%88%97%E5%AE%8C%E5%85%A8%E3%82%AC%E3%82%A4%E3%83%89%EF%BD%9C%E5%AE%A3%E8%A8%80%E3%83%BB%E3%83%AB%E3%83%BC%E3%83%97%E3%83%BB%E3%82%B3%E3%83%94%E3%83%BC%E3%83%BB%E3%82%BD%E3%83%BC%E3%83%88%E3%83%BB%E3%83%95%E3%82%A3%E3%83%AB%E3%82%BF%E3%83%BBClaude%20Code%E6%B4%BB%E7%94%A8%E6%B3%95&#038;blog_url=https%3A%2F%2Fgenai-ai.co.jp%2Fai-kanri%2Fblog%2Fcc-vba-array%2F&#038;utm_campaign=aibpo_makase\" target=\"_blank\" rel=\"noopener\" aria-label=\"AI\u793e\u54e1AIKATA\uff08\u670830\u4e07\u5186\u3067\u696d\u52d9\u307e\u304b\u305b\u653e\u984c\uff09\u306e\u7121\u6599\u76f8\u8ac7 \u4e88\u7d04\u30da\u30fc\u30b8\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/09\/cta_blog_makase_20260904.jpg\" alt=\"AI\u793e\u54e1AIKATA\uff5c\u670830\u4e07\u5186\u306e\u5b9a\u984d\u3067\u5fa1\u793e\u306e\u696d\u52d9\u3092\u307e\u308b\u3054\u3068\u5dfb\u304d\u53d6\u308a\u307e\u3059\uff08\u7121\u6599\u76f8\u8ac760\u5206\uff09\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><a href=\"https:\/\/aikanri.genai-ai.co.jp\/koteihi-line\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=cc-vba-array&#038;blog_slug=cc-vba-array&#038;blog_title=%E3%80%902026%E5%B9%B48%E6%9C%88%E6%9C%80%E6%96%B0%E3%80%91VBA%E3%81%AE%E9%85%8D%E5%88%97%E5%AE%8C%E5%85%A8%E3%82%AC%E3%82%A4%E3%83%89%EF%BD%9C%E5%AE%A3%E8%A8%80%E3%83%BB%E3%83%AB%E3%83%BC%E3%83%97%E3%83%BB%E3%82%B3%E3%83%94%E3%83%BC%E3%83%BB%E3%82%BD%E3%83%BC%E3%83%88%E3%83%BB%E3%83%95%E3%82%A3%E3%83%AB%E3%82%BF%E3%83%BBClaude%20Code%E6%B4%BB%E7%94%A8%E6%B3%95&#038;blog_url=https%3A%2F%2Fgenai-ai.co.jp%2Fai-kanri%2Fblog%2Fcc-vba-array%2F&#038;utm_campaign=koteihi_shindan\" target=\"_blank\" rel=\"noopener\" aria-label=\"\u516c\u5f0fLINE\u306e\u56fa\u5b9a\u8cbb\u524a\u6e1b\u8a3a\u65ad\uff08\u7121\u6599\u30fb\u7d041\u5206\uff09\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/09\/cta_blog_koteihi_line.jpg\" alt=\"\u5fa1\u793e\u304c\u6e1b\u3089\u305b\u308b\u56fa\u5b9a\u8cbb\u306f\u6708\u3044\u304f\u3089\u304b\uff5c\u516c\u5f0fLINE\u3067\u8cea\u554f\u306b\u7b54\u3048\u308b\u3060\u3051\uff08\u7121\u6599\u30fb\u7d041\u5206\uff09\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><\/div>\n\n\n<div id=\"sec-02\"><\/div>\n<h2 class=\"section-header-img\" style=\"margin:32px 0 24px;border-radius:8px;overflow:hidden;background:linear-gradient(135deg,#1a1a1a 0%,#2a1015 100%);padding:32px 28px;color:#fff;position:relative;border:none;border-left:none;text-align:left;\">\n  <span class=\"section-number\" style=\"display:block;\">02<\/span>\n  <span class=\"section-label\" style=\"display:block;\">ARRAY DECLARE<\/span>\n  <span class=\"section-title\" style=\"display:block;\">\u914d\u5217\u306e\u5ba3\u8a00\u65b9\u6cd5\uff1a\u56fa\u5b9a\u9577\u30fb\u53ef\u5909\u9577\u30fb\u52d5\u7684\u914d\u5217<\/span>\n  <span class=\"section-desc\">ReDim\u30fbReDim Preserve\u3092\u4f7f\u3063\u305f\u52d5\u7684\u914d\u5217\u306e\u5ba3\u8a00\u3068\u521d\u671f\u5316\u3092\u5b8c\u5168\u89e3\u8aac<\/span>\n<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">VBA\u306e\u914d\u5217\u306b\u306f<strong>\u5ba3\u8a00\u6642\u306b\u8981\u7d20\u6570\u304c\u6c7a\u307e\u308b\u300c\u56fa\u5b9a\u9577\u914d\u5217\u300d\u3068\u3001\u5b9f\u884c\u4e2d\u306b\u8981\u7d20\u6570\u3092\u5909\u66f4\u3067\u304d\u308b\u300c\u52d5\u7684\u914d\u5217\u300d<\/strong>\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">2-1. \u56fa\u5b9a\u9577\u914d\u5217\u306e\u5ba3\u8a00<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u56fa\u5b9a\u9577\u914d\u5217\u306f\u5ba3\u8a00\u6642\u306b\u8981\u7d20\u6570\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u300cDim arr(4) As Integer\u300d\u3068\u66f8\u304f\u3068\u30010\u301c4\u306e\u6dfb\u5b57\u3092\u6301\u30645\u8981\u7d20\u306e\u6574\u6570\u578b\u914d\u5217\u304c\u4f5c\u3089\u308c\u307e\u3059\u3002VBA\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u306f<strong>\u6dfb\u5b57\u304c0\u304b\u3089\u59cb\u307e\u308b\uff080\u59cb\u307e\u308a\uff09<\/strong>\u3067\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#1e1e1e;border-radius:8px;padding:20px 24px;margin:20px 0;overflow-x:auto;\">\n  <div style=\"font-size:11px;color:#888;margin-bottom:8px;text-transform:uppercase;letter-spacing:1px;\">VBA<\/div>\n  <pre style=\"margin:0;font-family:'Courier New',Consolas,monospace;font-size:14px;line-height:1.8;color:#d4d4d4;white-space:pre;\">' 5\u8981\u7d20\u306e\u56fa\u5b9a\u9577\u914d\u5217\uff08\u6dfb\u5b570\u301c4\uff09\nDim scores(4) As Integer\n\n' \u5024\u3092\u4ee3\u5165\nscores(0) = 85\nscores(1) = 92\nscores(2) = 78\nscores(3) = 88\nscores(4) = 95\n\n' \u5408\u8a08\u3092\u8a08\u7b97\nDim total As Integer\nDim i As Integer\nFor i = 0 To 4\n    total = total + scores(i)\nNext i\nMsgBox \"\u5408\u8a08: \" & total<\/pre>\n<\/div>\n\n\n\n<div style=\"background:#f0fdf4;border:1px solid #22c55e;border-radius:8px;padding:20px 24px;margin:24px 0;\">\n  <div style=\"display:flex;align-items:center;gap:8px;margin-bottom:12px;\"><span style=\"font-size:18px;\">&#128161;<\/span><strong style=\"color:#16a34a;font-size:15px;\">Option Base 1\u3067\u6dfb\u5b57\u30921\u59cb\u307e\u308a\u306b\u3067\u304d\u308b<\/strong><\/div>\n  <p style=\"margin:0;font-size:15px;line-height:1.8;color:#333;\">\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u5148\u982d\u306b\u300cOption Base 1\u300d\u3068\u66f8\u304f\u3068\u3001\u914d\u5217\u306e\u6dfb\u5b57\u304c1\u304b\u3089\u59cb\u307e\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002Excel\u306e\u30b7\u30fc\u30c8\u884c\u304c1\u59cb\u307e\u308a\u306a\u306e\u306b\u5408\u308f\u305b\u30661\u59cb\u307e\u308a\u306b\u3057\u305f\u3044\u5834\u5408\u306b\u4f7f\u3048\u307e\u3059\u3002\u305f\u3060\u3057\u3001Option Base 1\u3092\u4f7f\u3046\u3068\u30b3\u30fc\u30c9\u3092\u8aad\u3080\u4eba\u304c\u6df7\u4e71\u3057\u3084\u3059\u3044\u305f\u3081\u30010\u59cb\u307e\u308a\u306e\u307e\u307e\u3067\u300c\u6dfb\u5b570\u3092\u4f7f\u308f\u306a\u3044\u300d\u30b9\u30bf\u30a4\u30eb\u3092\u63a1\u7528\u3059\u308b\u5834\u5408\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">2-2. \u52d5\u7684\u914d\u5217\u306e\u5ba3\u8a00\uff1aReDim\u306e\u4f7f\u3044\u65b9<\/h3>\n\n\n\n<div style=\"background:#f8f9fa;border-left:4px solid #6b7280;border-radius:0 8px 8px 0;padding:16px 20px;margin:20px 0;\">\n  <p style=\"margin:0 0 4px;font-size:13px;font-weight:700;color:#6b7280;letter-spacing:1px;\">&#128218; \u7528\u8a9e\u89e3\u8aac<\/p>\n  <p style=\"margin:0;font-size:15px;line-height:1.7;\"><strong>ReDim\uff08\u52d5\u7684\u914d\u5217\u306e\u30b5\u30a4\u30ba\u5909\u66f4\uff09<\/strong>\uff1aVBA\u3067\u52d5\u7684\u914d\u5217\u306e\u30b5\u30a4\u30ba\u3092\u5b9f\u884c\u6642\u306b\u5909\u66f4\u3059\u308b\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u3002\u300cDim arr() As String\u300d\u3068\u8981\u7d20\u6570\u3092\u7a7a\u6b04\u3067\u5ba3\u8a00\u3057\u3001\u5f8c\u3067\u300cReDim arr(n)\u300d\u3068\u8981\u7d20\u6570\u3092\u6307\u5b9a\u3059\u308b\u3002ReDim\u3059\u308b\u3068\u65e2\u5b58\u306e\u914d\u5217\u30c7\u30fc\u30bf\u304c\u6d88\u3048\u308b\u305f\u3081\u3001\u30c7\u30fc\u30bf\u3092\u4fdd\u6301\u3057\u305f\u307e\u307e\u30b5\u30a4\u30ba\u3092\u5909\u66f4\u3057\u305f\u3044\u5834\u5408\u306f\u300cReDim Preserve arr(n)\u300d\u3092\u4f7f\u3046\u3002\u51e6\u7406\u3059\u308b\u30c7\u30fc\u30bf\u4ef6\u6570\u304c\u4e8b\u524d\u306b\u5206\u304b\u3089\u306a\u3044\u5834\u5408\uff08\u30bb\u30eb\u306e\u884c\u6570\u304c\u53ef\u5909\u306a\u3069\uff09\u306b\u5fc5\u9808\u3002<\/p>\n<\/div>\n\n\n\n<div style=\"background:#1e1e1e;border-radius:8px;padding:20px 24px;margin:20px 0;overflow-x:auto;\">\n  <div style=\"font-size:11px;color:#888;margin-bottom:8px;text-transform:uppercase;letter-spacing:1px;\">VBA<\/div>\n  <pre style=\"margin:0;font-family:'Courier New',Consolas,monospace;font-size:14px;line-height:1.8;color:#d4d4d4;white-space:pre;\">' \u52d5\u7684\u914d\u5217\u306e\u5ba3\u8a00\uff08\u8981\u7d20\u6570\u3092\u7a7a\u6b04\u306b\u3059\u308b\uff09\nDim names() As String\n\n' \u30c7\u30fc\u30bf\u4ef6\u6570\u3092\u78ba\u8a8d\u3057\u3066\u304b\u3089\u30b5\u30a4\u30ba\u3092\u6c7a\u5b9a\nDim lastRow As Long\nlastRow = Cells(Rows.Count, 1).End(xlUp).Row\n\n' ReDim\u3067\u30b5\u30a4\u30ba\u3092\u8a2d\u5b9a\nReDim names(lastRow - 1)\n\n' \u30bb\u30eb\u306e\u5024\u3092\u914d\u5217\u306b\u683c\u7d0d\nDim i As Long\nFor i = 0 To lastRow - 1\n    names(i) = Cells(i + 1, 1).Value\nNext i\n\nMsgBox \"\u8aad\u307f\u8fbc\u3093\u3060\u4ef6\u6570: \" & lastRow<\/pre>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">2-3. ReDim Preserve\u3067\u30c7\u30fc\u30bf\u3092\u4fdd\u6301\u3057\u306a\u304c\u3089\u30b5\u30a4\u30ba\u5909\u66f4<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">ReDim\u3092\u5b9f\u884c\u3059\u308b\u3068\u65e2\u5b58\u306e\u30c7\u30fc\u30bf\u304c\u6d88\u3048\u3066\u3057\u307e\u3044\u307e\u3059\u3002\u30c7\u30fc\u30bf\u3092\u4fdd\u6301\u3057\u305f\u307e\u307e\u30b5\u30a4\u30ba\u3092\u5909\u66f4\u3057\u305f\u3044\u5834\u5408\u306f<strong>ReDim Preserve<\/strong>\u3092\u4f7f\u3044\u307e\u3059\u3002\u305f\u3060\u3057\u3001ReDim Preserve\u306f<strong>\u6700\u5f8c\u306e\u6b21\u5143\u306e\u30b5\u30a4\u30ba\u3060\u3051\u5909\u66f4\u3067\u304d\u308b<\/strong>\u3068\u3044\u3046\u5236\u7d04\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#1e1e1e;border-radius:8px;padding:20px 24px;margin:20px 0;overflow-x:auto;\">\n  <div style=\"font-size:11px;color:#888;margin-bottom:8px;text-transform:uppercase;letter-spacing:1px;\">VBA<\/div>\n  <pre style=\"margin:0;font-family:'Courier New',Consolas,monospace;font-size:14px;line-height:1.8;color:#d4d4d4;white-space:pre;\">' ReDim Preserve\u3067\u8981\u7d20\u30921\u3064\u305a\u3064\u8ffd\u52a0\nDim results() As String\nDim count As Integer\ncount = 0\n\nDim i As Long\nFor i = 1 To 100\n    If Cells(i, 1).Value >= 80 Then\n        ' \u914d\u5217\u30b5\u30a4\u30ba\u30921\u3064\u5897\u3084\u3057\u3066\u30c7\u30fc\u30bf\u3092\u4fdd\u6301\n        ReDim Preserve results(count)\n        results(count) = Cells(i, 2).Value\n        count = count + 1\n    End If\nNext i\n\nMsgBox \"80\u70b9\u4ee5\u4e0a\u306e\u4eba\u6570: \" & count<\/pre>\n<\/div>\n\n\n\n<div style=\"background:#fef2f2;border:2px solid #dc2626;border-radius:8px;padding:20px 24px;margin:24px 0;\">\n  <div style=\"display:flex;align-items:center;gap:8px;margin-bottom:12px;\"><span style=\"font-size:20px;\">&#9888;&#65039;<\/span><strong style=\"color:#dc2626;font-size:16px;\">ReDim Preserve\u306e\u983b\u7e41\u306a\u4f7f\u7528\u306f\u9045\u3044<\/strong><\/div>\n  <p style=\"margin:0;font-size:15px;line-height:1.8;color:#333;\">ReDim Preserve\u3092\u30eb\u30fc\u30d7\u306e\u4e2d\u3067\u6bce\u56de\u547c\u3076\u3068\u3001\u6bce\u56de\u30e1\u30e2\u30ea\u306e\u518d\u5272\u308a\u5f53\u3066\u304c\u767a\u751f\u3057\u3066\u51e6\u7406\u304c\u9045\u304f\u306a\u308a\u307e\u3059\u3002\u5bfe\u7b56\u3068\u3057\u3066\u300c\u6700\u521d\u306b\u5927\u304d\u3081\u306e\u30b5\u30a4\u30ba\u3067\u5ba3\u8a00\u2192\u30c7\u30fc\u30bf\u3092\u683c\u7d0d\u2192\u6700\u5f8c\u306b\u5b9f\u969b\u306e\u8981\u7d20\u6570\u3067ReDim Preserve\u300d\u3059\u308b\u30d1\u30bf\u30fc\u30f3\u304b\u3001Collection\u3084ArrayList\u3092\u4f7f\u3046\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u3002\u30c7\u30fc\u30bf\u4ef6\u6570\u304c\u4e8b\u524d\u306b\u5206\u304b\u308b\u5834\u5408\u306f\u6700\u521d\u304b\u3089\u6b63\u78ba\u306a\u30b5\u30a4\u30ba\u3067\u5ba3\u8a00\u3059\u308b\u306e\u304c\u30d9\u30b9\u30c8\u3067\u3059\u3002<\/p>\n<\/div>\n\n\n<div style=\"margin:48px 0 8px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap;\"><a href=\"https:\/\/aikanri.genai-ai.co.jp\/aibpo\/makase\/blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=cc-vba-array&#038;blog_slug=cc-vba-array&#038;blog_title=%E3%80%902026%E5%B9%B48%E6%9C%88%E6%9C%80%E6%96%B0%E3%80%91VBA%E3%81%AE%E9%85%8D%E5%88%97%E5%AE%8C%E5%85%A8%E3%82%AC%E3%82%A4%E3%83%89%EF%BD%9C%E5%AE%A3%E8%A8%80%E3%83%BB%E3%83%AB%E3%83%BC%E3%83%97%E3%83%BB%E3%82%B3%E3%83%94%E3%83%BC%E3%83%BB%E3%82%BD%E3%83%BC%E3%83%88%E3%83%BB%E3%83%95%E3%82%A3%E3%83%AB%E3%82%BF%E3%83%BBClaude%20Code%E6%B4%BB%E7%94%A8%E6%B3%95&#038;blog_url=https%3A%2F%2Fgenai-ai.co.jp%2Fai-kanri%2Fblog%2Fcc-vba-array%2F&#038;utm_campaign=aibpo_makase\" target=\"_blank\" rel=\"noopener\" aria-label=\"AI\u793e\u54e1AIKATA\uff08\u670830\u4e07\u5186\u3067\u696d\u52d9\u307e\u304b\u305b\u653e\u984c\uff09\u306e\u7121\u6599\u76f8\u8ac7 \u4e88\u7d04\u30da\u30fc\u30b8\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/09\/cta_blog_makase_20260904.jpg\" alt=\"AI\u793e\u54e1AIKATA\uff5c\u670830\u4e07\u5186\u306e\u5b9a\u984d\u3067\u5fa1\u793e\u306e\u696d\u52d9\u3092\u307e\u308b\u3054\u3068\u5dfb\u304d\u53d6\u308a\u307e\u3059\uff08\u7121\u6599\u76f8\u8ac760\u5206\uff09\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><a href=\"https:\/\/aikanri.genai-ai.co.jp\/koteihi-line\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=cc-vba-array&#038;blog_slug=cc-vba-array&#038;blog_title=%E3%80%902026%E5%B9%B48%E6%9C%88%E6%9C%80%E6%96%B0%E3%80%91VBA%E3%81%AE%E9%85%8D%E5%88%97%E5%AE%8C%E5%85%A8%E3%82%AC%E3%82%A4%E3%83%89%EF%BD%9C%E5%AE%A3%E8%A8%80%E3%83%BB%E3%83%AB%E3%83%BC%E3%83%97%E3%83%BB%E3%82%B3%E3%83%94%E3%83%BC%E3%83%BB%E3%82%BD%E3%83%BC%E3%83%88%E3%83%BB%E3%83%95%E3%82%A3%E3%83%AB%E3%82%BF%E3%83%BBClaude%20Code%E6%B4%BB%E7%94%A8%E6%B3%95&#038;blog_url=https%3A%2F%2Fgenai-ai.co.jp%2Fai-kanri%2Fblog%2Fcc-vba-array%2F&#038;utm_campaign=koteihi_shindan\" target=\"_blank\" rel=\"noopener\" aria-label=\"\u516c\u5f0fLINE\u306e\u56fa\u5b9a\u8cbb\u524a\u6e1b\u8a3a\u65ad\uff08\u7121\u6599\u30fb\u7d041\u5206\uff09\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/09\/cta_blog_koteihi_line.jpg\" alt=\"\u5fa1\u793e\u304c\u6e1b\u3089\u305b\u308b\u56fa\u5b9a\u8cbb\u306f\u6708\u3044\u304f\u3089\u304b\uff5c\u516c\u5f0fLINE\u3067\u8cea\u554f\u306b\u7b54\u3048\u308b\u3060\u3051\uff08\u7121\u6599\u30fb\u7d041\u5206\uff09\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><\/div>\n\n\n<div id=\"sec-03\"><\/div>\n<h2 class=\"section-header-img\" style=\"margin:32px 0 24px;border-radius:8px;overflow:hidden;background:linear-gradient(135deg,#1a1a1a 0%,#2a1015 100%);padding:32px 28px;color:#fff;position:relative;border:none;border-left:none;text-align:left;\">\n  <span class=\"section-number\" style=\"display:block;\">03<\/span>\n  <span class=\"section-label\" style=\"display:block;\">UBOUND LBOUND<\/span>\n  <span class=\"section-title\" style=\"display:block;\">UBound\u30fbLBound\u3067\u914d\u5217\u306e\u30b5\u30a4\u30ba\u3092\u53d6\u5f97\u3059\u308b<\/span>\n  <span class=\"section-desc\">\u914d\u5217\u306e\u6dfb\u5b57\u306e\u4e0a\u9650\u30fb\u4e0b\u9650\u3092\u52d5\u7684\u306b\u53d6\u5f97\u3057\u3066\u30eb\u30fc\u30d7\u30a8\u30e9\u30fc\u3092\u9632\u3050<\/span>\n<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u914d\u5217\u306e\u30b5\u30a4\u30ba\uff08\u8981\u7d20\u6570\uff09\u3092\u53d6\u5f97\u3059\u308b\u306b\u306f<strong>UBound\u95a2\u6570\uff08\u4e0a\u9650\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u8fd4\u3059\uff09\u3068LBound\u95a2\u6570\uff08\u4e0b\u9650\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u8fd4\u3059\uff09<\/strong>\u3092\u4f7f\u3044\u307e\u3059\u3002\u30cf\u30fc\u30c9\u30b3\u30fc\u30c9\u3057\u305f\u6570\u5024\u3067\u306f\u306a\u304fUBound\/LBound\u3092\u4f7f\u3046\u3053\u3068\u3067\u3001\u914d\u5217\u30b5\u30a4\u30ba\u304c\u5909\u308f\u3063\u3066\u3082\u30b3\u30fc\u30c9\u3092\u4fee\u6b63\u3059\u308b\u5fc5\u8981\u304c\u306a\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#f8f9fa;border-left:4px solid #6b7280;border-radius:0 8px 8px 0;padding:16px 20px;margin:20px 0;\">\n  <p style=\"margin:0 0 4px;font-size:13px;font-weight:700;color:#6b7280;letter-spacing:1px;\">&#128218; \u7528\u8a9e\u89e3\u8aac<\/p>\n  <p style=\"margin:0;font-size:15px;line-height:1.7;\"><strong>UBound\u30fbLBound<\/strong>\uff1aVBA\u3067\u914d\u5217\u306e\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u306e\u4e0a\u9650\uff08UBound\uff09\u3068\u4e0b\u9650\uff08LBound\uff09\u3092\u8fd4\u3059\u7d44\u307f\u8fbc\u307f\u95a2\u6570\u3002\u300cUBound(arr)\u300d\u306f\u914d\u5217arr\u306e\u6700\u5927\u6dfb\u5b57\u3092\u8fd4\u3059\u3002\u300cLBound(arr)\u300d\u306f\u6700\u5c0f\u6dfb\u5b57\uff08\u901a\u5e380\u307e\u305f\u306f1\uff09\u3092\u8fd4\u3059\u3002\u8981\u7d20\u6570\u306fUBound(arr) - LBound(arr) + 1\u3067\u8a08\u7b97\u3067\u304d\u308b\u30022\u6b21\u5143\u914d\u5217\u3067\u306f\u300cUBound(arr, 2)\u300d\u30672\u6b21\u5143\u76ee\u306e\u4e0a\u9650\u3092\u53d6\u5f97\u3067\u304d\u308b\u3002<\/p>\n<\/div>\n\n\n\n<div style=\"background:#1e1e1e;border-radius:8px;padding:20px 24px;margin:20px 0;overflow-x:auto;\">\n  <div style=\"font-size:11px;color:#888;margin-bottom:8px;text-transform:uppercase;letter-spacing:1px;\">VBA<\/div>\n  <pre style=\"margin:0;font-family:'Courier New',Consolas,monospace;font-size:14px;line-height:1.8;color:#d4d4d4;white-space:pre;\">' UBound\u3092\u4f7f\u3063\u305f\u5b89\u5168\u306a\u30eb\u30fc\u30d7\nDim scores(4) As Integer\nscores(0) = 85: scores(1) = 92: scores(2) = 78: scores(3) = 88: scores(4) = 95\n\nDim i As Integer\nFor i = LBound(scores) To UBound(scores)\n    Debug.Print scores(i)\nNext i\n\n' \u8981\u7d20\u6570\u3092\u8a08\u7b97\nDim count As Integer\ncount = UBound(scores) - LBound(scores) + 1\nMsgBox \"\u8981\u7d20\u6570: \" & count   '  5\u3068\u8868\u793a\u3055\u308c\u308b<\/pre>\n<\/div>\n\n\n\n<table>\n<thead><tr><th>\u95a2\u6570<\/th><th>\u8fd4\u3059\u5024<\/th><th>\u4f7f\u7528\u4f8b<\/th><th>\u623b\u308a\u5024\u306e\u4f8b\uff08Dim arr(4) As Integer\uff09<\/th><\/tr><\/thead>\n<tbody>\n<tr><td>UBound(arr)<\/td><td>\u914d\u5217\u306e\u6700\u5927\u6dfb\u5b57\uff08\u4e0a\u9650\uff09<\/td><td>For i = 0 To UBound(arr)<\/td><td>4<\/td><\/tr>\n<tr><td>LBound(arr)<\/td><td>\u914d\u5217\u306e\u6700\u5c0f\u6dfb\u5b57\uff08\u4e0b\u9650\uff09<\/td><td>For i = LBound(arr) To UBound(arr)<\/td><td>0<\/td><\/tr>\n<tr><td>UBound(arr) - LBound(arr) + 1<\/td><td>\u914d\u5217\u306e\u8981\u7d20\u6570<\/td><td>count = UBound(arr) - LBound(arr) + 1<\/td><td>5<\/td><\/tr>\n<tr><td>UBound(arr, 2)<\/td><td>2\u6b21\u5143\u914d\u5217\u306e2\u6b21\u5143\u76ee\u306e\u4e0a\u9650<\/td><td>2\u6b21\u5143\u914d\u5217\u306e\u307f<\/td><td>\u5217\u6570\u306e\u4e0a\u9650<\/td><\/tr>\n<\/tbody>\n<\/table>\n\n\n<div style=\"margin:48px 0 8px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap;\"><a href=\"https:\/\/aikanri.genai-ai.co.jp\/aibpo\/makase\/blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=cc-vba-array&#038;blog_slug=cc-vba-array&#038;blog_title=%E3%80%902026%E5%B9%B48%E6%9C%88%E6%9C%80%E6%96%B0%E3%80%91VBA%E3%81%AE%E9%85%8D%E5%88%97%E5%AE%8C%E5%85%A8%E3%82%AC%E3%82%A4%E3%83%89%EF%BD%9C%E5%AE%A3%E8%A8%80%E3%83%BB%E3%83%AB%E3%83%BC%E3%83%97%E3%83%BB%E3%82%B3%E3%83%94%E3%83%BC%E3%83%BB%E3%82%BD%E3%83%BC%E3%83%88%E3%83%BB%E3%83%95%E3%82%A3%E3%83%AB%E3%82%BF%E3%83%BBClaude%20Code%E6%B4%BB%E7%94%A8%E6%B3%95&#038;blog_url=https%3A%2F%2Fgenai-ai.co.jp%2Fai-kanri%2Fblog%2Fcc-vba-array%2F&#038;utm_campaign=aibpo_makase\" target=\"_blank\" rel=\"noopener\" aria-label=\"AI\u793e\u54e1AIKATA\uff08\u670830\u4e07\u5186\u3067\u696d\u52d9\u307e\u304b\u305b\u653e\u984c\uff09\u306e\u7121\u6599\u76f8\u8ac7 \u4e88\u7d04\u30da\u30fc\u30b8\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/09\/cta_blog_makase_20260904.jpg\" alt=\"AI\u793e\u54e1AIKATA\uff5c\u670830\u4e07\u5186\u306e\u5b9a\u984d\u3067\u5fa1\u793e\u306e\u696d\u52d9\u3092\u307e\u308b\u3054\u3068\u5dfb\u304d\u53d6\u308a\u307e\u3059\uff08\u7121\u6599\u76f8\u8ac760\u5206\uff09\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><a href=\"https:\/\/aikanri.genai-ai.co.jp\/koteihi-line\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=cc-vba-array&#038;blog_slug=cc-vba-array&#038;blog_title=%E3%80%902026%E5%B9%B48%E6%9C%88%E6%9C%80%E6%96%B0%E3%80%91VBA%E3%81%AE%E9%85%8D%E5%88%97%E5%AE%8C%E5%85%A8%E3%82%AC%E3%82%A4%E3%83%89%EF%BD%9C%E5%AE%A3%E8%A8%80%E3%83%BB%E3%83%AB%E3%83%BC%E3%83%97%E3%83%BB%E3%82%B3%E3%83%94%E3%83%BC%E3%83%BB%E3%82%BD%E3%83%BC%E3%83%88%E3%83%BB%E3%83%95%E3%82%A3%E3%83%AB%E3%82%BF%E3%83%BBClaude%20Code%E6%B4%BB%E7%94%A8%E6%B3%95&#038;blog_url=https%3A%2F%2Fgenai-ai.co.jp%2Fai-kanri%2Fblog%2Fcc-vba-array%2F&#038;utm_campaign=koteihi_shindan\" target=\"_blank\" rel=\"noopener\" aria-label=\"\u516c\u5f0fLINE\u306e\u56fa\u5b9a\u8cbb\u524a\u6e1b\u8a3a\u65ad\uff08\u7121\u6599\u30fb\u7d041\u5206\uff09\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/09\/cta_blog_koteihi_line.jpg\" alt=\"\u5fa1\u793e\u304c\u6e1b\u3089\u305b\u308b\u56fa\u5b9a\u8cbb\u306f\u6708\u3044\u304f\u3089\u304b\uff5c\u516c\u5f0fLINE\u3067\u8cea\u554f\u306b\u7b54\u3048\u308b\u3060\u3051\uff08\u7121\u6599\u30fb\u7d041\u5206\uff09\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><\/div>\n\n\n<div id=\"sec-04\"><\/div>\n<h2 class=\"section-header-img\" style=\"margin:32px 0 24px;border-radius:8px;overflow:hidden;background:linear-gradient(135deg,#1a1a1a 0%,#2a1015 100%);padding:32px 28px;color:#fff;position:relative;border:none;border-left:none;text-align:left;\">\n  <span class=\"section-number\" style=\"display:block;\">04<\/span>\n  <span class=\"section-label\" style=\"display:block;\">ARRAY LOOP<\/span>\n  <span class=\"section-title\" style=\"display:block;\">For\u6587\u30fbFor Each\u6587\u3067\u914d\u5217\u3092\u30eb\u30fc\u30d7\u51e6\u7406\u3059\u308b<\/span>\n  <span class=\"section-desc\">For\u30eb\u30fc\u30d7\u3068\u9ad8\u901f\u306aFor Each\u30eb\u30fc\u30d7\u306e\u4f7f\u3044\u5206\u3051\u3092\u5b9f\u4f8b\u3067\u89e3\u8aac<\/span>\n<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u914d\u5217\u306e\u5168\u8981\u7d20\u3092\u51e6\u7406\u3059\u308b\u5834\u5408\u3001<strong>For\u6587\uff08\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u4f7f\u3046\uff09\u3068For Each\u6587\uff08\u5404\u8981\u7d20\u3092\u76f4\u63a5\u53c2\u7167\uff09<\/strong>\u306e2\u3064\u306e\u30eb\u30fc\u30d7\u304c\u4f7f\u3048\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">4-1. For\u6587\uff08\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u4f7f\u3046\u30eb\u30fc\u30d7\uff09<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">For\u6587\u306f\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u5909\u6570\u3092\u4f7f\u3063\u3066\u914d\u5217\u3092\u9806\u756a\u306b\u51e6\u7406\u3057\u307e\u3059\u3002\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u306e\u5024\u3092\u4f7f\u3063\u305f\u8a08\u7b97\u304c\u5fc5\u8981\u306a\u5834\u5408\u3084\u3001\u9006\u9806\u306b\u51e6\u7406\u3057\u305f\u3044\u5834\u5408\u306b\u9069\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#1e1e1e;border-radius:8px;padding:20px 24px;margin:20px 0;overflow-x:auto;\">\n  <div style=\"font-size:11px;color:#888;margin-bottom:8px;text-transform:uppercase;letter-spacing:1px;\">VBA<\/div>\n  <pre style=\"margin:0;font-family:'Courier New',Consolas,monospace;font-size:14px;line-height:1.8;color:#d4d4d4;white-space:pre;\">' For\u6587\u3067\u914d\u5217\u3092\u9806\u756a\u306b\u51e6\u7406\nDim fruits(2) As String\nfruits(0) = \"\u308a\u3093\u3054\"\nfruits(1) = \"\u307f\u304b\u3093\"\nfruits(2) = \"\u30d0\u30ca\u30ca\"\n\nDim i As Integer\nFor i = 0 To UBound(fruits)\n    Cells(i + 1, 1).Value = fruits(i)\nNext i<\/pre>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">4-2. For Each\u6587\uff08\u8981\u7d20\u3092\u76f4\u63a5\u53c2\u7167\u3059\u308b\u30eb\u30fc\u30d7\uff09<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">For Each\u6587\u306f\u914d\u5217\u306e\u5404\u8981\u7d20\u3092\u5909\u6570\u3068\u3057\u3066\u76f4\u63a5\u53c2\u7167\u3057\u307e\u3059\u3002\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u304c\u4e0d\u8981\u3067\u30b3\u30fc\u30c9\u304c\u30b7\u30f3\u30d7\u30eb\u306b\u306a\u308a\u307e\u3059\u3002\u305f\u3060\u3057\u3001For Each\u6587\u3067\u306f\u914d\u5217\u8981\u7d20\u3078\u306e\u4ee3\u5165\u306f\u3067\u304d\u306a\u3044\uff08\u8aad\u307f\u53d6\u308a\u5c02\u7528\u306e\u53c2\u7167\u306b\u306a\u308b\uff09\u70b9\u306b\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#1e1e1e;border-radius:8px;padding:20px 24px;margin:20px 0;overflow-x:auto;\">\n  <div style=\"font-size:11px;color:#888;margin-bottom:8px;text-transform:uppercase;letter-spacing:1px;\">VBA<\/div>\n  <pre style=\"margin:0;font-family:'Courier New',Consolas,monospace;font-size:14px;line-height:1.8;color:#d4d4d4;white-space:pre;\">' For Each\u6587\u3067\u914d\u5217\u306e\u5168\u8981\u7d20\u3092\u51e6\u7406\nDim fruits(2) As String\nfruits(0) = \"\u308a\u3093\u3054\"\nfruits(1) = \"\u307f\u304b\u3093\"\nfruits(2) = \"\u30d0\u30ca\u30ca\"\n\nDim item As Variant\nDim output As String\nFor Each item In fruits\n    output = output & item & \", \"\nNext item\nMsgBox output   '  \u308a\u3093\u3054, \u307f\u304b\u3093, \u30d0\u30ca\u30ca, \u3068\u8868\u793a<\/pre>\n<\/div>\n\n\n\n<table>\n<thead><tr><th>\u30eb\u30fc\u30d7\u306e\u7a2e\u985e<\/th><th>\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u53d6\u5f97<\/th><th>\u9006\u9806\u51e6\u7406<\/th><th>\u8981\u7d20\u3078\u306e\u4ee3\u5165<\/th><th>\u5411\u3044\u3066\u3044\u308b\u30b1\u30fc\u30b9<\/th><\/tr><\/thead>\n<tbody>\n<tr><td>For i = 0 To UBound(arr)<\/td><td>\u2705 \u53ef\u80fd<\/td><td>\u2705 \u53ef\u80fd\uff08Step -1\uff09<\/td><td>\u2705 \u53ef\u80fd<\/td><td>\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u304c\u5fc5\u8981\u30fb\u9006\u9806\u51e6\u7406\u30fb\u4ee3\u5165\u304c\u5fc5\u8981<\/td><\/tr>\n<tr><td>For Each item In arr<\/td><td>\u274c \u4e0d\u8981\uff08\u53d6\u5f97\u3067\u304d\u306a\u3044\uff09<\/td><td>\u274c \u4e0d\u53ef\u80fd<\/td><td>\u274c \u4e0d\u53ef\u80fd<\/td><td>\u5168\u8981\u7d20\u3092\u8aad\u307f\u53d6\u308b\u3060\u3051\u306e\u30b7\u30f3\u30d7\u30eb\u306a\u51e6\u7406<\/td><\/tr>\n<\/tbody>\n<\/table>\n\n\n\n<div class=\"g-flow-row\" style=\"margin:24px 0;\">\n  <div class=\"g-flow-item\"><strong>\u914d\u5217\u3092\u5ba3\u8a00\u30fb\u6e96\u5099<\/strong><br><span style=\"font-size:12px;\">Dim arr(n) or<br>\u52d5\u7684\u914d\u5217+ReDim<\/span><\/div>  <div class=\"g-flow-arrow\">&#8594;<\/div>  <div class=\"g-flow-item\"><strong>\u30c7\u30fc\u30bf\u3092\u683c\u7d0d<\/strong><br><span style=\"font-size:12px;\">arr(0) = value<br>\u307e\u305f\u306f\u30bb\u30eb\u304b\u3089\u8aad\u8fbc<\/span><\/div>  <div class=\"g-flow-arrow\">&#8594;<\/div>  <div class=\"g-flow-item\"><strong>\u30eb\u30fc\u30d7\u3067\u51e6\u7406<\/strong><br><span style=\"font-size:12px;\">For i = 0 To UBound(arr)<br>\u5404\u8981\u7d20\u3092\u51e6\u7406<\/span><\/div>  <div class=\"g-flow-arrow\">&#8594;<\/div>  <div class=\"g-flow-item\"><strong>\u7d50\u679c\u3092\u66f8\u304d\u51fa\u3059<\/strong><br><span style=\"font-size:12px;\">\u30bb\u30eb\u306b\u66f8\u304d\u51fa\u3057<br>\u307e\u305f\u306f\u5225\u306e\u51e6\u7406<\/span><\/div>  <div class=\"g-flow-arrow\">&#8594;<\/div>  <div class=\"g-flow-item\"><strong>Erase\uff08\u4efb\u610f\uff09<\/strong><br><span style=\"font-size:12px;\">\u914d\u5217\u306e\u30e1\u30e2\u30ea\u89e3\u653e<br>\u5927\u304d\u306a\u914d\u5217\u306e\u5834\u5408<\/span><\/div>\n<\/div>\n\n\n\n<div class=\"balloon-wrap is-right\">\n  <div class=\"balloon-icon\">\n    <img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/04\/yamazaki-avatar.png\" alt=\"AI\u9b3c\u7ba1\u7406\u5c71\u5d0e\">\n    <span class=\"balloon-name\">AI\u9b3c\u7ba1\u7406\u5c71\u5d0e<\/span>\n  <\/div>\n  <div class=\"balloon-body\">For Each\u6587\u306fVBA\u306e\u914d\u5217\u3067\u306f\u8981\u7d20\u306e\u5909\u66f4\u304c\u3067\u304d\u306a\u3044\u70b9\u306b\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\u3002For Each\u6587\u3067\u914d\u5217\u306e\u8981\u7d20\u3092\u66f8\u304d\u63db\u3048\u3088\u3046\u3068\u3057\u3066\u3082\u3001\u5143\u306e\u914d\u5217\u306b\u306f\u53cd\u6620\u3055\u308c\u307e\u305b\u3093\u3002\u914d\u5217\u8981\u7d20\u3078\u306e\u4ee3\u5165\u304c\u5fc5\u8981\u306a\u5834\u5408\u306f\u5fc5\u305aFor\u6587\uff08\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u4f7f\u3046\u65b9\uff09\u3092\u4f7f\u3063\u3066\u304f\u3060\u3055\u3044\u3002<\/div>\n<\/div>\n\n\n<div style=\"margin:48px 0 8px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap;\"><a href=\"https:\/\/aikanri.genai-ai.co.jp\/aibpo\/makase\/blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=cc-vba-array&#038;blog_slug=cc-vba-array&#038;blog_title=%E3%80%902026%E5%B9%B48%E6%9C%88%E6%9C%80%E6%96%B0%E3%80%91VBA%E3%81%AE%E9%85%8D%E5%88%97%E5%AE%8C%E5%85%A8%E3%82%AC%E3%82%A4%E3%83%89%EF%BD%9C%E5%AE%A3%E8%A8%80%E3%83%BB%E3%83%AB%E3%83%BC%E3%83%97%E3%83%BB%E3%82%B3%E3%83%94%E3%83%BC%E3%83%BB%E3%82%BD%E3%83%BC%E3%83%88%E3%83%BB%E3%83%95%E3%82%A3%E3%83%AB%E3%82%BF%E3%83%BBClaude%20Code%E6%B4%BB%E7%94%A8%E6%B3%95&#038;blog_url=https%3A%2F%2Fgenai-ai.co.jp%2Fai-kanri%2Fblog%2Fcc-vba-array%2F&#038;utm_campaign=aibpo_makase\" target=\"_blank\" rel=\"noopener\" aria-label=\"AI\u793e\u54e1AIKATA\uff08\u670830\u4e07\u5186\u3067\u696d\u52d9\u307e\u304b\u305b\u653e\u984c\uff09\u306e\u7121\u6599\u76f8\u8ac7 \u4e88\u7d04\u30da\u30fc\u30b8\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/09\/cta_blog_makase_20260904.jpg\" alt=\"AI\u793e\u54e1AIKATA\uff5c\u670830\u4e07\u5186\u306e\u5b9a\u984d\u3067\u5fa1\u793e\u306e\u696d\u52d9\u3092\u307e\u308b\u3054\u3068\u5dfb\u304d\u53d6\u308a\u307e\u3059\uff08\u7121\u6599\u76f8\u8ac760\u5206\uff09\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><a href=\"https:\/\/aikanri.genai-ai.co.jp\/koteihi-line\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=cc-vba-array&#038;blog_slug=cc-vba-array&#038;blog_title=%E3%80%902026%E5%B9%B48%E6%9C%88%E6%9C%80%E6%96%B0%E3%80%91VBA%E3%81%AE%E9%85%8D%E5%88%97%E5%AE%8C%E5%85%A8%E3%82%AC%E3%82%A4%E3%83%89%EF%BD%9C%E5%AE%A3%E8%A8%80%E3%83%BB%E3%83%AB%E3%83%BC%E3%83%97%E3%83%BB%E3%82%B3%E3%83%94%E3%83%BC%E3%83%BB%E3%82%BD%E3%83%BC%E3%83%88%E3%83%BB%E3%83%95%E3%82%A3%E3%83%AB%E3%82%BF%E3%83%BBClaude%20Code%E6%B4%BB%E7%94%A8%E6%B3%95&#038;blog_url=https%3A%2F%2Fgenai-ai.co.jp%2Fai-kanri%2Fblog%2Fcc-vba-array%2F&#038;utm_campaign=koteihi_shindan\" target=\"_blank\" rel=\"noopener\" aria-label=\"\u516c\u5f0fLINE\u306e\u56fa\u5b9a\u8cbb\u524a\u6e1b\u8a3a\u65ad\uff08\u7121\u6599\u30fb\u7d041\u5206\uff09\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/09\/cta_blog_koteihi_line.jpg\" alt=\"\u5fa1\u793e\u304c\u6e1b\u3089\u305b\u308b\u56fa\u5b9a\u8cbb\u306f\u6708\u3044\u304f\u3089\u304b\uff5c\u516c\u5f0fLINE\u3067\u8cea\u554f\u306b\u7b54\u3048\u308b\u3060\u3051\uff08\u7121\u6599\u30fb\u7d041\u5206\uff09\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><\/div>\n\n\n<div id=\"sec-05\"><\/div>\n<h2 class=\"section-header-img\" style=\"margin:32px 0 24px;border-radius:8px;overflow:hidden;background:linear-gradient(135deg,#1a1a1a 0%,#2a1015 100%);padding:32px 28px;color:#fff;position:relative;border:none;border-left:none;text-align:left;\">\n  <span class=\"section-number\" style=\"display:block;\">05<\/span>\n  <span class=\"section-label\" style=\"display:block;\">ARRAY CELLS<\/span>\n  <span class=\"section-title\" style=\"display:block;\">\u30bb\u30eb\u306e\u5024\u3092\u914d\u5217\u306b\u8aad\u307f\u8fbc\u3080\u30fb\u914d\u5217\u3092\u30bb\u30eb\u306b\u66f8\u304d\u51fa\u3059<\/span>\n  <span class=\"section-desc\">\u5927\u91cf\u30c7\u30fc\u30bf\u51e6\u7406\u3092\u9ad8\u901f\u5316\u3059\u308b\u914d\u5217\u21d4\u30bb\u30eb\u5909\u63db\u306e\u5b9f\u8df5\u30c6\u30af\u30cb\u30c3\u30af<\/span>\n<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">VBA\u914d\u5217\u306e\u6700\u3082\u91cd\u8981\u306a\u6d3b\u7528\u65b9\u6cd5\u304c<strong>\u30bb\u30eb\u306e\u5024\u3092\u4e00\u62ec\u3067\u914d\u5217\u306b\u8aad\u307f\u8fbc\u3093\u3067\u51e6\u7406\u3057\u3001\u7d50\u679c\u3092\u4e00\u62ec\u3067\u30bb\u30eb\u306b\u66f8\u304d\u51fa\u3059<\/strong>\u30c6\u30af\u30cb\u30c3\u30af\u3067\u3059\u3002\u3053\u306e\u30d1\u30bf\u30fc\u30f3\u3067\u5927\u91cf\u30c7\u30fc\u30bf\u51e6\u7406\u304c\u5287\u7684\u306b\u901f\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#f8f9fa;border-left:4px solid #6b7280;border-radius:0 8px 8px 0;padding:16px 20px;margin:20px 0;\">\n  <p style=\"margin:0 0 4px;font-size:13px;font-weight:700;color:#6b7280;letter-spacing:1px;\">&#128218; \u7528\u8a9e\u89e3\u8aac<\/p>\n  <p style=\"margin:0;font-size:15px;line-height:1.7;\"><strong>\u914d\u5217\u306e\u4e00\u62ec\u8aad\u307f\u8fbc\u307f\u30fb\u66f8\u304d\u51fa\u3057<\/strong>\uff1aVBA\u3067Range\uff08\u30bb\u30eb\u7bc4\u56f2\uff09\u3092Variant\u578b\u306e\u5909\u6570\u306b\u4ee3\u5165\u3059\u308b\u3068\u3001\u305d\u306e\u7bc4\u56f2\u306e\u30c7\u30fc\u30bf\u304c2\u6b21\u5143\u914d\u5217\u3068\u3057\u3066\u683c\u7d0d\u3055\u308c\u308b\u3002\u9006\u306b\u3001\u540c\u3058\u30b5\u30a4\u30ba\u306eRange\u5909\u6570\u306b\u914d\u5217\u3092\u4ee3\u5165\u3059\u308b\u3053\u3068\u3067\u3001\u5168\u30c7\u30fc\u30bf\u3092\u4e00\u62ec\u3067\u30bb\u30eb\u306b\u66f8\u304d\u51fa\u305b\u308b\u3002\u500b\u5225\u306eCells(i,j)\u30a2\u30af\u30bb\u30b9\u3092\u7e70\u308a\u8fd4\u3059\u3088\u308a\u4f55\u5341\u301c\u4f55\u767e\u500d\u3082\u306e\u901f\u5ea6\u5dee\u304c\u51fa\u308b\u3053\u3068\u304c\u3042\u308b\u3002\u5927\u91cf\u30c7\u30fc\u30bf\u51e6\u7406\u306e\u5fc5\u9808\u30c6\u30af\u30cb\u30c3\u30af\u3002<\/p>\n<\/div>\n\n\n\n<div style=\"background:#1e1e1e;border-radius:8px;padding:20px 24px;margin:20px 0;overflow-x:auto;\">\n  <div style=\"font-size:11px;color:#888;margin-bottom:8px;text-transform:uppercase;letter-spacing:1px;\">VBA<\/div>\n  <pre style=\"margin:0;font-family:'Courier New',Consolas,monospace;font-size:14px;line-height:1.8;color:#d4d4d4;white-space:pre;\">' \u30bb\u30eb\u7bc4\u56f2\u3092\u914d\u5217\u306b\u4e00\u62ec\u8aad\u307f\u8fbc\u307f\nDim dataArr As Variant\n' A1:D1000\u306e\u7bc4\u56f2\u3092\u4e00\u62ec\u8aad\u307f\u8fbc\u307f\uff082\u6b21\u5143\u914d\u5217\u306b\u306a\u308b\uff09\ndataArr = Range(\"A1:D1000\").Value\n\n' \u914d\u5217\u306e\u8981\u7d20\u6570\u3092\u78ba\u8a8d\nDim rowCount As Long\nDim colCount As Long\nrowCount = UBound(dataArr, 1)   ' \u884c\u6570\uff081\u6b21\u5143\u76ee\u306e\u4e0a\u9650\uff09\ncolCount = UBound(dataArr, 2)   ' \u5217\u6570\uff082\u6b21\u5143\u76ee\u306e\u4e0a\u9650\uff09\n\n' \u914d\u5217\u3092\u30e1\u30e2\u30ea\u5185\u3067\u51e6\u7406\uff08\u30bb\u30eb\u30a2\u30af\u30bb\u30b9\u306a\u3057\uff1d\u9ad8\u901f\uff09\nDim i As Long\nFor i = 1 To rowCount\n    If dataArr(i, 3) < 100 Then   ' 3\u5217\u76ee\u304c100\u672a\u6e80\u306e\u5834\u5408\n        dataArr(i, 4) = \"\u8981\u78ba\u8a8d\"  ' 4\u5217\u76ee\u306b\u30d5\u30e9\u30b0\u3092\u7acb\u3066\u308b\n    End If\nNext i\n\n' \u51e6\u7406\u6e08\u307f\u914d\u5217\u3092\u30bb\u30eb\u306b\u4e00\u62ec\u66f8\u304d\u51fa\u3057\nRange(\"A1:D1000\").Value = dataArr\n\nMsgBox \"\u51e6\u7406\u5b8c\u4e86\"<\/pre>\n<\/div>\n\n\n\n<table>\n<thead><tr><th>\u51e6\u7406\u65b9\u6cd5<\/th><th>1\u4e07\u884c\u51e6\u7406\u306e\u901f\u5ea6<\/th><th>\u7279\u5fb4<\/th><\/tr><\/thead>\n<tbody>\n<tr><td>\u30bb\u30eb\u30921\u884c\u305a\u3064\u51e6\u7406\uff08Cells(i,j)\uff09<\/td><td>\u9045\u3044\uff08\u6570\u5341\u79d2\u301c\u6570\u5206\uff09<\/td><td>\u30b7\u30f3\u30d7\u30eb\u3060\u304c\u3001\u5927\u91cf\u30c7\u30fc\u30bf\u306b\u306f\u5411\u304b\u306a\u3044<\/td><\/tr>\n<tr><td>\u914d\u5217\u306b\u4e00\u62ec\u8aad\u307f\u8fbc\u307f\u2192\u51e6\u7406\u2192\u4e00\u62ec\u66f8\u304d\u51fa\u3057<\/td><td>\u901f\u3044\uff08\u6570\u79d2\u4ee5\u5185\uff09<\/td><td>\u884c\u6570\u304c\u591a\u3044\u307b\u3069\u901f\u5ea6\u5dee\u304c\u5927\u304d\u304f\u306a\u308b<\/td><\/tr>\n<\/tbody>\n<\/table>\n\n\n\n<div class=\"balloon-wrap\">\n  <div class=\"balloon-icon\">\n    <img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/04\/ceo-sugasawa.jpg\" alt=\"\u4ee3\u8868\u83c5\u6fa4\">\n    <span class=\"balloon-name\">\u4ee3\u8868\u83c5\u6fa4<\/span>\n  <\/div>\n  <div class=\"balloon-body\">\u914d\u5217\u3078\u306e\u4e00\u62ec\u8aad\u307f\u8fbc\u307f\u306f\u3001Excel\u306e\u30bb\u30eb\u30a2\u30af\u30bb\u30b9\u304c\u30dc\u30c8\u30eb\u30cd\u30c3\u30af\u306b\u306a\u3063\u3066\u3044\u308b\u30de\u30af\u30ed\u306e\u7279\u52b9\u85ac\u3067\u3059\u3002\u300c5\u4e07\u884c\u306e\u30c7\u30fc\u30bf\u51e6\u7406\u306b20\u5206\u304b\u304b\u3063\u3066\u3044\u305f\u30de\u30af\u30ed\u304c\u3001\u914d\u5217\u306b\u5207\u308a\u66ff\u3048\u305f\u308915\u79d2\u306b\u306a\u3063\u305f\u300d\u3068\u3044\u3046\u4e8b\u4f8b\u3092\u5b9f\u969b\u306b\u7d4c\u9a13\u3057\u3066\u3044\u307e\u3059\u3002\u5927\u91cf\u30c7\u30fc\u30bf\u3092\u6271\u3046\u30de\u30af\u30ed\u306f\u5fc5\u305a\u3053\u306e\u30d1\u30bf\u30fc\u30f3\u3092\u691c\u8a0e\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/div>\n<\/div>\n\n\n<div style=\"margin:48px 0 8px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap;\"><a href=\"https:\/\/aikanri.genai-ai.co.jp\/aibpo\/makase\/blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=cc-vba-array&#038;blog_slug=cc-vba-array&#038;blog_title=%E3%80%902026%E5%B9%B48%E6%9C%88%E6%9C%80%E6%96%B0%E3%80%91VBA%E3%81%AE%E9%85%8D%E5%88%97%E5%AE%8C%E5%85%A8%E3%82%AC%E3%82%A4%E3%83%89%EF%BD%9C%E5%AE%A3%E8%A8%80%E3%83%BB%E3%83%AB%E3%83%BC%E3%83%97%E3%83%BB%E3%82%B3%E3%83%94%E3%83%BC%E3%83%BB%E3%82%BD%E3%83%BC%E3%83%88%E3%83%BB%E3%83%95%E3%82%A3%E3%83%AB%E3%82%BF%E3%83%BBClaude%20Code%E6%B4%BB%E7%94%A8%E6%B3%95&#038;blog_url=https%3A%2F%2Fgenai-ai.co.jp%2Fai-kanri%2Fblog%2Fcc-vba-array%2F&#038;utm_campaign=aibpo_makase\" target=\"_blank\" rel=\"noopener\" aria-label=\"AI\u793e\u54e1AIKATA\uff08\u670830\u4e07\u5186\u3067\u696d\u52d9\u307e\u304b\u305b\u653e\u984c\uff09\u306e\u7121\u6599\u76f8\u8ac7 \u4e88\u7d04\u30da\u30fc\u30b8\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/09\/cta_blog_makase_20260904.jpg\" alt=\"AI\u793e\u54e1AIKATA\uff5c\u670830\u4e07\u5186\u306e\u5b9a\u984d\u3067\u5fa1\u793e\u306e\u696d\u52d9\u3092\u307e\u308b\u3054\u3068\u5dfb\u304d\u53d6\u308a\u307e\u3059\uff08\u7121\u6599\u76f8\u8ac760\u5206\uff09\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><a href=\"https:\/\/aikanri.genai-ai.co.jp\/koteihi-line\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=cc-vba-array&#038;blog_slug=cc-vba-array&#038;blog_title=%E3%80%902026%E5%B9%B48%E6%9C%88%E6%9C%80%E6%96%B0%E3%80%91VBA%E3%81%AE%E9%85%8D%E5%88%97%E5%AE%8C%E5%85%A8%E3%82%AC%E3%82%A4%E3%83%89%EF%BD%9C%E5%AE%A3%E8%A8%80%E3%83%BB%E3%83%AB%E3%83%BC%E3%83%97%E3%83%BB%E3%82%B3%E3%83%94%E3%83%BC%E3%83%BB%E3%82%BD%E3%83%BC%E3%83%88%E3%83%BB%E3%83%95%E3%82%A3%E3%83%AB%E3%82%BF%E3%83%BBClaude%20Code%E6%B4%BB%E7%94%A8%E6%B3%95&#038;blog_url=https%3A%2F%2Fgenai-ai.co.jp%2Fai-kanri%2Fblog%2Fcc-vba-array%2F&#038;utm_campaign=koteihi_shindan\" target=\"_blank\" rel=\"noopener\" aria-label=\"\u516c\u5f0fLINE\u306e\u56fa\u5b9a\u8cbb\u524a\u6e1b\u8a3a\u65ad\uff08\u7121\u6599\u30fb\u7d041\u5206\uff09\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/09\/cta_blog_koteihi_line.jpg\" alt=\"\u5fa1\u793e\u304c\u6e1b\u3089\u305b\u308b\u56fa\u5b9a\u8cbb\u306f\u6708\u3044\u304f\u3089\u304b\uff5c\u516c\u5f0fLINE\u3067\u8cea\u554f\u306b\u7b54\u3048\u308b\u3060\u3051\uff08\u7121\u6599\u30fb\u7d041\u5206\uff09\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><\/div>\n\n\n<div id=\"sec-06\"><\/div>\n<h2 class=\"section-header-img\" style=\"margin:32px 0 24px;border-radius:8px;overflow:hidden;background:linear-gradient(135deg,#1a1a1a 0%,#2a1015 100%);padding:32px 28px;color:#fff;position:relative;border:none;border-left:none;text-align:left;\">\n  <span class=\"section-number\" style=\"display:block;\">06<\/span>\n  <span class=\"section-label\" style=\"display:block;\">ARRAY OPS<\/span>\n  <span class=\"section-title\" style=\"display:block;\">\u914d\u5217\u306e\u30b3\u30d4\u30fc\u30fb\u30bd\u30fc\u30c8\u30fbFilter\u95a2\u6570\u3067\u306e\u691c\u7d22<\/span>\n  <span class=\"section-desc\">\u914d\u5217\u3092\u64cd\u4f5c\u3059\u308b3\u3064\u306e\u91cd\u8981\u306a\u6a5f\u80fd\u3092\u5b9f\u4f8b\u4ed8\u304d\u3067\u89e3\u8aac<\/span>\n<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">6-1. \u914d\u5217\u306e\u30b3\u30d4\u30fc<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">VBA\u3067\u914d\u5217\u3092\u30b3\u30d4\u30fc\u3059\u308b\u306b\u306f<strong>Variant\u578b\u5909\u6570\u306b\u4ee3\u5165\u3059\u308b\u65b9\u6cd5<\/strong>\u304c\u6700\u3082\u30b7\u30f3\u30d7\u30eb\u3067\u3059\u3002\u901a\u5e38\u306e\u578b\u306e\u914d\u5217\u306e\u5834\u5408\u306f\u3001\u4ee3\u5165\u3059\u308b\u3060\u3051\u3067\u306f\u30b3\u30d4\u30fc\u306b\u306a\u3089\u306a\u3044\u70b9\u306b\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#1e1e1e;border-radius:8px;padding:20px 24px;margin:20px 0;overflow-x:auto;\">\n  <div style=\"font-size:11px;color:#888;margin-bottom:8px;text-transform:uppercase;letter-spacing:1px;\">VBA<\/div>\n  <pre style=\"margin:0;font-family:'Courier New',Consolas,monospace;font-size:14px;line-height:1.8;color:#d4d4d4;white-space:pre;\">' Variant\u578b\u3092\u4f7f\u3063\u305f\u914d\u5217\u30b3\u30d4\u30fc\nDim original As Variant\noriginal = Array(10, 20, 30, 40, 50)\n\n' Variant\u578b\u5909\u6570\u306b\u4ee3\u5165\u3057\u3066\u30b3\u30d4\u30fc\nDim copied As Variant\ncopied = original\n\n' \u30b3\u30d4\u30fc\u3092\u5909\u66f4\u3057\u3066\u3082\u5143\u306e\u914d\u5217\u306b\u306f\u5f71\u97ff\u3057\u306a\u3044\ncopied(0) = 999\nMsgBox \"\u5143\u306e\u914d\u5217(0): \" & original(0)  '  10\u3068\u8868\u793a\uff08\u5909\u66f4\u3055\u308c\u3066\u3044\u306a\u3044\uff09\nMsgBox \"\u30b3\u30d4\u30fc\u914d\u5217(0): \" & copied(0)   '  999\u3068\u8868\u793a<\/pre>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">6-2. Filter\u95a2\u6570\u3067\u914d\u5217\u3092\u7d5e\u308a\u8fbc\u3080<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Filter\u95a2\u6570\u306f<strong>\u6587\u5b57\u5217\u578b\u306e\u914d\u5217\u306b\u5bfe\u3057\u3066\u30d1\u30bf\u30fc\u30f3\u30de\u30c3\u30c1\u30f3\u30b0\u3092\u884c\u3044\u3001\u4e00\u81f4\u3059\u308b\u8981\u7d20\u3060\u3051\u3092\u542b\u3080\u65b0\u3057\u3044\u914d\u5217\u3092\u8fd4\u3059<\/strong>\u95a2\u6570\u3067\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#1e1e1e;border-radius:8px;padding:20px 24px;margin:20px 0;overflow-x:auto;\">\n  <div style=\"font-size:11px;color:#888;margin-bottom:8px;text-transform:uppercase;letter-spacing:1px;\">VBA<\/div>\n  <pre style=\"margin:0;font-family:'Courier New',Consolas,monospace;font-size:14px;line-height:1.8;color:#d4d4d4;white-space:pre;\">' Filter\u95a2\u6570\u3067\u914d\u5217\u3092\u7d5e\u308a\u8fbc\u3080\nDim names As Variant\nnames = Array(\"\u5c71\u7530\u592a\u90ce\", \"\u9234\u6728\u82b1\u5b50\", \"\u5c71\u7530\u82b1\", \"\u7530\u4e2d\u4e00\u90ce\", \"\u5c71\u672c\u6b21\u90ce\")\n\n' \u300c\u5c71\u7530\u300d\u3092\u542b\u3080\u540d\u524d\u3060\u3051\u62bd\u51fa\nDim filtered As Variant\nfiltered = Filter(names, \"\u5c71\u7530\")\n\n' \u7d50\u679c\u3092\u8868\u793a\nDim i As Integer\nFor i = 0 To UBound(filtered)\n    Debug.Print filtered(i)\nNext i\n' \u51fa\u529b: \u5c71\u7530\u592a\u90ce\u3001\u5c71\u7530\u82b1<\/pre>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">6-3. Join\u30fbSplit\u95a2\u6570\u3067\u914d\u5217\u3068\u6587\u5b57\u5217\u3092\u5909\u63db\u3059\u308b<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Join\u95a2\u6570\u306f\u914d\u5217\u306e\u5168\u8981\u7d20\u3092\u6307\u5b9a\u3057\u305f\u533a\u5207\u308a\u6587\u5b57\u3067\u7d50\u5408\u3057\u305f\u6587\u5b57\u5217\u3092\u8fd4\u3057\u307e\u3059\u3002Split\u95a2\u6570\u306f\u9006\u306b\u533a\u5207\u308a\u6587\u5b57\u3067\u5206\u5272\u3057\u305f\u6587\u5b57\u5217\u3092\u914d\u5217\u306b\u5909\u63db\u3057\u307e\u3059\u3002CSV\u30c7\u30fc\u30bf\u306e\u51e6\u7406\u3084\u3001\u8907\u6570\u306e\u5024\u3092\u307e\u3068\u3081\u3066\u51e6\u7406\u3057\u305f\u3044\u5834\u5408\u306b\u4fbf\u5229\u3067\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#1e1e1e;border-radius:8px;padding:20px 24px;margin:20px 0;overflow-x:auto;\">\n  <div style=\"font-size:11px;color:#888;margin-bottom:8px;text-transform:uppercase;letter-spacing:1px;\">VBA<\/div>\n  <pre style=\"margin:0;font-family:'Courier New',Consolas,monospace;font-size:14px;line-height:1.8;color:#d4d4d4;white-space:pre;\">' Join: \u914d\u5217 \u2192 \u533a\u5207\u308a\u6587\u5b57\u4ed8\u304d\u6587\u5b57\u5217\nDim fruits As Variant\nfruits = Array(\"\u308a\u3093\u3054\", \"\u307f\u304b\u3093\", \"\u30d0\u30ca\u30ca\")\nDim joined As String\njoined = Join(fruits, \", \")\nMsgBox joined   '  \u308a\u3093\u3054, \u307f\u304b\u3093, \u30d0\u30ca\u30ca \u3068\u8868\u793a\n\n' Split: \u533a\u5207\u308a\u6587\u5b57\u4ed8\u304d\u6587\u5b57\u5217 \u2192 \u914d\u5217\nDim csv As String\ncsv = \"\u6771\u4eac,\u5927\u962a,\u540d\u53e4\u5c4b,\u798f\u5ca1\"\nDim cities As Variant\ncities = Split(csv, \",\")\nMsgBox cities(0)   '  \u6771\u4eac \u3068\u8868\u793a\nMsgBox UBound(cities)   '  3\u3068\u8868\u793a\uff080\u301c3\u306e4\u8981\u7d20\uff09<\/pre>\n<\/div>\n\n\n<div style=\"margin:48px 0 8px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap;\"><a href=\"https:\/\/aikanri.genai-ai.co.jp\/aibpo\/makase\/blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=cc-vba-array&#038;blog_slug=cc-vba-array&#038;blog_title=%E3%80%902026%E5%B9%B48%E6%9C%88%E6%9C%80%E6%96%B0%E3%80%91VBA%E3%81%AE%E9%85%8D%E5%88%97%E5%AE%8C%E5%85%A8%E3%82%AC%E3%82%A4%E3%83%89%EF%BD%9C%E5%AE%A3%E8%A8%80%E3%83%BB%E3%83%AB%E3%83%BC%E3%83%97%E3%83%BB%E3%82%B3%E3%83%94%E3%83%BC%E3%83%BB%E3%82%BD%E3%83%BC%E3%83%88%E3%83%BB%E3%83%95%E3%82%A3%E3%83%AB%E3%82%BF%E3%83%BBClaude%20Code%E6%B4%BB%E7%94%A8%E6%B3%95&#038;blog_url=https%3A%2F%2Fgenai-ai.co.jp%2Fai-kanri%2Fblog%2Fcc-vba-array%2F&#038;utm_campaign=aibpo_makase\" target=\"_blank\" rel=\"noopener\" aria-label=\"AI\u793e\u54e1AIKATA\uff08\u670830\u4e07\u5186\u3067\u696d\u52d9\u307e\u304b\u305b\u653e\u984c\uff09\u306e\u7121\u6599\u76f8\u8ac7 \u4e88\u7d04\u30da\u30fc\u30b8\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/09\/cta_blog_makase_20260904.jpg\" alt=\"AI\u793e\u54e1AIKATA\uff5c\u670830\u4e07\u5186\u306e\u5b9a\u984d\u3067\u5fa1\u793e\u306e\u696d\u52d9\u3092\u307e\u308b\u3054\u3068\u5dfb\u304d\u53d6\u308a\u307e\u3059\uff08\u7121\u6599\u76f8\u8ac760\u5206\uff09\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><a href=\"https:\/\/aikanri.genai-ai.co.jp\/koteihi-line\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=cc-vba-array&#038;blog_slug=cc-vba-array&#038;blog_title=%E3%80%902026%E5%B9%B48%E6%9C%88%E6%9C%80%E6%96%B0%E3%80%91VBA%E3%81%AE%E9%85%8D%E5%88%97%E5%AE%8C%E5%85%A8%E3%82%AC%E3%82%A4%E3%83%89%EF%BD%9C%E5%AE%A3%E8%A8%80%E3%83%BB%E3%83%AB%E3%83%BC%E3%83%97%E3%83%BB%E3%82%B3%E3%83%94%E3%83%BC%E3%83%BB%E3%82%BD%E3%83%BC%E3%83%88%E3%83%BB%E3%83%95%E3%82%A3%E3%83%AB%E3%82%BF%E3%83%BBClaude%20Code%E6%B4%BB%E7%94%A8%E6%B3%95&#038;blog_url=https%3A%2F%2Fgenai-ai.co.jp%2Fai-kanri%2Fblog%2Fcc-vba-array%2F&#038;utm_campaign=koteihi_shindan\" target=\"_blank\" rel=\"noopener\" aria-label=\"\u516c\u5f0fLINE\u306e\u56fa\u5b9a\u8cbb\u524a\u6e1b\u8a3a\u65ad\uff08\u7121\u6599\u30fb\u7d041\u5206\uff09\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/09\/cta_blog_koteihi_line.jpg\" alt=\"\u5fa1\u793e\u304c\u6e1b\u3089\u305b\u308b\u56fa\u5b9a\u8cbb\u306f\u6708\u3044\u304f\u3089\u304b\uff5c\u516c\u5f0fLINE\u3067\u8cea\u554f\u306b\u7b54\u3048\u308b\u3060\u3051\uff08\u7121\u6599\u30fb\u7d041\u5206\uff09\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><\/div>\n\n\n<div id=\"sec-07\"><\/div>\n<h2 class=\"section-header-img\" style=\"margin:32px 0 24px;border-radius:8px;overflow:hidden;background:linear-gradient(135deg,#1a1a1a 0%,#2a1015 100%);padding:32px 28px;color:#fff;position:relative;border:none;border-left:none;text-align:left;\">\n  <span class=\"section-number\" style=\"display:block;\">07<\/span>\n  <span class=\"section-label\" style=\"display:block;\">2D ARRAY<\/span>\n  <span class=\"section-title\" style=\"display:block;\">2\u6b21\u5143\u914d\u5217\u30fb\u591a\u6b21\u5143\u914d\u5217\u306e\u4f7f\u3044\u65b9<\/span>\n  <span class=\"section-desc\">\u30b7\u30fc\u30c8\u306e\u30c7\u30fc\u30bf\u3092\u884c\u00d7\u5217\u306e2\u6b21\u5143\u914d\u5217\u3068\u3057\u3066\u6271\u3046\u5b9f\u8df5\u7684\u306a\u65b9\u6cd5<\/span>\n<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">VBA\u306e\u914d\u5217\u306f<strong>2\u6b21\u5143\u30fb3\u6b21\u5143\u306a\u3069\u591a\u6b21\u5143\u306e\u914d\u5217<\/strong>\u3092\u6271\u3048\u307e\u3059\u3002\u7279\u306b\u300c2\u6b21\u5143\u914d\u5217\uff08\u884c\u00d7\u5217\uff09\u300d\u306fExcel\u30b7\u30fc\u30c8\u306e\u30c7\u30fc\u30bf\u69cb\u9020\u3068\u5bfe\u5fdc\u3057\u3066\u304a\u308a\u3001\u30b7\u30fc\u30c8\u30c7\u30fc\u30bf\u3092\u914d\u5217\u306b\u8aad\u307f\u8fbc\u3093\u3067\u51e6\u7406\u3059\u308b\u969b\u306b\u81ea\u7136\u306b\u4f7f\u308f\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#f8f9fa;border-left:4px solid #6b7280;border-radius:0 8px 8px 0;padding:16px 20px;margin:20px 0;\">\n  <p style=\"margin:0 0 4px;font-size:13px;font-weight:700;color:#6b7280;letter-spacing:1px;\">&#128218; \u7528\u8a9e\u89e3\u8aac<\/p>\n  <p style=\"margin:0;font-size:15px;line-height:1.7;\"><strong>2\u6b21\u5143\u914d\u5217<\/strong>\uff1aVBA\u3067\u884c\u3068\u5217\u306e2\u65b9\u5411\u306b\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u6301\u3064\u914d\u5217\u3002\u300cDim arr(9, 3) As Integer\u300d\u3068\u66f8\u304f\u306810\u884c\u00d74\u5217\u306e\u914d\u5217\u304c\u4f5c\u3089\u308c\u308b\u3002Excel\u306e\u30bb\u30eb\u7bc4\u56f2\u3092Variant\u578b\u5909\u6570\u306b\u4ee3\u5165\u3057\u305f\u5834\u5408\u30822\u6b21\u5143\u914d\u5217\u306b\u306a\u308b\uff081\u6b21\u5143\u76ee\u304c\u884c\u30012\u6b21\u5143\u76ee\u304c\u5217\u306b\u5bfe\u5fdc\uff09\u30022\u6b21\u5143\u914d\u5217\u306e\u8981\u7d20\u306f\u300carr(\u884c\u30a4\u30f3\u30c7\u30c3\u30af\u30b9, \u5217\u30a4\u30f3\u30c7\u30c3\u30af\u30b9)\u300d\u3067\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3002<\/p>\n<\/div>\n\n\n\n<div style=\"background:#1e1e1e;border-radius:8px;padding:20px 24px;margin:20px 0;overflow-x:auto;\">\n  <div style=\"font-size:11px;color:#888;margin-bottom:8px;text-transform:uppercase;letter-spacing:1px;\">VBA<\/div>\n  <pre style=\"margin:0;font-family:'Courier New',Consolas,monospace;font-size:14px;line-height:1.8;color:#d4d4d4;white-space:pre;\">' 2\u6b21\u5143\u914d\u5217\u306e\u5ba3\u8a00\u3068\u521d\u671f\u5316\nDim matrix(2, 2) As Integer   ' 3\u884c\u00d73\u5217\u306e2\u6b21\u5143\u914d\u5217\n\n' \u5024\u3092\u4ee3\u5165\uff08\u884c, \u5217\uff09\nmatrix(0, 0) = 1\nmatrix(0, 1) = 2\nmatrix(0, 2) = 3\nmatrix(1, 0) = 4\nmatrix(1, 1) = 5\nmatrix(1, 2) = 6\nmatrix(2, 0) = 7\nmatrix(2, 1) = 8\nmatrix(2, 2) = 9\n\n' 2\u91cd\u30eb\u30fc\u30d7\u3067\u5168\u8981\u7d20\u3092\u51e6\u7406\nDim r As Integer, c As Integer\nFor r = 0 To 2\n    For c = 0 To 2\n        Cells(r + 1, c + 1).Value = matrix(r, c)\n    Next c\nNext r<\/pre>\n<\/div>\n\n\n\n<div style=\"background:#f0fdf4;border:1px solid #22c55e;border-radius:8px;padding:20px 24px;margin:24px 0;\">\n  <div style=\"display:flex;align-items:center;gap:8px;margin-bottom:12px;\"><span style=\"font-size:18px;\">&#128161;<\/span><strong style=\"color:#16a34a;font-size:15px;\">\u30bb\u30eb\u7bc4\u56f2\u3092\u914d\u5217\u306b\u8aad\u307f\u8fbc\u3080\u3068\u81ea\u52d5\u7684\u306b2\u6b21\u5143\u914d\u5217<\/strong><\/div>\n  <p style=\"margin:0;font-size:15px;line-height:1.8;color:#333;\">Range(\u300cA1:D100\u300d).Value\u3092variant\u578b\u5909\u6570\u306b\u4ee3\u5165\u3059\u308b\u3068\u3001\u884c\u00d7\u5217\u306e2\u6b21\u5143\u914d\u5217\u3068\u3057\u3066\u683c\u7d0d\u3055\u308c\u307e\u3059\u3002\u3053\u306e\u6642\u30011\u6b21\u5143\u76ee\uff08arr(i, ?)\uff09\u304c\u884c\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u30012\u6b21\u5143\u76ee\uff08arr(?, j)\uff09\u304c\u5217\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u306b\u306a\u308a\u307e\u3059\u3002\u307e\u305f\u3001\u30bb\u30eb\u7bc4\u56f2\u304b\u3089\u8aad\u307f\u8fbc\u3093\u3060\u914d\u5217\u306f\u6dfb\u5b57\u304c\u300c1\u59cb\u307e\u308a\u300d\u306b\u306a\u308b\uff080\u3067\u306f\u306a\u304f1\u304b\u3089\uff09\u70b9\u306b\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<\/div>\n\n\n\n<div class=\"g-flow-row\" style=\"margin:24px 0;\">\n  <div class=\"g-flow-item\"><strong>\u30bb\u30eb\u7bc4\u56f2\u3092\u6307\u5b9a<\/strong><br><span style=\"font-size:12px;\">Range(\"A1:D1000\")<br>\u51e6\u7406\u5bfe\u8c61\u3092\u6c7a\u3081\u308b<\/span><\/div>  <div class=\"g-flow-arrow\">&#8594;<\/div>  <div class=\"g-flow-item\"><strong>\u914d\u5217\u306b\u4e00\u62ec\u8aad\u8fbc<\/strong><br><span style=\"font-size:12px;\">Dim arr As Variant<br>arr = Range.Value<\/span><\/div>  <div class=\"g-flow-arrow\">&#8594;<\/div>  <div class=\"g-flow-item\"><strong>2\u91cd\u30eb\u30fc\u30d7\u3067\u51e6\u7406<\/strong><br><span style=\"font-size:12px;\">For r, For c<br>\u30e1\u30e2\u30ea\u5185\u3067\u9ad8\u901f\u51e6\u7406<\/span><\/div>  <div class=\"g-flow-arrow\">&#8594;<\/div>  <div class=\"g-flow-item\"><strong>\u7d50\u679c\u3092\u4e00\u62ec\u66f8\u51fa<\/strong><br><span style=\"font-size:12px;\">Range.Value = arr<br>1\u56de\u306e\u30bb\u30eb\u30a2\u30af\u30bb\u30b9<\/span><\/div>\n<\/div>\n\n\n\n<div class=\"balloon-wrap\">\n  <div class=\"balloon-icon\">\n    <img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/04\/ceo-sugasawa.jpg\" alt=\"\u4ee3\u8868\u83c5\u6fa4\">\n    <span class=\"balloon-name\">\u4ee3\u8868\u83c5\u6fa4<\/span>\n  <\/div>\n  <div class=\"balloon-body\">\u30bb\u30eb\u7bc4\u56f2\u3092\u914d\u5217\u306b\u8aad\u307f\u8fbc\u3080\u969b\u306e\u300c\u6dfb\u5b57\u304c1\u59cb\u307e\u308a\u300d\u3068\u3044\u3046\u30eb\u30fc\u30eb\u306f\u6700\u521d\u306b\u6df7\u4e71\u3057\u3084\u3059\u3044\u30dd\u30a4\u30f3\u30c8\u3067\u3059\u3002\u901a\u5e38\u306e\u914d\u5217\u5ba3\u8a00\u3067\u306f0\u59cb\u307e\u308a\u306a\u306e\u306b\u3001\u30bb\u30eb\u8aad\u307f\u8fbc\u307f\u306e\u914d\u5217\u306f1\u59cb\u307e\u308a\u306b\u306a\u308a\u307e\u3059\u3002For i = 1 To UBound(arr, 1) \u306e\u3088\u3046\u306bLBound\/UBound\u3092\u4f7f\u3048\u3070\u3069\u3061\u3089\u3067\u3082\u5b89\u5168\u306b\u51e6\u7406\u3067\u304d\u307e\u3059\u3002<\/div>\n<\/div>\n\n\n<div style=\"margin:48px 0 8px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap;\"><a href=\"https:\/\/aikanri.genai-ai.co.jp\/aibpo\/makase\/blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=cc-vba-array&#038;blog_slug=cc-vba-array&#038;blog_title=%E3%80%902026%E5%B9%B48%E6%9C%88%E6%9C%80%E6%96%B0%E3%80%91VBA%E3%81%AE%E9%85%8D%E5%88%97%E5%AE%8C%E5%85%A8%E3%82%AC%E3%82%A4%E3%83%89%EF%BD%9C%E5%AE%A3%E8%A8%80%E3%83%BB%E3%83%AB%E3%83%BC%E3%83%97%E3%83%BB%E3%82%B3%E3%83%94%E3%83%BC%E3%83%BB%E3%82%BD%E3%83%BC%E3%83%88%E3%83%BB%E3%83%95%E3%82%A3%E3%83%AB%E3%82%BF%E3%83%BBClaude%20Code%E6%B4%BB%E7%94%A8%E6%B3%95&#038;blog_url=https%3A%2F%2Fgenai-ai.co.jp%2Fai-kanri%2Fblog%2Fcc-vba-array%2F&#038;utm_campaign=aibpo_makase\" target=\"_blank\" rel=\"noopener\" aria-label=\"AI\u793e\u54e1AIKATA\uff08\u670830\u4e07\u5186\u3067\u696d\u52d9\u307e\u304b\u305b\u653e\u984c\uff09\u306e\u7121\u6599\u76f8\u8ac7 \u4e88\u7d04\u30da\u30fc\u30b8\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/09\/cta_blog_makase_20260904.jpg\" alt=\"AI\u793e\u54e1AIKATA\uff5c\u670830\u4e07\u5186\u306e\u5b9a\u984d\u3067\u5fa1\u793e\u306e\u696d\u52d9\u3092\u307e\u308b\u3054\u3068\u5dfb\u304d\u53d6\u308a\u307e\u3059\uff08\u7121\u6599\u76f8\u8ac760\u5206\uff09\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><a href=\"https:\/\/aikanri.genai-ai.co.jp\/koteihi-line\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=cc-vba-array&#038;blog_slug=cc-vba-array&#038;blog_title=%E3%80%902026%E5%B9%B48%E6%9C%88%E6%9C%80%E6%96%B0%E3%80%91VBA%E3%81%AE%E9%85%8D%E5%88%97%E5%AE%8C%E5%85%A8%E3%82%AC%E3%82%A4%E3%83%89%EF%BD%9C%E5%AE%A3%E8%A8%80%E3%83%BB%E3%83%AB%E3%83%BC%E3%83%97%E3%83%BB%E3%82%B3%E3%83%94%E3%83%BC%E3%83%BB%E3%82%BD%E3%83%BC%E3%83%88%E3%83%BB%E3%83%95%E3%82%A3%E3%83%AB%E3%82%BF%E3%83%BBClaude%20Code%E6%B4%BB%E7%94%A8%E6%B3%95&#038;blog_url=https%3A%2F%2Fgenai-ai.co.jp%2Fai-kanri%2Fblog%2Fcc-vba-array%2F&#038;utm_campaign=koteihi_shindan\" target=\"_blank\" rel=\"noopener\" aria-label=\"\u516c\u5f0fLINE\u306e\u56fa\u5b9a\u8cbb\u524a\u6e1b\u8a3a\u65ad\uff08\u7121\u6599\u30fb\u7d041\u5206\uff09\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/09\/cta_blog_koteihi_line.jpg\" alt=\"\u5fa1\u793e\u304c\u6e1b\u3089\u305b\u308b\u56fa\u5b9a\u8cbb\u306f\u6708\u3044\u304f\u3089\u304b\uff5c\u516c\u5f0fLINE\u3067\u8cea\u554f\u306b\u7b54\u3048\u308b\u3060\u3051\uff08\u7121\u6599\u30fb\u7d041\u5206\uff09\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><\/div>\n\n\n<div id=\"sec-08\"><\/div>\n<h2 class=\"section-header-img\" style=\"margin:32px 0 24px;border-radius:8px;overflow:hidden;background:linear-gradient(135deg,#1a1a1a 0%,#2a1015 100%);padding:32px 28px;color:#fff;position:relative;border:none;border-left:none;text-align:left;\">\n  <span class=\"section-number\" style=\"display:block;\">08<\/span>\n  <span class=\"section-label\" style=\"display:block;\">CLAUDE CODE ARRAY<\/span>\n  <span class=\"section-title\" style=\"display:block;\">Claude Code\u3067VBA\u914d\u5217\u30b3\u30fc\u30c9\u3092\u81ea\u52d5\u751f\u6210\u3059\u308b<\/span>\n  <span class=\"section-desc\">\u8907\u96d1\u306a\u914d\u5217\u51e6\u7406\u306eVBA\u30b3\u30fc\u30c9\u3092AI\u3067\u751f\u6210\u30fb\u30c7\u30d0\u30c3\u30b0\u3059\u308b\u5b9f\u8df5\u4f8b<\/span>\n<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u914d\u5217\u51e6\u7406\u306eVBA\u30b3\u30fc\u30c9\u306f\u4ed5\u7d44\u307f\u3092\u7406\u89e3\u3057\u3066\u3082\u30bc\u30ed\u304b\u3089\u66f8\u304f\u306e\u306b\u6642\u9593\u304c\u304b\u304b\u308a\u307e\u3059\u30022026\u5e74\u73fe\u5728\u3001<strong>Claude Code\u306b\u914d\u5217\u51e6\u7406\u306e\u8981\u4ef6\u3092\u65e5\u672c\u8a9e\u3067\u8aac\u660e\u3059\u308b\u3060\u3051\u3067\u3001\u9ad8\u54c1\u8cea\u306aVBA\u30b3\u30fc\u30c9\u304c\u751f\u6210<\/strong>\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<table>\n<thead><tr><th>\u3042\u306a\u305f\u306e\u6307\u793a<\/th><th>Claude Code\u304c\u751f\u6210\u3059\u308b\u3082\u306e<\/th><\/tr><\/thead>\n<tbody>\n<tr><td>\u300cA\u5217\u301cD\u5217\u306e1\u301c1000\u884c\u306e\u30c7\u30fc\u30bf\u3092\u914d\u5217\u306b\u8aad\u307f\u8fbc\u3093\u3067\u3001C\u5217\u304c100\u672a\u6e80\u306e\u884c\u306eD\u5217\u306b\"\u8981\u78ba\u8a8d\"\u3092\u5165\u529b\u3057\u3066\u30b7\u30fc\u30c8\u306b\u66f8\u304d\u623b\u3059VBA\u300d<\/td><td>\u4e00\u62ec\u8aad\u8fbc\u2192\u51e6\u7406\u2192\u4e00\u62ec\u66f8\u51fa\u306e\u30d1\u30bf\u30fc\u30f3\u3092\u4f7f\u3063\u305f\u6700\u9069\u306aVBA\u30b3\u30fc\u30c9<\/td><\/tr>\n<tr><td>\u300c\u540d\u524d\u306e\u914d\u5217\u304b\u3089\"\u5c71\u7530\"\u3092\u542b\u3080\u8981\u7d20\u3060\u3051\u3092\u62bd\u51fa\u3057\u3066\u5225\u30b7\u30fc\u30c8\u306eA\u5217\u306b\u66f8\u304d\u51fa\u3059VBA\u300d<\/td><td>Filter\u95a2\u6570 + \u66f8\u304d\u51fa\u3057\u51e6\u7406\u306eVBA\u30b3\u30fc\u30c9<\/td><\/tr>\n<tr><td>\u300c\u4ee5\u4e0b\u306eVBA\u30b3\u30fc\u30c9\u304c\u30a8\u30e9\u30fc\u306b\u306a\u308a\u307e\u3059\u3002\u539f\u56e0\u3068\u4fee\u6b63\u65b9\u6cd5\u3092\u6559\u3048\u3066\u304f\u3060\u3055\u3044\uff08\u30b3\u30fc\u30c9\u3092\u8cbc\u308a\u4ed8\u3051\uff09\u300d<\/td><td>\u30a8\u30e9\u30fc\u306e\u539f\u56e0\u5206\u6790\u3068\u4fee\u6b63\u6e08\u307f\u30b3\u30fc\u30c9<\/td><\/tr>\n<tr><td>\u300c\u3053\u306e\u914d\u5217\u51e6\u7406\u304c\u9045\u3044\u3067\u3059\u3002\u901f\u304f\u3059\u308b\u65b9\u6cd5\u3092\u6559\u3048\u3066\u304f\u3060\u3055\u3044\uff08\u30b3\u30fc\u30c9\u3092\u8cbc\u308a\u4ed8\u3051\uff09\u300d<\/td><td>\u30bb\u30eb\u4e00\u62ec\u8aad\u8fbc\u30d1\u30bf\u30fc\u30f3\u3078\u306e\u30ea\u30d5\u30a1\u30af\u30bf\u30ea\u30f3\u30b0\u63d0\u6848<\/td><\/tr>\n<\/tbody>\n<\/table>\n\n\n\n<div style=\"background:#fafafa;border-radius:8px;padding:16px 20px;margin:16px 0;border-left:4px solid #dc2626;\">\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span>VBA\u306e\u914d\u5217\u51e6\u7406\u30b3\u30fc\u30c9\u3092<strong>\u65e5\u672c\u8a9e\u3067\u4f9d\u983c\u3057\u3066\u81ea\u52d5\u751f\u6210<\/strong><\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span>\u30a8\u30e9\u30fc\u304c\u51fa\u305fVBA\u30b3\u30fc\u30c9\u3092<strong>\u8cbc\u308a\u4ed8\u3051\u3066\u539f\u56e0\u89e3\u660e\u30fb\u4fee\u6b63\u4f9d\u983c<\/strong><\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span>\u9045\u3044\u30de\u30af\u30ed\u3092<strong>\u300c\u914d\u5217\u4e00\u62ec\u51e6\u7406\u300d\u30d1\u30bf\u30fc\u30f3\u306b\u66f8\u304d\u76f4\u3059\u76f8\u8ac7<\/strong><\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span>2\u6b21\u5143\u914d\u5217\u306e\u30eb\u30fc\u30d7\u51e6\u7406\u306a\u3069<strong>\u8907\u96d1\u306a\u69cb\u9020\u3092\u8aac\u660e\u3057\u3066\u3082\u3089\u3046<\/strong><\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span>\u300c\u3053\u306e\u30b3\u30fc\u30c9\u3092\u3082\u3063\u3068\u30b7\u30f3\u30d7\u30eb\u306b\u66f8\u304d\u76f4\u3057\u3066\u300d\u3068\u3044\u3046<strong>\u30ea\u30d5\u30a1\u30af\u30bf\u30ea\u30f3\u30b0\u4f9d\u983c<\/strong><\/span><\/div>\n\n<\/div>\n\n\n\n<div style=\"background:linear-gradient(135deg,#1a1a1a,#2a1015);border-radius:12px;padding:20px 24px;margin:24px 0;display:flex;align-items:center;gap:16px;color:#fff;\">\n  <span style=\"font-size:36px;\">&#127942;<\/span>\n  <div>\n    <div style=\"font-size:13px;color:#dc2626;font-weight:700;letter-spacing:1px;\">VERDICT<\/div>\n    <div style=\"font-size:18px;font-weight:800;\">\u914d\u5217\u51e6\u7406\u306e\u8907\u96d1\u306a\u30b3\u30fc\u30c9\u306fClaude Code\u306b\u4efb\u305b\u308b<\/div>\n    <div style=\"font-size:14px;color:rgba(255,255,255,0.7);margin-top:4px;\">\u300c\u914d\u5217\u306b\u8aad\u307f\u8fbc\u3093\u3067\u304b\u3089\u51e6\u7406\u3057\u3066\u66f8\u304d\u623b\u3059\u300d\u3068\u3044\u3046\u30d1\u30bf\u30fc\u30f3\u3092\u624b\u3067\u66f8\u304f\u306e\u306f\u6642\u9593\u304c\u304b\u304b\u308b\u3002Claude Code\u306b\u300c1000\u884c\u306e\u30c7\u30fc\u30bf\u3092\u9ad8\u901f\u51e6\u7406\u3059\u308bVBA\u30de\u30af\u30ed\u300d\u3068\u4f9d\u983c\u3059\u308c\u3070\u3001\u81ea\u52d5\u7684\u306b\u6700\u9069\u306a\u914d\u5217\u30d1\u30bf\u30fc\u30f3\u3067\u66f8\u3044\u3066\u304f\u308c\u308b\u3002\u30a8\u30e9\u30fc\u30c7\u30d0\u30c3\u30b0\u3082\u81ea\u7136\u8a00\u8a9e\u3067\u8cea\u554f\u3059\u308b\u3060\u3051\u3067\u89e3\u6c7a\u3067\u304d\u308b\u3002<\/div>\n  <\/div>\n<\/div>\n\n\n\n<div class=\"balloon-wrap is-right\">\n  <div class=\"balloon-icon\">\n    <img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/04\/yamazaki-avatar.png\" alt=\"AI\u9b3c\u7ba1\u7406\u5c71\u5d0e\">\n    <span class=\"balloon-name\">AI\u9b3c\u7ba1\u7406\u5c71\u5d0e<\/span>\n  <\/div>\n  <div class=\"balloon-body\">Claude Code\u3078\u306e\u6307\u793a\u3067\u4e00\u756a\u5927\u5207\u306a\u306e\u306f\u300c\u51e6\u7406\u3057\u305f\u3044\u30c7\u30fc\u30bf\u306e\u5834\u6240\uff08\u3069\u306e\u30b7\u30fc\u30c8\u306e\u4f55\u5217\u76ee\uff09\u300d\u300c\u6761\u4ef6\uff08\u3069\u3093\u306a\u5024\u306e\u5834\u5408\u306b\uff09\u300d\u300c\u51e6\u7406\u5185\u5bb9\uff08\u4f55\u3092\u3059\u308b\uff09\u300d\u306e3\u3064\u3092\u660e\u78ba\u306b\u4f1d\u3048\u308b\u3053\u3068\u3067\u3059\u3002\u3053\u306e3\u70b9\u3092\u62bc\u3055\u3048\u305f\u4f9d\u983c\u6587\u3055\u3048\u66f8\u3051\u308c\u3070\u3001\u914d\u5217\u51e6\u7406\u306e\u8907\u96d1\u306aVBA\u30b3\u30fc\u30c9\u3082\u6570\u5206\u3067\u5b8c\u6210\u3057\u307e\u3059\u3002<\/div>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">VBA\u306e\u914d\u5217\u51e6\u7406\u3082Claude Code\u3067\u81ea\u52d5\u5316\u3067\u304d\u307e\u3059<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u300c\u5927\u91cf\u30c7\u30fc\u30bf\u3092\u9ad8\u901f\u306b\u51e6\u7406\u3059\u308bVBA\u30de\u30af\u30ed\u3092\u4f5c\u308a\u305f\u3044\u300d\u300c\u914d\u5217\u51e6\u7406\u3067\u30a8\u30e9\u30fc\u304c\u8d77\u304d\u3066\u89e3\u6c7a\u3067\u304d\u306a\u3044\u300d\u2014\u2014\u3053\u3046\u3057\u305fExcel VBA\u306e\u8ab2\u984c\u306fClaude Code\u3067\u89e3\u6c7a\u3067\u304d\u307e\u3059\u3002\u51e6\u7406\u306e\u8981\u4ef6\u3092\u65e5\u672c\u8a9e\u3067\u8aac\u660e\u3059\u308b\u3060\u3051\u3067\u3001\u6700\u9069\u306a\u914d\u5217\u51e6\u7406\u30d1\u30bf\u30fc\u30f3\u3092\u4f7f\u3063\u305fVBA\u30b3\u30fc\u30c9\u304c\u751f\u6210\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u307e\u305a\u306f\u7121\u6599\u76f8\u8ac7\u3067\u3001Excel\u3067\u306e\u696d\u52d9\u81ea\u52d5\u5316\u306e\u8ab2\u984c\u3092\u30d2\u30a2\u30ea\u30f3\u30b0\u3055\u305b\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<div style=\"background:#fff;border:2px solid #eee;border-radius:16px;padding:32px 20px;margin:48px 0 16px;\">\n  <p style=\"text-align:center;font-size:13px;font-weight:700;color:#dc2626;letter-spacing:2px;margin:0 0 12px;\">NEXT STEP<\/p>\n  <p style=\"text-align:center;font-size:22px;font-weight:800;line-height:1.5;color:#1a1a1a;margin:0 0 24px;\">\u3053\u306e\u8a18\u4e8b\u306e\u5185\u5bb9\u3092\u3001\u3042\u306a\u305f\u306e\u30d3\u30b8\u30cd\u30b9\u3067<br>\u5b9f\u8df5\u3057\u3066\u307f\u307e\u305b\u3093\u304b\uff1f<\/p>\n  <div style=\"display:flex;gap:16px;flex-wrap:wrap;justify-content:center;\">\n    <div style=\"flex:1 1 300px;max-width:560px;background:#fafafa;border:1px solid #eee;border-radius:12px;overflow:hidden;display:flex;flex-direction:column;\">\n      <img src=\"https:\/\/genai-ai.co.jp\/img\/flagship-onikanri.png\" alt=\"AI\u9b3c\u7ba1\u7406 \u2014 Claude Code\u5c0e\u5165\u652f\u63f4\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0\" loading=\"lazy\" decoding=\"async\" style=\"width:100%;height:auto;aspect-ratio:16\/9;object-fit:cover;display:block;\">\n      <div style=\"padding:20px 20px 24px;display:flex;flex-direction:column;flex:1;\">\n        <p style=\"font-size:13px;color:#dc2626;font-weight:700;margin:0 0 8px;\">AI\u6d3b\u7528\u3092\u81ea\u793e\u3067\u56de\u305b\u308b\u3088\u3046\u306b\u306a\u308a\u305f\u3044\u65b9\u3078<\/p>\n        <p style=\"font-size:20px;font-weight:800;color:#1a1a1a;margin:0 0 12px;\">AI\u9b3c\u7ba1\u7406<\/p>\n        <p style=\"font-size:14px;color:#555;margin:0 0 20px;line-height:1.7;\">Claude Code\u30fbCowork\u5c0e\u5165\u652f\u63f4\u304b\u3089\u696d\u52d9\u8a2d\u8a08\u30fb\u793e\u5185\u6d78\u900f\u307e\u3067\u5b9f\u8df5\u30d9\u30fc\u30b9\u3067\u4f34\u8d70\u3002\u300c\u81ea\u793e\u3067\u56de\u305b\u308b\u7d44\u7e54\u300d\u309290\u65e5\u3067\u4f5c\u308b\u7d4c\u55b6\u8005\u5411\u3051\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0\u3002<\/p>\n        <div style=\"text-align:center;margin-top:auto;\">\n          <a href=\"https:\/\/aikanri.genai-ai.co.jp\/?utm_source=blog&utm_medium=article&utm_campaign=cc-vba-array&utm_content=next-step-cta\" target=\"_blank\" rel=\"noopener\" style=\"display:inline-block;background:#dc2626;color:#fff;font-weight:700;font-size:15px;padding:14px 32px;border-radius:30px;text-decoration:none;\">AI\u9b3c\u7ba1\u7406\u3092\u8a73\u3057\u304f\u898b\u308b \u2192<\/a>\n        <\/div>\n      <\/div>\n    <\/div>\n    <div style=\"flex:1 1 300px;max-width:560px;background:#fafafa;border:1px solid #eee;border-radius:12px;overflow:hidden;display:flex;flex-direction:column;\">\n      <img src=\"https:\/\/genai-ai.co.jp\/img\/flagship-aibpo.png\" alt=\"AI\u793e\u54e1AIKATA \u2014 \u5b9a\u578b\u696d\u52d9\u306e\u4e38\u3054\u3068\u4ee3\u884c\" loading=\"lazy\" decoding=\"async\" style=\"width:100%;height:auto;aspect-ratio:16\/9;object-fit:cover;display:block;\">\n      <div style=\"padding:20px 20px 24px;display:flex;flex-direction:column;flex:1;\">\n        <p style=\"font-size:13px;color:#dc2626;font-weight:700;margin:0 0 8px;\">\u696d\u52d9\u3092\u4e38\u3054\u3068\u4efb\u305b\u305f\u3044\u65b9\u3078<\/p>\n        <p style=\"font-size:20px;font-weight:800;color:#1a1a1a;margin:0 0 12px;\">AI\u793e\u54e1AIKATA<\/p>\n        <p style=\"font-size:14px;color:#555;margin:0 0 20px;line-height:1.7;\">\u8acb\u6c42\u51e6\u7406\u30fb\u30c7\u30fc\u30bf\u5165\u529b\u30fb\u554f\u3044\u5408\u308f\u305b\u5bfe\u5fdc\u306a\u3069\u306e\u5b9a\u578b\u696d\u52d9\u3092\u3001AI\u00d7\u4eba\u306e\u54c1\u8cea\u7ba1\u7406\u4f53\u5236\u3067\u4e38\u3054\u3068\u4ee3\u884c\u3002\u670830\u4e07\u5186\u306e\u5b9a\u984d\u3067\u307e\u304b\u305b\u653e\u984c\u3001\u65e5\u3005\u306f\u6210\u679c\u7269\u3092\u627f\u8a8d\u3059\u308b\u3060\u3051\u3002<\/p>\n        <div style=\"text-align:center;margin-top:auto;\">\n          <a href=\"https:\/\/genai-ai.co.jp\/ai-kanri\/ai-bpo\/?utm_source=blog&utm_medium=article&utm_campaign=cc-vba-array&utm_content=next-step-cta-bpo\" target=\"_blank\" rel=\"noopener\" style=\"display:inline-block;background:#dc2626;color:#fff;font-weight:700;font-size:15px;padding:14px 32px;border-radius:30px;text-decoration:none;\">AI\u793e\u54e1AIKATA\u3092\u8a73\u3057\u304f\u898b\u308b \u2192<\/a>\n        <\/div>\n      <\/div>\n    <\/div>\n  <\/div>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"faq\">\u3088\u304f\u3042\u308b\u8cea\u554f<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Q. VBA\u3067\u914d\u5217\u3092\u5ba3\u8a00\u3059\u308b\u65b9\u6cd5\u3092\u6559\u3048\u3066\u304f\u3060\u3055\u3044\u3002<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A. \u56fa\u5b9a\u9577\u914d\u5217\u306f\u300cDim arr(4) As Integer\u300d\u306e\u3088\u3046\u306b\u8981\u7d20\u6570\u3092\u5ba3\u8a00\u6642\u306b\u6307\u5b9a\u3057\u307e\u3059\uff08\u3053\u306e\u4f8b\u3067\u306f0\u301c4\u306e5\u8981\u7d20\uff09\u3002\u52d5\u7684\u914d\u5217\u306f\u300cDim arr() As String\u300d\u3068\u8981\u7d20\u6570\u3092\u7a7a\u6b04\u306b\u3057\u3066\u5ba3\u8a00\u3057\u3001\u5f8c\u3067\u300cReDim arr(n)\u300d\u3067\u30b5\u30a4\u30ba\u3092\u6c7a\u5b9a\u3057\u307e\u3059\u3002\u30c7\u30fc\u30bf\u3092\u4fdd\u6301\u3057\u305f\u307e\u307e\u30b5\u30a4\u30ba\u3092\u5909\u66f4\u3057\u305f\u3044\u5834\u5408\u306f\u300cReDim Preserve arr(n)\u300d\u3092\u4f7f\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q. VBA\u306eUBound\u95a2\u6570\u306e\u4f7f\u3044\u65b9\u3092\u6559\u3048\u3066\u304f\u3060\u3055\u3044\u3002<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A. UBound(\u914d\u5217\u540d)\u3067\u914d\u5217\u306e\u6700\u5927\u6dfb\u5b57\uff08\u4e0a\u9650\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\uff09\u3092\u8fd4\u3057\u307e\u3059\u30021\u6b21\u5143\u914d\u5217\u306e\u30eb\u30fc\u30d7\u306f\u300cFor i = 0 To UBound(arr)\u300d\u3068\u66f8\u304f\u306e\u304c\u5b89\u5168\u3067\u3059\uff08\u30cf\u30fc\u30c9\u30b3\u30fc\u30c9\u3057\u305f\u6570\u5024\u3088\u308a\u4fdd\u5b88\u3057\u3084\u3059\u3044\uff09\u30022\u6b21\u5143\u914d\u5217\u306e\u5834\u5408\u306f\u300cUBound(arr, 1)\u300d\u30671\u6b21\u5143\u76ee\u306e\u4e0a\u9650\uff08\u884c\u6570-1\uff09\u3001\u300cUBound(arr, 2)\u300d\u30672\u6b21\u5143\u76ee\u306e\u4e0a\u9650\uff08\u5217\u6570-1\uff09\u304c\u53d6\u5f97\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q. VBA\u306e\u914d\u5217\u3067\u5927\u91cf\u30c7\u30fc\u30bf\u306e\u51e6\u7406\u3092\u9ad8\u901f\u5316\u3059\u308b\u306b\u306f\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A. \u300cRange(\"A1:D1000\").Value\u3092variant\u578b\u5909\u6570\u306b\u4ee3\u5165\u3057\u3066\u914d\u5217\u306b\u4e00\u62ec\u8aad\u307f\u8fbc\u307f\u2192\u30e1\u30e2\u30ea\u5185\u3067\u51e6\u7406\u2192\u540c\u3058\u30b5\u30a4\u30ba\u306eRange\u306b\u914d\u5217\u3092\u4ee3\u5165\u3057\u3066\u4e00\u62ec\u66f8\u304d\u51fa\u3057\u300d\u3068\u3044\u3046\u30d1\u30bf\u30fc\u30f3\u304c\u6700\u3082\u52b9\u679c\u7684\u3067\u3059\u3002\u30bb\u30eb\u30921\u884c\u305a\u3064\u51e6\u7406\u3059\u308b\u3088\u308a\u4f55\u5341\u500d\u301c\u4f55\u767e\u500d\u3082\u901f\u304f\u306a\u308a\u307e\u3059\u3002\u30c7\u30fc\u30bf\u4ef6\u6570\u304c\u591a\u3044\u307b\u3069\u901f\u5ea6\u5dee\u304c\u5927\u304d\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q. VBA\u306eFilter\u95a2\u6570\u306e\u4f7f\u3044\u65b9\u3092\u6559\u3048\u3066\u304f\u3060\u3055\u3044\u3002<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A. Filter(\u914d\u5217, \u691c\u7d22\u6587\u5b57\u5217)\u306f\u6587\u5b57\u5217\u578b\u914d\u5217\u306e\u4e2d\u304b\u3089\u691c\u7d22\u6587\u5b57\u5217\u3092\u542b\u3080\u8981\u7d20\u3060\u3051\u3092\u65b0\u3057\u3044\u914d\u5217\u3068\u3057\u3066\u8fd4\u3057\u307e\u3059\u3002\u4f8b\uff1a\u300cFilter(names, \"\u5c71\u7530\")\u300d\u306f\u914d\u5217names\u306e\u4e2d\u306b\"\u5c71\u7530\"\u3092\u542b\u3080\u8981\u7d20\u3060\u3051\u306e\u65b0\u3057\u3044\u914d\u5217\u3092\u8fd4\u3057\u307e\u3059\u3002\u7b2c3\u5f15\u6570\u306bFalse\u3092\u6307\u5b9a\u3059\u308b\u3068\u300c\u542b\u307e\u306a\u3044\u8981\u7d20\u300d\u3092\u53d6\u5f97\u3067\u304d\u307e\u3059\uff08Filter(names, \"\u5c71\u7530\", False)\uff09\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q. VBA\u3067\u914d\u5217\u306e\u30b3\u30d4\u30fc\u3092\u3059\u308b\u65b9\u6cd5\u306f\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A. Variant\u578b\u5909\u6570\u3078\u306e\u4ee3\u5165\u3067\u30b3\u30d4\u30fc\u3067\u304d\u307e\u3059\u3002\u300cDim copied As Variant: copied = original\u300d\u3068\u66f8\u304f\u3053\u3068\u3067\u3001original\u306e\u5185\u5bb9\u304ccopied\u306b\u30b3\u30d4\u30fc\u3055\u308c\u307e\u3059\u3002Variant\u578b\u4ee5\u5916\u306e\u901a\u5e38\u306e\u578b\u5ba3\u8a00\u3092\u3057\u305f\u914d\u5217\u306e\u5834\u5408\u306f\u3001\u30eb\u30fc\u30d7\u3067Element-by-element\u306b\u30b3\u30d4\u30fc\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q. VBA\u30672\u6b21\u5143\u914d\u5217\u3092\u5ba3\u8a00\u3059\u308b\u65b9\u6cd5\u3092\u6559\u3048\u3066\u304f\u3060\u3055\u3044\u3002<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A. \u300cDim arr(9, 3) As Integer\u300d\u306e\u3088\u3046\u306b\u30ab\u30f3\u30de\u3067\u6b21\u5143\u3092\u533a\u5207\u3063\u3066\u5ba3\u8a00\u3057\u307e\u3059\uff08\u3053\u306e\u4f8b\u3067\u306f10\u884c\u00d74\u5217\uff09\u3002Excel\u306e\u30bb\u30eb\u7bc4\u56f2\u3092Variant\u578b\u5909\u6570\u306b\u4ee3\u5165\u3057\u305f\u5834\u5408\u3082\u81ea\u52d5\u7684\u306b2\u6b21\u5143\u914d\u5217\u306b\u306a\u308a\u307e\u3059\uff081\u6b21\u5143\u76ee\u304c\u884c\u30012\u6b21\u5143\u76ee\u304c\u5217\uff09\u3002\u30bb\u30eb\u304b\u3089\u8aad\u307f\u8fbc\u3093\u3060\u914d\u5217\u306f\u6dfb\u5b57\u304c1\u59cb\u307e\u308a\u306b\u306a\u308b\u70b9\u306b\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q. Claude Code\u3067VBA\u306e\u914d\u5217\u51e6\u7406\u30b3\u30fc\u30c9\u3092\u751f\u6210\u3067\u304d\u307e\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A. \u3067\u304d\u307e\u3059\u3002\u300cA\u5217\u301cD\u5217\u306e1000\u884c\u30c7\u30fc\u30bf\u3092\u914d\u5217\u306b\u8aad\u307f\u8fbc\u3093\u3067\u3001C\u5217\u304c100\u672a\u6e80\u306e\u884c\u306eD\u5217\u306b\"\u8981\u78ba\u8a8d\"\u3092\u5165\u308c\u3066\u30b7\u30fc\u30c8\u306b\u66f8\u304d\u623b\u3059VBA\u3092\u66f8\u3044\u3066\u300d\u306e\u3088\u3046\u306b\u51e6\u7406\u5185\u5bb9\u3092\u65e5\u672c\u8a9e\u3067\u8aac\u660e\u3059\u308b\u3060\u3051\u3067\u3001\u914d\u5217\u306e\u4e00\u62ec\u8aad\u307f\u8fbc\u307f\u30fb\u51e6\u7406\u30fb\u66f8\u304d\u51fa\u3057\u306e\u30d1\u30bf\u30fc\u30f3\u3092\u4f7f\u3063\u305f\u6700\u9069\u306aVBA\u30b3\u30fc\u30c9\u304c\u751f\u6210\u3055\u308c\u307e\u3059\u3002\u30a8\u30e9\u30fc\u306e\u539f\u56e0\u89e3\u660e\u3084\u9045\u3044\u30b3\u30fc\u30c9\u306e\u9ad8\u901f\u5316\u3082Claude Code\u306b\u76f8\u8ac7\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<script type=\"application\/ld+json\">\n{\n  \"@context\": \"https:\/\/schema.org\",\n  \"@type\": \"FAQPage\",\n  \"mainEntity\": [\n    {\n      \"@type\": \"Question\",\n      \"name\": \"VBA\u3067\u914d\u5217\u3092\u5ba3\u8a00\u3059\u308b\u65b9\u6cd5\u3092\u6559\u3048\u3066\u304f\u3060\u3055\u3044\u3002\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"\u56fa\u5b9a\u9577\u914d\u5217\u306f\u300cDim arr(4) As Integer\u300d\u306e\u3088\u3046\u306b\u8981\u7d20\u6570\u3092\u5ba3\u8a00\u6642\u306b\u6307\u5b9a\u3057\u307e\u3059\uff08\u3053\u306e\u4f8b\u3067\u306f0\u301c4\u306e5\u8981\u7d20\uff09\u3002\u52d5\u7684\u914d\u5217\u306f\u300cDim arr() As String\u300d\u3068\u8981\u7d20\u6570\u3092\u7a7a\u6b04\u306b\u3057\u3066\u5ba3\u8a00\u3057\u3001\u5f8c\u3067\u300cReDim arr(n)\u300d\u3067\u30b5\u30a4\u30ba\u3092\u6c7a\u5b9a\u3057\u307e\u3059\u3002\u30c7\u30fc\u30bf\u3092\u4fdd\u6301\u3057\u305f\u307e\u307e\u30b5\u30a4\u30ba\u3092\u5909\u66f4\u3057\u305f\u3044\u5834\u5408\u306f\u300cReDim Preserve arr(n)\u300d\u3092\u4f7f\u3044\u307e\u3059\u3002\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"VBA\u306eUBound\u95a2\u6570\u306e\u4f7f\u3044\u65b9\u3092\u6559\u3048\u3066\u304f\u3060\u3055\u3044\u3002\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"UBound(\u914d\u5217\u540d)\u3067\u914d\u5217\u306e\u6700\u5927\u6dfb\u5b57\uff08\u4e0a\u9650\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\uff09\u3092\u8fd4\u3057\u307e\u3059\u30021\u6b21\u5143\u914d\u5217\u306e\u30eb\u30fc\u30d7\u306f\u300cFor i = 0 To UBound(arr)\u300d\u3068\u66f8\u304f\u306e\u304c\u5b89\u5168\u3067\u3059\uff08\u30cf\u30fc\u30c9\u30b3\u30fc\u30c9\u3057\u305f\u6570\u5024\u3088\u308a\u4fdd\u5b88\u3057\u3084\u3059\u3044\uff09\u30022\u6b21\u5143\u914d\u5217\u306e\u5834\u5408\u306f\u300cUBound(arr, 1)\u300d\u30671\u6b21\u5143\u76ee\u306e\u4e0a\u9650\uff08\u884c\u6570-1\uff09\u3001\u300cUBound(arr, 2)\u300d\u30672\u6b21\u5143\u76ee\u306e\u4e0a\u9650\uff08\u5217\u6570-1\uff09\u304c\u53d6\u5f97\u3067\u304d\u307e\u3059\u3002\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"VBA\u306e\u914d\u5217\u3067\u5927\u91cf\u30c7\u30fc\u30bf\u306e\u51e6\u7406\u3092\u9ad8\u901f\u5316\u3059\u308b\u306b\u306f\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"\u300cRange(\\\"A1:D1000\\\").Value\u3092variant\u578b\u5909\u6570\u306b\u4ee3\u5165\u3057\u3066\u914d\u5217\u306b\u4e00\u62ec\u8aad\u307f\u8fbc\u307f\u2192\u30e1\u30e2\u30ea\u5185\u3067\u51e6\u7406\u2192\u540c\u3058\u30b5\u30a4\u30ba\u306eRange\u306b\u914d\u5217\u3092\u4ee3\u5165\u3057\u3066\u4e00\u62ec\u66f8\u304d\u51fa\u3057\u300d\u3068\u3044\u3046\u30d1\u30bf\u30fc\u30f3\u304c\u6700\u3082\u52b9\u679c\u7684\u3067\u3059\u3002\u30bb\u30eb\u30921\u884c\u305a\u3064\u51e6\u7406\u3059\u308b\u3088\u308a\u4f55\u5341\u500d\u301c\u4f55\u767e\u500d\u3082\u901f\u304f\u306a\u308a\u307e\u3059\u3002\u30c7\u30fc\u30bf\u4ef6\u6570\u304c\u591a\u3044\u307b\u3069\u901f\u5ea6\u5dee\u304c\u5927\u304d\u304f\u306a\u308a\u307e\u3059\u3002\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"VBA\u306eFilter\u95a2\u6570\u306e\u4f7f\u3044\u65b9\u3092\u6559\u3048\u3066\u304f\u3060\u3055\u3044\u3002\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"Filter(\u914d\u5217, \u691c\u7d22\u6587\u5b57\u5217)\u306f\u6587\u5b57\u5217\u578b\u914d\u5217\u306e\u4e2d\u304b\u3089\u691c\u7d22\u6587\u5b57\u5217\u3092\u542b\u3080\u8981\u7d20\u3060\u3051\u3092\u65b0\u3057\u3044\u914d\u5217\u3068\u3057\u3066\u8fd4\u3057\u307e\u3059\u3002\u4f8b\uff1a\u300cFilter(names, \\\"\u5c71\u7530\\\")\u300d\u306f\u914d\u5217names\u306e\u4e2d\u306b\\\"\u5c71\u7530\\\"\u3092\u542b\u3080\u8981\u7d20\u3060\u3051\u306e\u65b0\u3057\u3044\u914d\u5217\u3092\u8fd4\u3057\u307e\u3059\u3002\u7b2c3\u5f15\u6570\u306bFalse\u3092\u6307\u5b9a\u3059\u308b\u3068\u300c\u542b\u307e\u306a\u3044\u8981\u7d20\u300d\u3092\u53d6\u5f97\u3067\u304d\u307e\u3059\uff08Filter(names, \\\"\u5c71\u7530\\\", False)\uff09\u3002\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"VBA\u3067\u914d\u5217\u306e\u30b3\u30d4\u30fc\u3092\u3059\u308b\u65b9\u6cd5\u306f\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"Variant\u578b\u5909\u6570\u3078\u306e\u4ee3\u5165\u3067\u30b3\u30d4\u30fc\u3067\u304d\u307e\u3059\u3002\u300cDim copied As Variant: copied = original\u300d\u3068\u66f8\u304f\u3053\u3068\u3067\u3001original\u306e\u5185\u5bb9\u304ccopied\u306b\u30b3\u30d4\u30fc\u3055\u308c\u307e\u3059\u3002Variant\u578b\u4ee5\u5916\u306e\u901a\u5e38\u306e\u578b\u5ba3\u8a00\u3092\u3057\u305f\u914d\u5217\u306e\u5834\u5408\u306f\u3001\u30eb\u30fc\u30d7\u3067Element-by-element\u306b\u30b3\u30d4\u30fc\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"VBA\u30672\u6b21\u5143\u914d\u5217\u3092\u5ba3\u8a00\u3059\u308b\u65b9\u6cd5\u3092\u6559\u3048\u3066\u304f\u3060\u3055\u3044\u3002\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"\u300cDim arr(9, 3) As Integer\u300d\u306e\u3088\u3046\u306b\u30ab\u30f3\u30de\u3067\u6b21\u5143\u3092\u533a\u5207\u3063\u3066\u5ba3\u8a00\u3057\u307e\u3059\uff08\u3053\u306e\u4f8b\u3067\u306f10\u884c\u00d74\u5217\uff09\u3002Excel\u306e\u30bb\u30eb\u7bc4\u56f2\u3092Variant\u578b\u5909\u6570\u306b\u4ee3\u5165\u3057\u305f\u5834\u5408\u3082\u81ea\u52d5\u7684\u306b2\u6b21\u5143\u914d\u5217\u306b\u306a\u308a\u307e\u3059\uff081\u6b21\u5143\u76ee\u304c\u884c\u30012\u6b21\u5143\u76ee\u304c\u5217\uff09\u3002\u30bb\u30eb\u304b\u3089\u8aad\u307f\u8fbc\u3093\u3060\u914d\u5217\u306f\u6dfb\u5b57\u304c1\u59cb\u307e\u308a\u306b\u306a\u308b\u70b9\u306b\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\u3002\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"Claude Code\u3067VBA\u306e\u914d\u5217\u51e6\u7406\u30b3\u30fc\u30c9\u3092\u751f\u6210\u3067\u304d\u307e\u3059\u304b\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"\u3067\u304d\u307e\u3059\u3002\u300cA\u5217\u301cD\u5217\u306e1000\u884c\u30c7\u30fc\u30bf\u3092\u914d\u5217\u306b\u8aad\u307f\u8fbc\u3093\u3067\u3001C\u5217\u304c100\u672a\u6e80\u306e\u884c\u306eD\u5217\u306b\\\"\u8981\u78ba\u8a8d\\\"\u3092\u5165\u308c\u3066\u30b7\u30fc\u30c8\u306b\u66f8\u304d\u623b\u3059VBA\u3092\u66f8\u3044\u3066\u300d\u306e\u3088\u3046\u306b\u51e6\u7406\u5185\u5bb9\u3092\u65e5\u672c\u8a9e\u3067\u8aac\u660e\u3059\u308b\u3060\u3051\u3067\u3001\u914d\u5217\u306e\u4e00\u62ec\u8aad\u307f\u8fbc\u307f\u30fb\u51e6\u7406\u30fb\u66f8\u304d\u51fa\u3057\u306e\u30d1\u30bf\u30fc\u30f3\u3092\u4f7f\u3063\u305f\u6700\u9069\u306aVBA\u30b3\u30fc\u30c9\u304c\u751f\u6210\u3055\u308c\u307e\u3059\u3002\u30a8\u30e9\u30fc\u306e\u539f\u56e0\u89e3\u660e\u3084\u9045\u3044\u30b3\u30fc\u30c9\u306e\u9ad8\u901f\u5316\u3082Claude Code\u306b\u76f8\u8ac7\u3067\u304d\u307e\u3059\u3002\"\n      }\n    }\n  ]\n}\n<\/script>\n\n\n\n<!-- RELATED_ARTICLES_START --><div class=\"related-articles related-v2\"><h3>\u95a2\u9023\u8a18\u4e8b \u2014 \u5165\u9580\u30fb\u5c0e\u5165\u30ab\u30c6\u30b4\u30ea\u304b\u3089<\/h3><div class=\"rel-grid\"><a href=\"https:\/\/genai-ai.co.jp\/ai-kanri\/blog\/hub-claude-nyumon\/\" class=\"rel-card rel-pillar\"><span class=\"rel-cat\">\u67f1\u8a18\u4e8b<\/span><span class=\"rel-title\">\u30102026\u5e748\u6708\u6700\u65b0\u3011Claude\u5165\u9580\u306e\u5b8c\u5168\u30ac\u30a4\u30c9\uff5c\u59cb\u3081\u65b9\u30fb\u521d\u671f\u8a2d\u5b9a\u30fb\u6700\u521d\u306e\u696d\u52d9\u6d3b\u7528\u307e\u3067<\/span><\/a><a href=\"https:\/\/genai-ai.co.jp\/ai-kanri\/blog\/cc-claude-code-guide\/\" class=\"rel-card rel-pillar\"><span class=\"rel-cat\">\u67f1\u8a18\u4e8b<\/span><span class=\"rel-title\">\u30102026\u5e748\u6708\u6700\u65b0\u3011Claude Code\u3068\u306f\uff1f\u3067\u304d\u308b\u3053\u3068\u30fb\u4f7f\u3044\u65b9\u30fb\u6599\u91d1\u3092\u5b9f\u904b\u7528\u30c7\u30fc\u30bf\u3067\u5fb9\u5e95\u89e3\u8aac<\/span><\/a><a href=\"https:\/\/genai-ai.co.jp\/ai-kanri\/blog\/cc-c-array\/\" class=\"rel-card rel-sibling\"><span class=\"rel-cat\">\u540c\u30c6\u30fc\u30de<\/span><span class=\"rel-title\">\u30102026\u5e748\u6708\u6700\u65b0\u3011C\u8a00\u8a9e\u306e\u914d\u5217\u5b8c\u5168\u30ac\u30a4\u30c9\uff5c\u5ba3\u8a00\u30fb\u521d\u671f\u5316\u30fb\u30dd\u30a4\u30f3\u30bf\u30fb\u591a\u6b21\u5143\u914d\u5217\u30fbClaude Code\u6d3b\u7528\u6cd5<\/span><\/a><a href=\"https:\/\/genai-ai.co.jp\/ai-kanri\/blog\/cc-vba-dim-variable\/\" class=\"rel-card rel-sibling\"><span class=\"rel-cat\">\u540c\u30c6\u30fc\u30de<\/span><span class=\"rel-title\">\u30102026\u5e748\u6708\u6700\u65b0\u3011VBA\u306eDim\u5909\u6570\u5ba3\u8a00\u5b8c\u5168\u30ac\u30a4\u30c9\uff5c\u30c7\u30fc\u30bf\u578b\u30fb\u30b9\u30b3\u30fc\u30d7\u30fbOption Explicit\u30fbClaude Code\u6d3b\u7528\u6cd5<\/span><\/a><a href=\"https:\/\/genai-ai.co.jp\/ai-kanri\/blog\/cc-vba-macro\/\" class=\"rel-card rel-sibling\"><span class=\"rel-cat\">\u540c\u30c6\u30fc\u30de<\/span><span class=\"rel-title\">\u30102026\u5e748\u6708\u6700\u65b0\u3011VBA\u30de\u30af\u30ed\u5165\u9580\u5b8c\u5168\u30ac\u30a4\u30c9\uff5c\u30de\u30af\u30ed\u306e\u4f7f\u3044\u65b9\u304b\u3089Claude Code\u3067\u81ea\u52d5\u751f\u6210\u3059\u308b\u65b9\u6cd5\u307e\u3067<\/span><\/a><a href=\"https:\/\/genai-ai.co.jp\/ai-kanri\/blog\/cc-vba-val-function\/\" class=\"rel-card rel-sibling\"><span class=\"rel-cat\">\u540c\u30c6\u30fc\u30de<\/span><span class=\"rel-title\">\u30102026\u5e748\u6708\u6700\u65b0\u3011VBA\u306eVal\u95a2\u6570\u5b8c\u5168\u30ac\u30a4\u30c9\uff5c\u6587\u5b57\u5217\u2192\u6570\u5024\u5909\u63db\u30fb\u578b\u5909\u63db\u95a2\u6570\u5168\u7a2e\u985e\u30fbClaude Code\u6d3b\u7528\u6cd5<\/span><\/a><a href=\"https:\/\/genai-ai.co.jp\/ai-kanri\/blog\/cc-yt-claude-install-beginner-22\/\" class=\"rel-card rel-cross_sub\"><span class=\"rel-cat\">\u95a2\u9023\u5206\u91ce<\/span><span class=\"rel-title\">\u30102026\u5e748\u6708\u6700\u65b0\u3011Claude Code\u306e\u59cb\u3081\u65b9\u5b8c\u5168\u30ac\u30a4\u30c9\uff5c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304b\u3089\u521d\u671f\u8a2d\u5b9a\u30fb3\u3064\u306e\u4f7f\u3044\u65b9\u307e\u3067\u5fb9\u5e95\u89e3\u8aac<\/span><\/a><a href=\"https:\/\/genai-ai.co.jp\/ai-kanri\/blog\/cc-vs-genspark-09\/\" class=\"rel-card rel-winner\"><span class=\"rel-cat\">\u4eba\u6c17\u8a18\u4e8b<\/span><span class=\"rel-title\">\u30102026\u5e748\u6708\u6700\u65b0\u3011Claude Code vs Genspark \u5fb9\u5e95\u6bd4\u8f03\uff5c6\u3064\u306e\u8ef8\u3067\u6b63\u76f4\u306b\u52dd\u6557\u3092\u3064\u3051\u305f\u7d50\u679c<\/span><\/a><a href=\"https:\/\/genai-ai.co.jp\/ai-kanri\/blog\/hub-claude-kino\/\" class=\"rel-card rel-bridge\"><span class=\"rel-cat\">\u6df1\u5800\u308a<\/span><span class=\"rel-title\">\u30102026\u5e748\u6708\u6700\u65b0\u3011Claude Code\uff0fCodex\u6a5f\u80fd\u306e\u5b8c\u5168\u30ac\u30a4\u30c9\uff5c\u975e\u30a8\u30f3\u30b8\u30cb\u30a2\u7d4c\u55b6\u8005\u306e\u305f\u3081\u306e\u6a5f\u80fd\u89e3\u8aac\u30fb\u6d3b\u7528\u5224\u65ad<\/span><\/a><a href=\"https:\/\/genai-ai.co.jp\/ai-kanri\/blog\/cc-vba-array-init\/\" class=\"rel-card rel-related\"><span class=\"rel-cat\">\u95a2\u9023<\/span><span class=\"rel-title\">\u30102026\u5e748\u6708\u6700\u65b0\u3011VBA\u914d\u5217\u306e\u521d\u671f\u5316\u5b8c\u5168\u30ac\u30a4\u30c9\uff5cReDim\u30fbPreserve\u30fbArray\u30fbErase\u3092\u696d\u52d9\u3067\u5fb9\u5e95\u89e3\u8aac<\/span><\/a><\/div><\/div><!-- RELATED_ARTICLES_END -->","protected":false},"excerpt":{"rendered":"<p>VBA\u306e\u914d\u5217\u3092\u5fb9\u5e95\u89e3\u8aac\u3002\u914d\u5217\u306e\u5ba3\u8a00\u30fb\u521d\u671f\u5316\u30fb\u56fa\u5b9a\u9577\u30fb\u53ef\u5909\u9577\u30fbReDim\u30fbUBound\/LBound\u30fbFor\u30eb\u30fc\u30d7\u30fb\u30b3\u30d4\u30fc\u30fb\u30bd\u30fc\u30c8\u30fbFilter\u307e\u3067\u3002Claude Code\u3067VBA\u914d\u5217\u30b3\u30fc\u30c9\u3092\u81ea\u52d5\u751f\u6210\u3059\u308b\u65b9\u6cd5\u3082\u7d39\u4ecb\u3002<\/p>\n","protected":false},"author":1,"featured_media":17808,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"sitemap_hide":"","_veu_custom_css":"","vkexunit_cta_each_option":"","_lightning_design_setting":[],"footnotes":"","rank_math_description":"VBA\u306e\u914d\u5217\u3092\u5fb9\u5e95\u89e3\u8aac\u3002\u914d\u5217\u306e\u5ba3\u8a00\u30fb\u521d\u671f\u5316\u30fb\u56fa\u5b9a\u9577\u30fb\u53ef\u5909\u9577\u30fbReDim\u30fbUBound\/LBound\u30fbFor\u30eb\u30fc\u30d7\u30fb\u30b3\u30d4\u30fc\u30fb\u30bd\u30fc\u30c8\u30fbFilter\u307e\u3067\u3002Claude Code\u3067VBA\u914d\u5217\u30b3\u30fc\u30c9\u3092\u81ea\u52d5\u751f\u6210\u3059\u308b\u65b9\u6cd5\u3082\u7d39\u4ecb\u3002","rank_math_focus_keyword":"VBA \u914d\u5217 \u4f7f\u3044\u65b9","rank_math_title":"\u30102026\u5e748\u6708\u6700\u65b0\u3011VBA\u306e\u914d\u5217\u5b8c\u5168\u30ac\u30a4\u30c9\uff5c\u5ba3\u8a00\u30fb\u30eb\u30fc\u30d7\u30fb\u30b3\u30d4\u30fc\u30fb\u30bd\u30fc\u30c8\u30fb\u30d5\u30a3\u30eb\u30bf\u30fbClaude Code\u6d3b\u7528\u6cd5","pending_rewrite_html":"","pending_rewrite_id":"","pending_rewrite_kw":"","pending_rewrite_at":"","pending_rewrite_source":"","pending_rewrite_brief":"","pending_rewrite_evidence":"","approved_rewrite_html":"","approved_rewrite_id":"","approved_rewrite_kw":"","approved_rewrite_at":"","approved_rewrite_by":"","approved_rewrite_brief":"","approved_rewrite_evidence":"","rewrite_tracker_baseline":"","rewrite_tracker_7day":"","rewrite_tracker_14day":"","rewrite_tracker_30day":"","rewrite_tracker_notified":""},"categories":[2,96,94],"tags":[],"class_list":["post-17809","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-claude-tips","category-96","category-94"],"_links":{"self":[{"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/posts\/17809","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/comments?post=17809"}],"version-history":[{"count":8,"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/posts\/17809\/revisions"}],"predecessor-version":[{"id":44885,"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/posts\/17809\/revisions\/44885"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/media\/17808"}],"wp:attachment":[{"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/media?parent=17809"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/categories?post=17809"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/tags?post=17809"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}