{"id":18369,"date":"2026-07-19T03:03:18","date_gmt":"2026-07-18T18:03:18","guid":{"rendered":"https:\/\/genai-ai.co.jp\/ai-kanri\/?p=18369"},"modified":"2026-07-19T03:03:18","modified_gmt":"2026-07-18T18:03:18","slug":"cc-vba-value-property","status":"publish","type":"post","link":"https:\/\/genai-ai.co.jp\/ai-kanri\/blog\/cc-vba-value-property\/","title":{"rendered":"\u30102026\u5e747\u6708\u6700\u65b0\u3011VBA\u306eValue\u30d7\u30ed\u30d1\u30c6\u30a3\u5b8c\u5168\u30ac\u30a4\u30c9\uff5c\u30bb\u30eb\u5024\u306e\u53d6\u5f97\u30fb\u66f8\u304d\u8fbc\u307f\u30fbValue2\u30fbText\u30fbFormula\u3068\u306e\u9055\u3044\u307e\u3067\u89e3\u8aac"},"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-value-property.jpg\" alt=\"\u30102026\u5e747\u6708\u6700\u65b0\u3011VBA\u306eValue\u30d7\u30ed\u30d1\u30c6\u30a3\u5b8c\u5168\u30ac\u30a4\u30c9\uff5c\u30bb\u30eb\u5024\u306e\u53d6\u5f97\u30fb\u66f8\u304d\u8fbc\u307f\u30fbValue2\u30fbText\u30fbFormula\u3068\u306e\u9055\u3044\u307e\u3067\u89e3\u8aac\" style=\"width:100%;height:auto;border-radius:12px;display:block;\">\n<\/div>\n\n\n\n<div style=\"background:#f8f9fa;border-radius:12px;padding:24px 28px;margin:0 0 32px;border-left:4px solid #dc2626;\">\n  <p style=\"font-size:15px;font-weight:700;color:#1a1a1a;margin:0 0 16px;\">\u3053\u306e\u8a18\u4e8b\u306e\u5185\u5bb9<\/p>\n  <ol style=\"margin:0;padding-left:20px;font-size:14px;line-height:2.2;list-style:none;\">\n    <li><a href=\"#sec-01\" style=\"color:#495057;text-decoration:none;\"><span style=\"color:#dc2626;font-weight:700;margin-right:8px;\">01<\/span>Value\u30d7\u30ed\u30d1\u30c6\u30a3\u3068\u306f\uff08\u57fa\u672c\u6982\u5ff5\uff09<\/a><\/li>\n    <li><a href=\"#sec-02\" style=\"color:#495057;text-decoration:none;\"><span style=\"color:#dc2626;font-weight:700;margin-right:8px;\">02<\/span>Range.Value\u3068Cells.Value\u306e\u4f7f\u3044\u65b9<\/a><\/li>\n    <li><a href=\"#sec-03\" style=\"color:#495057;text-decoration:none;\"><span style=\"color:#dc2626;font-weight:700;margin-right:8px;\">03<\/span>\u30bb\u30eb\u5024\u306e\u53d6\u5f97\uff08\u5909\u6570\u3078\u306e\u4ee3\u5165\uff09<\/a><\/li>\n    <li><a href=\"#sec-04\" style=\"color:#495057;text-decoration:none;\"><span style=\"color:#dc2626;font-weight:700;margin-right:8px;\">04<\/span>\u30bb\u30eb\u5024\u306e\u66f8\u304d\u8fbc\u307f\uff08\u8a2d\u5b9a\uff09<\/a><\/li>\n    <li><a href=\"#sec-05\" style=\"color:#495057;text-decoration:none;\"><span style=\"color:#dc2626;font-weight:700;margin-right:8px;\">05<\/span>Value\u30fbValue2\u30fbText\u30fbFormula\u306e\u9055\u3044<\/a><\/li>\n    <li><a href=\"#sec-06\" style=\"color:#495057;text-decoration:none;\"><span style=\"color:#dc2626;font-weight:700;margin-right:8px;\">06<\/span>\u30eb\u30fc\u30d7\u3067\u8907\u6570\u30bb\u30eb\u3092\u51e6\u7406\u3059\u308b\u30d1\u30bf\u30fc\u30f3<\/a><\/li>\n    <li><a href=\"#sec-07\" style=\"color:#495057;text-decoration:none;\"><span style=\"color:#dc2626;font-weight:700;margin-right:8px;\">07<\/span>\u5909\u6570\u578b\u3068Value\u306e\u578b\u5909\u63db<\/a><\/li>\n    <li><a href=\"#sec-08\" style=\"color:#495057;text-decoration:none;\"><span style=\"color:#dc2626;font-weight:700;margin-right:8px;\">08<\/span>\u696d\u52d9\u5b9f\u8df5\u30d1\u30bf\u30fc\u30f3\uff08\u4e00\u62ec\u8ee2\u8a18\u30fb\u96c6\u8a08\u30fb\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\uff09<\/a><\/li>\n    <li><a href=\"#sec-09\" style=\"color:#495057;text-decoration:none;\"><span style=\"color:#dc2626;font-weight:700;margin-right:8px;\">09<\/span>\u3088\u304f\u3042\u308b\u5931\u6557\u3068\u30c7\u30d0\u30c3\u30b0<\/a><\/li>\n    <li><a href=\"#sec-10\" style=\"color:#495057;text-decoration:none;\"><span style=\"color:#dc2626;font-weight:700;margin-right:8px;\">10<\/span>Claude Code\u3068\u306e\u6d3b\u7528<\/a><\/li>\n    <li><a href=\"#sec-11\" style=\"color:#495057;text-decoration:none;\"><span style=\"color:#dc2626;font-weight:700;margin-right:8px;\">11<\/span>\u307e\u3068\u3081<\/a><\/li>\n    <li><a href=\"#faq\" style=\"color:#495057;text-decoration:none;\"><span style=\"color:#dc2626;font-weight:700;margin-right:8px;\">FAQ<\/span>\u3088\u304f\u3042\u308b\u8cea\u554f<\/a><\/li>\n  <\/ol>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u300c\u30bb\u30eb\u306e\u5024\u3092VBA\u3067\u8aad\u307f\u53d6\u308a\u305f\u3044\u3051\u3069\u3001Value\u3068Value2\u3068Text\u306e\u9055\u3044\u304c\u5206\u304b\u3089\u306a\u3044\u300d\u300cRange\u3067\u6307\u5b9a\u3059\u308b\u306e\u3068Cells\u3067\u6307\u5b9a\u3059\u308b\u306e\u306f\u3069\u3046\u4f7f\u3044\u5206\u3051\u308b\u306e\u304b\u300d\u300c\u65e5\u4ed8\u30bb\u30eb\u3092\u5909\u6570\u306b\u53d6\u308a\u8fbc\u3093\u3060\u3089\u30b7\u30ea\u30a2\u30eb\u5024\u306b\u306a\u3063\u3066\u3057\u307e\u3063\u305f\u300d\u2014\u2014VBA\u3092\u66f8\u304d\u59cb\u3081\u308b\u3068\u3001Value\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u7d30\u304b\u3044\u6319\u52d5\u306b\u6238\u60d1\u3046\u5834\u9762\u304c\u591a\u3005\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001VBA\u306eValue\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u5b8c\u5168\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002Range.Value\u3068Cells.Value\u306e\u4f7f\u3044\u65b9\u30fb\u5909\u6570\u3078\u306e\u4ee3\u5165\u30fb\u30bb\u30eb\u3078\u306e\u66f8\u304d\u8fbc\u307f\u30fbValue2\uff0fText\uff0fFormula\u3068\u306e\u9055\u3044\u30fb\u30eb\u30fc\u30d7\u51e6\u7406\u30fb\u578b\u5909\u63db\u30fb\u696d\u52d9\u6d3b\u7528\u30d1\u30bf\u30fc\u30f3\u307e\u3067\u3001\u5b9f\u969b\u306b\u52d5\u304f\u30b3\u30fc\u30c9\u4f8b\u3092\u8c4a\u5bcc\u306b\u4ea4\u3048\u3066\u8aac\u660e\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\">\u5f0a\u793e\u306e\u7d4c\u9a13\u4e0a\u3001VBA\u521d\u5b66\u8005\u304c\u3064\u307e\u305a\u304f\u6700\u591a\u30dd\u30a4\u30f3\u30c8\u306e\u3072\u3068\u3064\u304c\u300cValue\u30d7\u30ed\u30d1\u30c6\u30a3\u300d\u3067\u3059\u3002\u30bb\u30eb\u306e\u5024\u3092\u53d6\u5f97\u30fb\u8a2d\u5b9a\u3059\u308b\u3060\u3051\u306a\u306e\u306b\u3001Value2\u3068\u4f55\u304c\u9055\u3046\u306e\u304b\u3001Text\u3068\u3069\u3046\u4f7f\u3044\u5206\u3051\u308b\u306e\u304b\u304c\u5206\u304b\u3089\u305a\u7acb\u3061\u6b62\u307e\u308b\u65b9\u304c\u591a\u3044\u3002\u3053\u306e\u8a18\u4e8b\u3067\u4e00\u5ea6\u6574\u7406\u3057\u3066\u3057\u307e\u3048\u3070\u3001\u30bb\u30eb\u64cd\u4f5c\u3067\u8ff7\u3046\u3053\u3068\u306f\u307b\u307c\u306a\u304f\u306a\u308a\u307e\u3059\u3002<\/div>\n<\/div>\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><strong>Value\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u57fa\u672c<\/strong>\uff1aRange\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u30d7\u30ed\u30d1\u30c6\u30a3\u3068\u3057\u3066\u306e\u6319\u52d5<\/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>Range.Value\u3068Cells.Value<\/strong>\uff1a2\u901a\u308a\u306e\u30bb\u30eb\u6307\u5b9a\u65b9\u6cd5\u3068\u4f7f\u3044\u5206\u3051<\/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>\u5024\u306e\u53d6\u5f97\u30fb\u66f8\u304d\u8fbc\u307f<\/strong>\uff1a\u5909\u6570\u3078\u306e\u4ee3\u5165\u3068\u4ee3\u5165\u5148\u30bb\u30eb\u3078\u306e\u66f8\u304d\u8fbc\u307f\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>Value2\u30fbText\u30fbFormula<\/strong>\uff1a4\u3064\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u9055\u3044\u3068\u4f7f\u3044\u5206\u3051\u65e9\u898b\u8868<\/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>\u30eb\u30fc\u30d7\u51e6\u7406<\/strong>\uff1aFor\/For Each\u3067\u306e\u8907\u6570\u30bb\u30eb\u51e6\u7406\u30d1\u30bf\u30fc\u30f3<\/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>\u696d\u52d9\u6d3b\u7528\u30d1\u30bf\u30fc\u30f3<\/strong>\uff1a\u4e00\u62ec\u8ee2\u8a18\u30fb\u96c6\u8a08\u30fb\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u5909\u63db\u306e\u5b9f\u8df5\u30b3\u30fc\u30c9<\/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\/seminar2-blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=cc-vba-value-property&#038;blog_slug=cc-vba-value-property\" target=\"_blank\" rel=\"noopener\" aria-label=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff08\u7121\u6599\u30fb1on1\u30fb60\u5206\uff09\u306e\u4e88\u7d04\u753b\u9762\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\/05\/cta_seminar_claude_code_2026.jpg\" alt=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff5c\u7d4c\u55b6\u8005\u30fb\u4f1a\u793e\u5f79\u54e1\u5c02\u7528 1on1 60\u5206 \u7121\u6599\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><a href=\"https:\/\/aikanri.genai-ai.co.jp\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_campaign=cc-vba-value-property&#038;utm_content=h2-banner-kanri\" target=\"_blank\" rel=\"noopener\" aria-label=\"AI\u9b3c\u7ba1\u7406 \u516c\u5f0f\u30b5\u30a4\u30c8\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\/05\/cta_blog_1to1.jpg\" alt=\"Claude Code\u3092\u7d4c\u55b6\u306b\u6d3b\u304b\u3057\u305f\u3044\u65b9\u3078 \u2014 AI\u9b3c\u7ba1\u7406\" 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;\">VALUE BASICS<\/span>\n  <span class=\"section-title\" style=\"display:block;\">Value\u30d7\u30ed\u30d1\u30c6\u30a3\u3068\u306f\uff08\u57fa\u672c\u6982\u5ff5\uff09<\/span>\n  <span class=\"section-desc\">Range\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306eValue\u304c\u30bb\u30eb\u64cd\u4f5c\u306e\u4e2d\u5fc3\u3067\u3042\u308b\u7406\u7531<\/span>\n<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">VBA\u306eValue\u30d7\u30ed\u30d1\u30c6\u30a3\u306f\u3001Range\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\uff08\u30bb\u30eb\u306e\u53c2\u7167\uff09\u304c\u6301\u3064\u30d7\u30ed\u30d1\u30c6\u30a3\u3067\u3001\u300c\u30bb\u30eb\u306b\u5165\u529b\u3055\u308c\u3066\u3044\u308b\u5024\u300d\u3092\u53d6\u5f97\u30fb\u8a2d\u5b9a\u3059\u308b\u305f\u3081\u306b\u4f7f\u3044\u307e\u3059\u3002\u6570\u5024\u30fb\u6587\u5b57\u5217\u30fb\u65e5\u4ed8\u30fb\u8ad6\u7406\u5024\u306a\u3069\u3001\u30bb\u30eb\u306b\u5165\u529b\u3055\u308c\u305f\u3042\u3089\u3086\u308b\u7a2e\u985e\u306e\u5024\u3092\u3084\u308a\u53d6\u308a\u3067\u304d\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>Value\u30d7\u30ed\u30d1\u30c6\u30a3<\/strong>\uff1aRange\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304c\u6301\u3064\u30d7\u30ed\u30d1\u30c6\u30a3\u3067\u3001\u30bb\u30eb\u306b\u683c\u7d0d\u3055\u308c\u3066\u3044\u308b\u5024\u3092\u53d6\u5f97\u307e\u305f\u306f\u8a2d\u5b9a\u3057\u307e\u3059\u3002\u6570\u5024\u30fb\u6587\u5b57\u5217\u30fb\u65e5\u4ed8\u30fb\u8ad6\u7406\u5024\uff08True\/False\uff09\u306b\u5bfe\u5fdc\u3057\u3001\u7a7a\u767d\u30bb\u30eb\u306fEmpty\uff08\u672a\u521d\u671f\u5316\u5024\uff09\u3092\u8fd4\u3057\u307e\u3059\u3002Range\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u30d7\u30ed\u30d1\u30c6\u30a3\u3067\u3042\u308b\u305f\u3081Range(\"A1\").Value\u306f Range(\"A1\")\u3068\u7701\u7565\u53ef\u80fd\u3067\u3059\u304c\u3001\u53ef\u8aad\u6027\u306e\u305f\u3081\u306b\u660e\u793a\u7684\u306b\u66f8\u304f\u3053\u3068\u304c\u63a8\u5968\u3055\u308c\u307e\u3059\u3002<\/p>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">VBA\u3067\u30bb\u30eb\u3092\u64cd\u4f5c\u3059\u308b\u5834\u9762\u306f\u975e\u5e38\u306b\u591a\u304f\u3001Value\u30d7\u30ed\u30d1\u30c6\u30a3\u306f\u307b\u307c\u5168\u3066\u306e\u696d\u52d9\u30de\u30af\u30ed\u3067\u4f7f\u3044\u307e\u3059\u3002\u30bb\u30eb\u306e\u5024\u3092\u8aad\u307f\u53d6\u3063\u3066\u6761\u4ef6\u5206\u5c90\u3059\u308b\u30fb\u5225\u306e\u30bb\u30eb\u306b\u5024\u3092\u8ee2\u8a18\u3059\u308b\u30fb\u8a08\u7b97\u7d50\u679c\u3092\u66f8\u304d\u8fbc\u3080\u2014\u2014\u3053\u3046\u3057\u305f\u64cd\u4f5c\u306e\u5168\u3066\u304cValue\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u901a\u3057\u3066\u884c\u308f\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<table>\n<thead><tr><th>\u64cd\u4f5c<\/th><th>\u30b3\u30fc\u30c9\u4f8b<\/th><th>\u8aac\u660e<\/th><\/tr><\/thead>\n<tbody>\n<tr><td>\u30bb\u30eb\u5024\u3092\u53d6\u5f97<\/td><td>v = Range(\"A1\").Value<\/td><td>\u30bb\u30ebA1\u306e\u5024\u3092\u5909\u6570v\u306b\u4ee3\u5165<\/td><\/tr>\n<tr><td>\u30bb\u30eb\u5024\u3092\u8a2d\u5b9a<\/td><td>Range(\"A1\").Value = 100<\/td><td>\u30bb\u30ebA1\u306b100\u3092\u66f8\u304d\u8fbc\u3080<\/td><\/tr>\n<tr><td>\u30bb\u30eb\u5024\u3092\u30b3\u30d4\u30fc<\/td><td>Range(\"B1\").Value = Range(\"A1\").Value<\/td><td>A1\u306e\u5024\u3092B1\u306b\u8ee2\u8a18<\/td><\/tr>\n<tr><td>\u30bb\u30eb\u5024\u3092\u6d88\u53bb<\/td><td>Range(\"A1\").Value = \"\"<\/td><td>A1\u306e\u5024\u3092\u7a7a\u767d\u306b\u3059\u308b\uff08ClearContents\u3068\u540c\u69d8\uff09<\/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>Range\u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong><br><span style=\"font-size:12px;\">\u30bb\u30eb\u306e\u53c2\u7167\uff08Range\/Cells\uff09<\/span><\/div>\n  <div class=\"g-flow-arrow\">&#8594;<\/div>\n  <div class=\"g-flow-item\"><strong>.Value\u30d7\u30ed\u30d1\u30c6\u30a3<\/strong><br><span style=\"font-size:12px;\">\u5024\u306e\u8aad\u307f\u66f8\u304d\u7a93\u53e3<\/span><\/div>\n  <div class=\"g-flow-arrow\">&#8594;<\/div>\n  <div class=\"g-flow-item\"><strong>\u30bb\u30eb\u306e\u5024<\/strong><br><span style=\"font-size:12px;\">\u6570\u5024\/\u6587\u5b57\u5217\/\u65e5\u4ed8\/\u8ad6\u7406\u5024<\/span><\/div>\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;\">\n    <span style=\"font-size:18px;\">&#128161;<\/span>\n    <strong style=\"color:#16a34a;font-size:15px;\">Value\u306fRange\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u30d7\u30ed\u30d1\u30c6\u30a3<\/strong>\n  <\/div>\n  <p style=\"margin:0;font-size:15px;line-height:1.8;color:#333;\">Range(\"A1\").Value\u306f\u3001.Value\u3092\u7701\u7565\u3057\u3066Range(\"A1\")\u3068\u66f8\u3044\u3066\u3082\u540c\u3058\u52d5\u4f5c\u3092\u3057\u307e\u3059\u3002VBA\u3067Range\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u7701\u7565\u3057\u305f\u5834\u5408\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u30d7\u30ed\u30d1\u30c6\u30a3\u3067\u3042\u308bValue\u304c\u4f7f\u308f\u308c\u307e\u3059\u3002\u305f\u3060\u3057\u3001\u30b3\u30fc\u30c9\u306e\u610f\u56f3\u304c\u5206\u304b\u308a\u3084\u3059\u304f\u306a\u308b\u305f\u3081\u3001\u660e\u793a\u7684\u306b.Value\u3068\u66f8\u304f\u3053\u3068\u304c\u63a8\u5968\u3055\u308c\u307e\u3059\u3002<\/p>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Value\u30d7\u30ed\u30d1\u30c6\u30a3\u304c\u8fd4\u3059\u578b\uff08\u30c7\u30fc\u30bf\u578b\uff09\u306f\u30bb\u30eb\u306e\u5185\u5bb9\u306b\u3088\u3063\u3066\u5909\u308f\u308a\u307e\u3059\u3002\u6570\u5024\u30bb\u30eb\u306fDouble\u578b\u3001\u6587\u5b57\u5217\u30bb\u30eb\u306fString\u578b\u3001\u65e5\u4ed8\u30bb\u30eb\u306fDate\u578b\u3001\u8ad6\u7406\u5024\u30bb\u30eb\u306fBoolean\u578b\u3001\u7a7a\u767d\u30bb\u30eb\u306fEmpty\uff08Variant\u578b\u306eEmpty\u5024\uff09\u3068\u3057\u3066\u8fd4\u308a\u307e\u3059\u3002\u3053\u306e\u300c\u578b\u304c\u52d5\u7684\u306b\u5909\u308f\u308b\u300d\u6027\u8cea\u3092\u7406\u89e3\u3057\u3066\u304a\u304f\u3053\u3068\u304c\u3001\u5f8c\u8ff0\u3059\u308b\u578b\u5909\u63db\u306e\u554f\u984c\u3092\u56de\u907f\u3059\u308b\u3046\u3048\u3067\u91cd\u8981\u3067\u3059\u3002<\/p>\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\">Value\u30d7\u30ed\u30d1\u30c6\u30a3\u304c\u8fd4\u3059\u578b\u304c\u30bb\u30eb\u306b\u3088\u3063\u3066\u5909\u308f\u308b\u3068\u3044\u3046\u70b9\u306f\u3001VBA\u521d\u5fc3\u8005\u304c\u6700\u521d\u306b\u3064\u307e\u305a\u304f\u30dd\u30a4\u30f3\u30c8\u3067\u3059\u3002\u6570\u5024\u306e\u3064\u3082\u308a\u3067\u53d6\u5f97\u3057\u305f\u306e\u306b\u6587\u5b57\u5217\u304c\u5165\u3063\u3066\u3044\u305f\u308a\u3001\u65e5\u4ed8\u306e\u3064\u3082\u308a\u3067\u53d6\u5f97\u3057\u305f\u306e\u306b\u30b7\u30ea\u30a2\u30eb\u5024\u306e\u6570\u5024\u304c\u8fd4\u3063\u3066\u304d\u305f\u308a\u3002\u307e\u305a\u306f\u300cValue\u306f\u30bb\u30eb\u306e\u898b\u305f\u76ee\u901a\u308a\u306e\u5024\u3092\u8fd4\u3059\u306e\u3067\u306f\u306a\u304f\u3001\u30bb\u30eb\u306b\u683c\u7d0d\u3055\u308c\u3066\u3044\u308b\u5b9f\u969b\u306e\u5024\u3092\u8fd4\u3059\u300d\u3068\u899a\u3048\u307e\u3057\u3087\u3046\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\/seminar2-blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=cc-vba-value-property&#038;blog_slug=cc-vba-value-property\" target=\"_blank\" rel=\"noopener\" aria-label=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff08\u7121\u6599\u30fb1on1\u30fb60\u5206\uff09\u306e\u4e88\u7d04\u753b\u9762\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\/05\/cta_seminar_claude_code_2026.jpg\" alt=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff5c\u7d4c\u55b6\u8005\u30fb\u4f1a\u793e\u5f79\u54e1\u5c02\u7528 1on1 60\u5206 \u7121\u6599\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><a href=\"https:\/\/aikanri.genai-ai.co.jp\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_campaign=cc-vba-value-property&#038;utm_content=h2-banner-kanri\" target=\"_blank\" rel=\"noopener\" aria-label=\"AI\u9b3c\u7ba1\u7406 \u516c\u5f0f\u30b5\u30a4\u30c8\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\/05\/cta_blog_1to1.jpg\" alt=\"Claude Code\u3092\u7d4c\u55b6\u306b\u6d3b\u304b\u3057\u305f\u3044\u65b9\u3078 \u2014 AI\u9b3c\u7ba1\u7406\" 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;\">RANGE AND CELLS<\/span>\n  <span class=\"section-title\" style=\"display:block;\">Range.Value\u3068Cells.Value\u306e\u4f7f\u3044\u65b9<\/span>\n  <span class=\"section-desc\">\u30bb\u30eb\u3092\u6587\u5b57\u5217\u3067\u6307\u5b9a\u3059\u308b\u304b\u884c\u5217\u756a\u53f7\u3067\u6307\u5b9a\u3059\u308b\u304b\u306e\u4f7f\u3044\u5206\u3051<\/span>\n<\/h2>\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>Range\u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong>\uff1aVBA\u3067\u30bb\u30eb\uff08\u307e\u305f\u306f\u8907\u6570\u30bb\u30eb\u306e\u7bc4\u56f2\uff09\u3092\u53c2\u7167\u3059\u308b\u305f\u3081\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3002Range(\"A1\")\u30fbRange(\"A1:C10\")\u306e\u3088\u3046\u306b\u30bb\u30eb\u30a2\u30c9\u30ec\u30b9\u306e\u6587\u5b57\u5217\u3067\u6307\u5b9a\u3057\u307e\u3059\u3002\u5358\u4e00\u30bb\u30eb\u30fb\u7bc4\u56f2\u30fb\u8907\u6570\u7bc4\u56f2\u30fb\u540d\u524d\u4ed8\u304d\u7bc4\u56f2\u306a\u3069\u591a\u69d8\u306a\u6307\u5b9a\u304c\u53ef\u80fd\u3067\u3059\u3002Worksheet\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u307e\u305f\u306fApplication\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u7d4c\u7531\u3067\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">VBA\u3067\u30bb\u30eb\u3092\u53c2\u7167\u3059\u308b\u4e3b\u306a\u65b9\u6cd5\u306f\u300cRange\u300d\u3068\u300cCells\u300d\u306e2\u7a2e\u985e\u3067\u3059\u3002\u3069\u3061\u3089\u3082Range\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8fd4\u3057\u3001.Value\u30d7\u30ed\u30d1\u30c6\u30a3\u3067\u30bb\u30eb\u306e\u5024\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u3059\u3002\u4f7f\u3044\u65b9\u306e\u9055\u3044\u3092\u7406\u89e3\u3057\u3066\u5834\u9762\u3054\u3068\u306b\u4f7f\u3044\u5206\u3051\u308b\u3053\u3068\u304c\u91cd\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  <pre style=\"margin:0;font-family:'Courier New',monospace;font-size:13px;line-height:1.8;color:#d4d4d4;white-space:pre-wrap;\">&#x27; Range \u3068 Cells \u306e\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9\nSub RangeVsCells()\n    Dim ws As Worksheet\n    Set ws = ThisWorkbook.Sheets(&quot;Sheet1&quot;)\n\n    &#x27; Range: \u30bb\u30eb\u30a2\u30c9\u30ec\u30b9\u6587\u5b57\u5217\u3067\u6307\u5b9a\n    Dim valA As Variant\n    valA = ws.Range(&quot;A1&quot;).Value\n    MsgBox &quot;Range\u65b9\u5f0f: &quot; &amp; valA\n\n    &#x27; Cells: \u884c\u756a\u53f7\u30fb\u5217\u756a\u53f7\uff08\u6570\u5024\uff09\u3067\u6307\u5b9a\n    Dim valB As Variant\n    valB = ws.Cells(1, 1).Value  &#x27; \u884c1\u3001\u52171 = A1\u3068\u540c\u3058\n    MsgBox &quot;Cells\u65b9\u5f0f: &quot; &amp; valB\n\n    &#x27; \u7bc4\u56f2\u5168\u4f53\u306b\u5024\u3092\u8a2d\u5b9a\n    ws.Range(&quot;A1:A5&quot;).Value = &quot;\u521d\u671f\u5024&quot;  &#x27; Range \u306f\u7bc4\u56f2\u6307\u5b9a\u304c\u5f97\u610f\n\n    &#x27; \u30eb\u30fc\u30d7\u3068Cells\u306e\u7d44\u307f\u5408\u308f\u305b\uff08\u5217\u756a\u53f7\u3092\u5909\u6570\u306b\u3067\u304d\u308b\uff09\n    Dim c As Integer\n    For c = 1 To 5\n        ws.Cells(1, c).Value = c * 10  &#x27; \u5217\u756a\u53f7\u3092\u5909\u6570\u3067\u5236\u5fa1\u3067\u304d\u308b\n    Next c\nEnd Sub<\/pre>\n<\/div>\n\n\n\n<table>\n<thead><tr><th>\u6307\u5b9a\u65b9\u6cd5<\/th><th>\u8a18\u8ff0\u4f8b<\/th><th>\u5f97\u610f\u306a\u5834\u9762<\/th><\/tr><\/thead>\n<tbody>\n<tr><td>Range(\"A1\")<\/td><td>Range(\"A1\").Value<\/td><td>\u56fa\u5b9a\u30bb\u30eb\u30a2\u30c9\u30ec\u30b9\u3092\u76f4\u63a5\u66f8\u304f\u5834\u5408<\/td><\/tr>\n<tr><td>Range(\"A1:C5\")<\/td><td>Range(\"A1:C5\").Value<\/td><td>\u8907\u6570\u30bb\u30eb\u7bc4\u56f2\u3092\u4e00\u62ec\u3067\u6271\u3046\u5834\u5408<\/td><\/tr>\n<tr><td>Cells(\u884c, \u5217)<\/td><td>Cells(r, c).Value<\/td><td>\u884c\u756a\u53f7\u30fb\u5217\u756a\u53f7\u3092\u5909\u6570\u3067\u5236\u5fa1\u3059\u308b\u30eb\u30fc\u30d7\u51e6\u7406<\/td><\/tr>\n<tr><td>ws.Range \/ ws.Cells<\/td><td>ws.Range(\"A1\").Value<\/td><td>\u30b7\u30fc\u30c8\u3092\u660e\u793a\u3057\u3066\u4ed6\u30b7\u30fc\u30c8\u3092\u64cd\u4f5c\u3059\u308b\u5834\u5408<\/td><\/tr>\n<\/tbody>\n<\/table>\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>Cells\u30d7\u30ed\u30d1\u30c6\u30a3\uff08\u884c\u30fb\u5217\u6307\u5b9a\uff09<\/strong>\uff1a\u30ef\u30fc\u30af\u30b7\u30fc\u30c8\u307e\u305f\u306fRange\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u3067\u3001\u884c\u756a\u53f7\u3068\u5217\u756a\u53f7\u306e\u6574\u6570\u3067\u5358\u4e00\u30bb\u30eb\u3092\u53c2\u7167\u3057\u307e\u3059\u3002Cells(\u884c, \u5217)\u306e\u5f62\u5f0f\u3067\u4f7f\u3044\u3001\u5217\u306f\u6570\u5024\uff081=A\u30012=B\u2026\uff09\u3067\u6307\u5b9a\u3057\u307e\u3059\u3002\u30eb\u30fc\u30d7\u51e6\u7406\u3067\u884c\u756a\u53f7\u30fb\u5217\u756a\u53f7\u3092\u5909\u6570\u3067\u5236\u5fa1\u3067\u304d\u308b\u305f\u3081\u3001\u52d5\u7684\u306a\u30bb\u30eb\u64cd\u4f5c\u306b\u6700\u9069\u3067\u3059\u3002Cells(1, 1)\u306fRange(\"A1\")\u3068\u540c\u3058\u30bb\u30eb\u3092\u6307\u3057\u307e\u3059\u3002<\/p>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">2-1. \u30b7\u30fc\u30c8\u3092\u660e\u793a\u3057\u3066\u6307\u5b9a\u3059\u308b\u3053\u3068\u304c\u91cd\u8981<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Range\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4f7f\u3046\u969b\u306f\u3001\u3069\u306e\u30b7\u30fc\u30c8\u306e\u30bb\u30eb\u304b\u3092\u660e\u793a\u3059\u308b\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002\u30b7\u30fc\u30c8\u3092\u7701\u7565\u3059\u308b\u3068\u30a2\u30af\u30c6\u30a3\u30d6\u30b7\u30fc\u30c8\uff08ActiveSheet\uff09\u304c\u5bfe\u8c61\u306b\u306a\u308a\u307e\u3059\u304c\u3001\u30de\u30af\u30ed\u5b9f\u884c\u4e2d\u306b\u5225\u306e\u30b7\u30fc\u30c8\u304c\u30a2\u30af\u30c6\u30a3\u30d6\u306b\u306a\u3063\u3066\u3044\u308b\u3068\u610f\u56f3\u3057\u306a\u3044\u30b7\u30fc\u30c8\u3092\u64cd\u4f5c\u3057\u3066\u3057\u307e\u3044\u307e\u3059\u3002\u696d\u52d9\u30de\u30af\u30ed\u3067\u306fws.Range(\"A1\")\u306e\u3088\u3046\u306b\u30b7\u30fc\u30c8\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u5fc5\u305a\u524d\u7f6e\u3059\u308b\u7fd2\u6163\u3092\u3064\u3051\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<div style=\"background:#1e1e1e;border-radius:8px;padding:20px 24px;margin:20px 0;overflow-x:auto;\">\n  <pre style=\"margin:0;font-family:'Courier New',monospace;font-size:13px;line-height:1.8;color:#d4d4d4;white-space:pre-wrap;\">&#x27; \u30b7\u30fc\u30c8\u3092\u660e\u793a\u3059\u308b\u66f8\u304d\u65b9\uff08\u63a8\u5968\uff09\nSub SheetExplicit()\n    &#x27; \u30b7\u30fc\u30c8\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u5909\u6570\u306b\u5165\u308c\u3066\u4f7f\u3044\u56de\u3059\uff08\u63a8\u5968\uff09\n    Dim srcWs As Worksheet\n    Dim dstWs As Worksheet\n    Set srcWs = ThisWorkbook.Sheets(&quot;\u30c7\u30fc\u30bf&quot;)\n    Set dstWs = ThisWorkbook.Sheets(&quot;\u96c6\u8a08&quot;)\n\n    &#x27; \u30b7\u30fc\u30c8\u3092\u660e\u793a\u3057\u3066Value\u3092\u53d6\u5f97\u30fb\u8a2d\u5b9a\n    Dim total As Double\n    total = srcWs.Cells(2, 3).Value + srcWs.Cells(3, 3).Value\n    dstWs.Range(&quot;B2&quot;).Value = total\n\n    &#x27; \u30b7\u30fc\u30c8\u3092\u7701\u7565\uff08\u975e\u63a8\u5968\uff1a\u30a2\u30af\u30c6\u30a3\u30d6\u30b7\u30fc\u30c8\u304c\u5bfe\u8c61\u306b\u306a\u308b\uff09\n    &#x27; Range(&quot;A1&quot;).Value = 100  \u2190 \u3069\u306e\u30b7\u30fc\u30c8\u304b\u5206\u304b\u3089\u306a\u3044\nEnd Sub<\/pre>\n<\/div>\n\n\n\n<div class=\"g-flow-row\" style=\"margin:24px 0;\">\n  <div class=\"g-flow-item\"><strong>\u30b7\u30fc\u30c8\u5909\u6570\u3092\u8a2d\u5b9a<\/strong><br><span style=\"font-size:12px;\">Set ws = Sheets(\"...\")<\/span><\/div>\n  <div class=\"g-flow-arrow\">&#8594;<\/div>\n  <div class=\"g-flow-item\"><strong>ws.Range \/ ws.Cells<\/strong><br><span style=\"font-size:12px;\">\u30b7\u30fc\u30c8\u3092\u660e\u793a\u3057\u3066\u53c2\u7167<\/span><\/div>\n  <div class=\"g-flow-arrow\">&#8594;<\/div>\n  <div class=\"g-flow-item\"><strong>.Value\u3067\u5024\u3092\u53d6\u5f97\/\u8a2d\u5b9a<\/strong><br><span style=\"font-size:12px;\">\u5b89\u5168\u306a\u30bb\u30eb\u64cd\u4f5c<\/span><\/div>\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;\">\n    <span style=\"font-size:18px;\">&#128161;<\/span>\n    <strong style=\"color:#16a34a;font-size:15px;\">Cells(\u884c, \u5217)\u306e\u5217\u756a\u53f7\u3092\u899a\u3048\u308b\u65b9\u6cd5<\/strong>\n  <\/div>\n  <p style=\"margin:0;font-size:15px;line-height:1.8;color:#333;\">\u5217\u756a\u53f7\u3068\u30a2\u30eb\u30d5\u30a1\u30d9\u30c3\u30c8\u306e\u5bfe\u5fdc\u306f\u300cA=1\u3001B=2\u3001C=3\u2026Z=26\u3001AA=27\u2026\u300d\u3067\u3059\u3002VBA\u3067\u306fColumns(\"A\").Column \u3067\u30a2\u30eb\u30d5\u30a1\u30d9\u30c3\u30c8\u3092\u6570\u5024\u306b\u5909\u63db\u3067\u304d\u307e\u3059\u3002\u307e\u305f\u3001Range(\"C1\").Column \u3067\u7279\u5b9a\u30bb\u30eb\u306e\u5217\u756a\u53f7\uff08\u6574\u6570\uff09\u3092\u53d6\u5f97\u3067\u304d\u308b\u305f\u3081\u3001\u30a2\u30c9\u30ec\u30b9\u6587\u5b57\u5217\u3068\u6570\u5024\u3092\u76f8\u4e92\u5909\u63db\u3057\u306a\u304c\u3089\u4f7f\u3046\u3053\u3068\u304c\u3067\u304d\u307e\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\/seminar2-blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=cc-vba-value-property&#038;blog_slug=cc-vba-value-property\" target=\"_blank\" rel=\"noopener\" aria-label=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff08\u7121\u6599\u30fb1on1\u30fb60\u5206\uff09\u306e\u4e88\u7d04\u753b\u9762\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\/05\/cta_seminar_claude_code_2026.jpg\" alt=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff5c\u7d4c\u55b6\u8005\u30fb\u4f1a\u793e\u5f79\u54e1\u5c02\u7528 1on1 60\u5206 \u7121\u6599\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><a href=\"https:\/\/aikanri.genai-ai.co.jp\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_campaign=cc-vba-value-property&#038;utm_content=h2-banner-kanri\" target=\"_blank\" rel=\"noopener\" aria-label=\"AI\u9b3c\u7ba1\u7406 \u516c\u5f0f\u30b5\u30a4\u30c8\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\/05\/cta_blog_1to1.jpg\" alt=\"Claude Code\u3092\u7d4c\u55b6\u306b\u6d3b\u304b\u3057\u305f\u3044\u65b9\u3078 \u2014 AI\u9b3c\u7ba1\u7406\" 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;\">GET VALUES<\/span>\n  <span class=\"section-title\" style=\"display:block;\">\u30bb\u30eb\u5024\u306e\u53d6\u5f97\uff08\u5909\u6570\u3078\u306e\u4ee3\u5165\uff09<\/span>\n  <span class=\"section-desc\">\u6570\u5024\u30fb\u6587\u5b57\u5217\u30fb\u65e5\u4ed8\u30fb\u8ad6\u7406\u5024\u305d\u308c\u305e\u308c\u306e\u53d6\u5f97\u30d1\u30bf\u30fc\u30f3<\/span>\n<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u30bb\u30eb\u306e\u5024\u3092\u5909\u6570\u306b\u4ee3\u5165\u3057\u3066\u4f7f\u3046\u64cd\u4f5c\u306f\u3001VBA\u30de\u30af\u30ed\u306e\u4e2d\u3067\u6700\u3082\u983b\u7e41\u306b\u884c\u308f\u308c\u307e\u3059\u3002\u5909\u6570\u306e\u5ba3\u8a00\u578b\u306b\u3088\u3063\u3066\u53d6\u5f97\u5f8c\u306e\u6271\u3044\u65b9\u304c\u5909\u308f\u308b\u305f\u3081\u3001\u9069\u5207\u306a\u578b\u3092\u9078\u629e\u3059\u308b\u3053\u3068\u304c\u91cd\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  <pre style=\"margin:0;font-family:'Courier New',monospace;font-size:13px;line-height:1.8;color:#d4d4d4;white-space:pre-wrap;\">&#x27; \u5404\u30c7\u30fc\u30bf\u578b\u306e\u30bb\u30eb\u5024\u53d6\u5f97\u30d1\u30bf\u30fc\u30f3\nSub GetCellValues()\n    Dim ws As Worksheet\n    Set ws = ThisWorkbook.Sheets(&quot;Sheet1&quot;)\n\n    &#x27; \u6570\u5024\u306e\u53d6\u5f97\n    Dim numVal As Double\n    numVal = ws.Range(&quot;B2&quot;).Value  &#x27; \u30bb\u30ebB2\u306e\u6570\u5024\u3092\u53d6\u5f97\n    MsgBox &quot;\u6570\u5024: &quot; &amp; numVal\n\n    &#x27; \u6587\u5b57\u5217\u306e\u53d6\u5f97\n    Dim strVal As String\n    strVal = ws.Range(&quot;C2&quot;).Value  &#x27; \u30bb\u30ebC2\u306e\u6587\u5b57\u5217\u3092\u53d6\u5f97\n    MsgBox &quot;\u6587\u5b57\u5217: &quot; &amp; strVal\n\n    &#x27; \u65e5\u4ed8\u306e\u53d6\u5f97\n    Dim dtVal As Date\n    dtVal = ws.Range(&quot;D2&quot;).Value  &#x27; \u30bb\u30ebD2\u306e\u65e5\u4ed8\u3092\u53d6\u5f97\n    MsgBox &quot;\u65e5\u4ed8: &quot; &amp; Format(dtVal, &quot;yyyy\/mm\/dd&quot;)\n\n    &#x27; \u8ad6\u7406\u5024\u306e\u53d6\u5f97\n    Dim boolVal As Boolean\n    boolVal = ws.Range(&quot;E2&quot;).Value  &#x27; \u30bb\u30ebE2\u306eTRUE\/FALSE\u3092\u53d6\u5f97\n    MsgBox &quot;\u8ad6\u7406\u5024: &quot; &amp; boolVal\n\n    &#x27; \u578b\u304c\u4e0d\u660e\u306a\u5834\u5408\u306fVariant\u3067\u53d7\u3051\u308b\n    Dim anyVal As Variant\n    anyVal = ws.Range(&quot;F2&quot;).Value\n    MsgBox &quot;\u578b: &quot; &amp; TypeName(anyVal) &amp; &quot; \/ \u5024: &quot; &amp; anyVal\nEnd Sub<\/pre>\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\u306e\u5024\u3092\u5909\u6570\u306b\u53d6\u5f97\u3059\u308b\u3068\u304d\u3001\u578b\u304c\u5206\u304b\u3089\u306a\u3044\u5834\u5408\u306f\u300cVariant\u578b\u300d\u3067\u53d7\u3051\u53d6\u308b\u306e\u304c\u5b89\u5168\u3067\u3059\u3002Variant\u306fVBA\u306e\u3042\u3089\u3086\u308b\u578b\u3092\u683c\u7d0d\u3067\u304d\u308b\u4e07\u80fd\u578b\u3067\u3059\u3002\u305f\u3060\u3057\u578b\u30c1\u30a7\u30c3\u30af\u3092\u7701\u304f\u3068\u5f8c\u3067\u578b\u4e0d\u4e00\u81f4\u30a8\u30e9\u30fc\u304c\u8d77\u304d\u308b\u3053\u3068\u304c\u3042\u308b\u305f\u3081\u3001\u696d\u52d9\u30de\u30af\u30ed\u3067\u306f\u53d6\u5f97\u5f8c\u306bIsNumeric\u30fbIsDate\u30fbIsEmpty\u306a\u3069\u306e\u95a2\u6570\u3067\u578b\u30c1\u30a7\u30c3\u30af\u3092\u884c\u3046\u7fd2\u6163\u3092\u3064\u3051\u307e\u3057\u3087\u3046\u3002<\/div>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">3-1. \u7a7a\u767d\u30bb\u30eb\u306e\u6271\u3044\uff08IsEmpty\u95a2\u6570\uff09<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u30bb\u30eb\u304c\u7a7a\u767d\u306e\u5834\u5408\u3001Value\u30d7\u30ed\u30d1\u30c6\u30a3\u306f\u300cEmpty\u300d\uff08Variant\u578b\u306e\u7279\u6b8a\u5024\uff09\u3092\u8fd4\u3057\u307e\u3059\u3002\u7a7a\u767d\u30c1\u30a7\u30c3\u30af\u306b\u306fIsEmpty\u95a2\u6570\u3092\u4f7f\u3046\u306e\u304c\u6700\u3082\u78ba\u5b9f\u3067\u3059\u3002\u7a7a\u6587\u5b57\u5217\uff08\"\"\uff09\u3068\u6bd4\u8f03\u3057\u3066\u3082\u52d5\u4f5c\u3057\u307e\u3059\u304c\u3001\u6570\u5024\u30bb\u30eb\u306b0\u304c\u5165\u3063\u3066\u3044\u308b\u5834\u5408\u3068\u6df7\u540c\u3059\u308b\u3053\u3068\u304c\u3042\u308b\u305f\u3081\u3001IsEmpty\u304c\u63a8\u5968\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  <pre style=\"margin:0;font-family:'Courier New',monospace;font-size:13px;line-height:1.8;color:#d4d4d4;white-space:pre-wrap;\">&#x27; \u7a7a\u767d\u30bb\u30eb\u306e\u30c1\u30a7\u30c3\u30af\u30d1\u30bf\u30fc\u30f3\nSub CheckEmptyCell()\n    Dim ws As Worksheet\n    Set ws = ThisWorkbook.Sheets(&quot;Sheet1&quot;)\n\n    Dim v As Variant\n    v = ws.Range(&quot;A1&quot;).Value\n\n    &#x27; IsEmpty\u3067\u7a7a\u767d\u30c1\u30a7\u30c3\u30af\uff08\u63a8\u5968\uff09\n    If IsEmpty(v) Then\n        MsgBox &quot;\u30bb\u30ebA1\u306f\u7a7a\u767d\u3067\u3059&quot;\n    Else\n        MsgBox &quot;\u30bb\u30ebA1\u306e\u5024: &quot; &amp; v\n    End If\n\n    &#x27; \u7a7a\u6587\u5b57\u3068\u6bd4\u8f03\u3059\u308b\u65b9\u6cd5\uff08\u6587\u5b57\u5217\u30bb\u30eb\u5411\u304d\uff09\n    If v = &quot;&quot; Then\n        MsgBox &quot;\u30bb\u30ebA1\u306f\u7a7a\u767d\u307e\u305f\u306f\u7a7a\u6587\u5b57\u5217\u3067\u3059&quot;\n    End If\n\n    &#x27; \u6570\u5024\u30bb\u30eb\u306e0\u3068\u7a7a\u767d\u3092\u533a\u5225\u3059\u308b\n    If IsEmpty(v) Then\n        MsgBox &quot;\u672a\u5165\u529b&quot;\n    ElseIf IsNumeric(v) And v = 0 Then\n        MsgBox &quot;0\u304c\u5165\u529b\u3055\u308c\u3066\u3044\u307e\u3059&quot;\n    Else\n        MsgBox &quot;\u5024: &quot; &amp; v\n    End If\nEnd Sub<\/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;\">\n    <span style=\"font-size:20px;\">&#9888;&#65039;<\/span>\n    <strong style=\"color:#dc2626;font-size:16px;\">\u65e5\u4ed8\u30bb\u30eb\u3092Long\/Integer\u578b\u3067\u53d7\u3051\u308b\u3068\u6570\u5024\u306b\u306a\u308b<\/strong>\n  <\/div>\n  <p style=\"margin:0;font-size:15px;line-height:1.8;color:#333;\">Excel\u306e\u65e5\u4ed8\u306f\u30b7\u30ea\u30a2\u30eb\u5024\uff081900\u5e741\u67081\u65e5\u30921\u3068\u3057\u305f\u6574\u6570\uff09\u3068\u3057\u3066\u683c\u7d0d\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u65e5\u4ed8\u30bb\u30eb\u306e\u5024\u3092Long\u578b\u3084Integer\u578b\u306e\u5909\u6570\u3067\u53d7\u3051\u53d6\u308b\u3068\u3001\u300c2024\/1\/1\u300d\u304c\u300c45292\u300d\u306e\u3088\u3046\u306a\u6574\u6570\u306b\u306a\u308a\u307e\u3059\u3002\u65e5\u4ed8\u3092\u6271\u3046\u5909\u6570\u306f\u5fc5\u305aDate\u578b\u307e\u305f\u306fVariant\u578b\u3067\u5ba3\u8a00\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">3-2. \u8907\u6570\u30bb\u30eb\u306e\u5024\u3092\u4e00\u62ec\u53d6\u5f97\uff08\u914d\u5217\uff09<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u8907\u6570\u30bb\u30eb\u306e\u5024\u3092\u4e00\u62ec\u3067\u53d6\u5f97\u3057\u305f\u3044\u5834\u5408\u3001\u30bb\u30eb\u7bc4\u56f2\u3092Variant\u578b\u306e\u914d\u5217\u3068\u3057\u3066\u53d7\u3051\u53d6\u308b\u65b9\u6cd5\u304c\u9ad8\u901f\u3067\u3059\u30021\u30bb\u30eb\u305a\u3064\u30eb\u30fc\u30d7\u3067\u8aad\u307f\u8fbc\u3080\u3088\u308a\u5927\u5e45\u306b\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u304c\u5411\u4e0a\u3057\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  <pre style=\"margin:0;font-family:'Courier New',monospace;font-size:13px;line-height:1.8;color:#d4d4d4;white-space:pre-wrap;\">&#x27; \u7bc4\u56f2\u5168\u4f53\u3092\u914d\u5217\u3068\u3057\u3066\u4e00\u62ec\u53d6\u5f97\nSub BulkGetValues()\n    Dim ws As Worksheet\n    Set ws = ThisWorkbook.Sheets(&quot;Sheet1&quot;)\n\n    &#x27; \u30bb\u30eb\u7bc4\u56f2\u3092Variant\u914d\u5217\u3067\u4e00\u62ec\u53d6\u5f97\n    Dim dataArray As Variant\n    dataArray = ws.Range(&quot;A1:C100&quot;).Value\n    &#x27; dataArray \u306f 2\u6b21\u5143\u914d\u5217: dataArray(\u884c, \u5217)\n\n    &#x27; \u914d\u5217\u306b\u8aad\u307f\u8fbc\u3093\u3060\u5f8c\u306f\u30eb\u30fc\u30d7\u3067\u51e6\u7406\uff08\u9ad8\u901f\uff09\n    Dim r As Long, c As Long\n    Dim total As Double\n    For r = 1 To UBound(dataArray, 1)  &#x27; \u884c\u65b9\u5411\n        For c = 1 To UBound(dataArray, 2)  &#x27; \u5217\u65b9\u5411\n            If IsNumeric(dataArray(r, c)) Then\n                total = total + dataArray(r, c)\n            End If\n        Next c\n    Next r\n\n    MsgBox &quot;\u5408\u8a08: &quot; &amp; total\n\n    &#x27; \u6ce8\u610f: 1\u884c1\u5217\u306e\u7bc4\u56f2\u3067\u3082\u914d\u5217\u306b\u306a\u308b\u5834\u5408\u3042\u308a\n    &#x27; \u5358\u4e00\u30bb\u30eb\u306f\u30b9\u30ab\u30e9\u30fc\u5024\u3067\u8fd4\u308b\n    Dim singleVal As Variant\n    singleVal = ws.Range(&quot;A1&quot;).Value  &#x27; \u914d\u5217\u3067\u306f\u306a\u304f\u30b9\u30ab\u30e9\u30fc\u5024\nEnd Sub<\/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\/seminar2-blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=cc-vba-value-property&#038;blog_slug=cc-vba-value-property\" target=\"_blank\" rel=\"noopener\" aria-label=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff08\u7121\u6599\u30fb1on1\u30fb60\u5206\uff09\u306e\u4e88\u7d04\u753b\u9762\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\/05\/cta_seminar_claude_code_2026.jpg\" alt=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff5c\u7d4c\u55b6\u8005\u30fb\u4f1a\u793e\u5f79\u54e1\u5c02\u7528 1on1 60\u5206 \u7121\u6599\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><a href=\"https:\/\/aikanri.genai-ai.co.jp\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_campaign=cc-vba-value-property&#038;utm_content=h2-banner-kanri\" target=\"_blank\" rel=\"noopener\" aria-label=\"AI\u9b3c\u7ba1\u7406 \u516c\u5f0f\u30b5\u30a4\u30c8\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\/05\/cta_blog_1to1.jpg\" alt=\"Claude Code\u3092\u7d4c\u55b6\u306b\u6d3b\u304b\u3057\u305f\u3044\u65b9\u3078 \u2014 AI\u9b3c\u7ba1\u7406\" 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;\">SET VALUES<\/span>\n  <span class=\"section-title\" style=\"display:block;\">\u30bb\u30eb\u5024\u306e\u66f8\u304d\u8fbc\u307f\uff08\u8a2d\u5b9a\uff09<\/span>\n  <span class=\"section-desc\">\u5358\u4e00\u30bb\u30eb\u30fb\u7bc4\u56f2\u30fb\u914d\u5217\u3078\u306e\u5024\u8a2d\u5b9a\u30d1\u30bf\u30fc\u30f3<\/span>\n<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Value\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u4f7f\u3063\u3066\u5909\u6570\u306e\u5024\u3084\u30ea\u30c6\u30e9\u30eb\u5024\u3092\u30bb\u30eb\u306b\u66f8\u304d\u8fbc\u3080\u64cd\u4f5c\u3082VBA\u306e\u57fa\u672c\u3067\u3059\u3002\u5358\u4e00\u30bb\u30eb\u3078\u306e\u66f8\u304d\u8fbc\u307f\u30fb\u8907\u6570\u30bb\u30eb\u3078\u306e\u4e00\u62ec\u66f8\u304d\u8fbc\u307f\u30fb\u914d\u5217\u3092\u4e00\u62ec\u3067\u30bb\u30eb\u7bc4\u56f2\u306b\u66f8\u304d\u8fbc\u3080\u65b9\u6cd5\u3092\u899a\u3048\u308b\u3053\u3068\u3067\u3001\u696d\u52d9\u30de\u30af\u30ed\u306e\u51e6\u7406\u52b9\u7387\u304c\u5927\u5e45\u306b\u4e0a\u304c\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  <pre style=\"margin:0;font-family:'Courier New',monospace;font-size:13px;line-height:1.8;color:#d4d4d4;white-space:pre-wrap;\">&#x27; \u5404\u7a2e\u30bb\u30eb\u66f8\u304d\u8fbc\u307f\u30d1\u30bf\u30fc\u30f3\nSub SetCellValues()\n    Dim ws As Worksheet\n    Set ws = ThisWorkbook.Sheets(&quot;Sheet1&quot;)\n\n    &#x27; \u5358\u4e00\u30bb\u30eb\u3078\u306e\u66f8\u304d\u8fbc\u307f\n    ws.Range(&quot;A1&quot;).Value = &quot;\u30bf\u30a4\u30c8\u30eb&quot;\n    ws.Range(&quot;B1&quot;).Value = 12345\n    ws.Range(&quot;C1&quot;).Value = Date  &#x27; \u4eca\u65e5\u306e\u65e5\u4ed8\n    ws.Range(&quot;D1&quot;).Value = True  &#x27; \u8ad6\u7406\u5024\n\n    &#x27; \u6570\u5f0f\u3092\u66f8\u304d\u8fbc\u3080\uff08Value\u306f\u8a08\u7b97\u7d50\u679c\u3092\u66f8\u304f\u3001\u6570\u5f0f\u306f\u5f8c\u8ff0\u306eFormula\u4f7f\u7528\uff09\n    ws.Range(&quot;E1&quot;).Value = ws.Range(&quot;B1&quot;).Value * 1.1  &#x27; \u8a08\u7b97\u7d50\u679c\u3092\u66f8\u304d\u8fbc\u3080\n\n    &#x27; \u8907\u6570\u30bb\u30eb\u306b\u540c\u3058\u5024\u3092\u4e00\u62ec\u8a2d\u5b9a\n    ws.Range(&quot;A2:A10&quot;).Value = &quot;\u521d\u671f\u5024&quot;  &#x27; A2\u301cA10\u5168\u3066\u306b&quot;\u521d\u671f\u5024&quot;\u3092\u8a2d\u5b9a\n\n    &#x27; \u914d\u5217\u3092\u30bb\u30eb\u7bc4\u56f2\u306b\u4e00\u62ec\u66f8\u304d\u8fbc\u307f\uff08\u9ad8\u901f\uff09\n    Dim arr(1 To 5, 1 To 3) As Variant\n    Dim r As Integer, c As Integer\n    For r = 1 To 5\n        For c = 1 To 3\n            arr(r, c) = r * 10 + c\n        Next c\n    Next r\n    ws.Range(&quot;A3:C7&quot;).Value = arr  &#x27; \u914d\u5217\u30925\u884c3\u5217\u306e\u7bc4\u56f2\u306b\u4e00\u62ec\u66f8\u304d\u8fbc\u307f\n\n    MsgBox &quot;\u66f8\u304d\u8fbc\u307f\u5b8c\u4e86&quot;\nEnd Sub<\/pre>\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\">\u300c\u914d\u5217\u3092\u30bb\u30eb\u7bc4\u56f2\u306b\u4e00\u62ec\u66f8\u304d\u8fbc\u307f\u300d\u306f\u696d\u52d9\u30de\u30af\u30ed\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u5411\u4e0a\u306b\u975e\u5e38\u306b\u52b9\u679c\u7684\u3067\u3059\u30021000\u884c\u306e\u30c7\u30fc\u30bf\u30921\u884c\u305a\u3064Cells(r, c).Value = \u3067\u66f8\u304f\u306e\u3068\u3001\u914d\u5217\u306b\u683c\u7d0d\u3057\u3066Range(\"A1:D1000\").Value = arr \u3067\u4e00\u62ec\u66f8\u304d\u8fbc\u307f\u3059\u308b\u306e\u3067\u306f\u3001\u51e6\u7406\u901f\u5ea6\u304c\u6570\u5341\u500d\u5909\u308f\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u5927\u91cf\u30c7\u30fc\u30bf\u3092\u6271\u3046\u30de\u30af\u30ed\u3067\u306f\u5fc5\u305a\u914d\u5217\u3092\u6d3b\u7528\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/div>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">4-1. ClearContents\u3068\u306e\u9055\u3044<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u30bb\u30eb\u3092\u7a7a\u767d\u306b\u3059\u308b\u65b9\u6cd5\u3068\u3057\u3066\u3001.Value = \"\" \u3068 .ClearContents \u304c\u3042\u308a\u307e\u3059\u3002\u3069\u3061\u3089\u3082\u540c\u3058\u7d50\u679c\u306b\u306a\u308a\u307e\u3059\u304c\u3001\u53b3\u5bc6\u306b\u306f\u9055\u3044\u304c\u3042\u308a\u307e\u3059\u3002.Value = \"\" \u306f\u5024\u3092\u7a7a\u6587\u5b57\u5217\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002.ClearContents \u306f\u30bb\u30eb\u306e\u5185\u5bb9\uff08\u5024\u30fb\u6570\u5f0f\uff09\u3092\u5168\u3066\u6d88\u53bb\u3057\u307e\u3059\uff08\u66f8\u5f0f\u30fb\u30b3\u30e1\u30f3\u30c8\u306f\u4fdd\u6301\uff09\u3002\u901a\u5e38\u306f.ClearContents\u3092\u4f7f\u3046\u307b\u3046\u304c\u610f\u56f3\u304c\u660e\u78ba\u306b\u306a\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  <pre style=\"margin:0;font-family:'Courier New',monospace;font-size:13px;line-height:1.8;color:#d4d4d4;white-space:pre-wrap;\">&#x27; \u30bb\u30eb\u6d88\u53bb\u306e\u5404\u65b9\u6cd5\u306e\u9055\u3044\nSub ClearMethods()\n    Dim ws As Worksheet\n    Set ws = ThisWorkbook.Sheets(&quot;Sheet1&quot;)\n\n    &#x27; \u5024\u3092\u7a7a\u6587\u5b57\u306b\u8a2d\u5b9a\uff08\u66f8\u5f0f\u306f\u4fdd\u6301\u3055\u308c\u308b\uff09\n    ws.Range(&quot;A1&quot;).Value = &quot;&quot;\n\n    &#x27; \u30bb\u30eb\u306e\u5185\u5bb9\uff08\u5024\u30fb\u6570\u5f0f\uff09\u3092\u6d88\u53bb\uff08\u66f8\u5f0f\u306f\u4fdd\u6301\uff09\n    ws.Range(&quot;B1&quot;).ClearContents\n\n    &#x27; \u30bb\u30eb\u306e\u5168\u3066\u3092\u30ea\u30bb\u30c3\u30c8\uff08\u5024\u30fb\u6570\u5f0f\u30fb\u66f8\u5f0f\u30fb\u30b3\u30e1\u30f3\u30c8\u7b49\uff09\n    ws.Range(&quot;C1&quot;).Clear\n\n    &#x27; \u66f8\u5f0f\u3060\u3051\u6d88\u53bb\n    ws.Range(&quot;D1&quot;).ClearFormats\nEnd Sub<\/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\/seminar2-blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=cc-vba-value-property&#038;blog_slug=cc-vba-value-property\" target=\"_blank\" rel=\"noopener\" aria-label=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff08\u7121\u6599\u30fb1on1\u30fb60\u5206\uff09\u306e\u4e88\u7d04\u753b\u9762\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\/05\/cta_seminar_claude_code_2026.jpg\" alt=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff5c\u7d4c\u55b6\u8005\u30fb\u4f1a\u793e\u5f79\u54e1\u5c02\u7528 1on1 60\u5206 \u7121\u6599\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><a href=\"https:\/\/aikanri.genai-ai.co.jp\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_campaign=cc-vba-value-property&#038;utm_content=h2-banner-kanri\" target=\"_blank\" rel=\"noopener\" aria-label=\"AI\u9b3c\u7ba1\u7406 \u516c\u5f0f\u30b5\u30a4\u30c8\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\/05\/cta_blog_1to1.jpg\" alt=\"Claude Code\u3092\u7d4c\u55b6\u306b\u6d3b\u304b\u3057\u305f\u3044\u65b9\u3078 \u2014 AI\u9b3c\u7ba1\u7406\" 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;\">VALUE VARIANTS<\/span>\n  <span class=\"section-title\" style=\"display:block;\">Value\u30fbValue2\u30fbText\u30fbFormula\u306e\u9055\u3044<\/span>\n  <span class=\"section-desc\">4\u3064\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u6b63\u78ba\u306b\u4f7f\u3044\u5206\u3051\u308b\u305f\u3081\u306e\u65e9\u898b\u8868\u3068\u89e3\u8aac<\/span>\n<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Range\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u306f\u300cValue\u300d\u4ee5\u5916\u306b\u3082\u300cValue2\u300d\u300cText\u300d\u300cFormula\u300d\u3068\u3044\u3046\u4f3c\u305f\u540d\u524d\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u304c\u3042\u308a\u307e\u3059\u3002\u305d\u308c\u305e\u308c\u8fd4\u3059\u5185\u5bb9\u304c\u7570\u306a\u308a\u3001\u7528\u9014\u3092\u9593\u9055\u3048\u308b\u3068\u60f3\u5b9a\u5916\u306e\u5024\u3092\u53d6\u5f97\u3059\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u30024\u3064\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u9055\u3044\u3092\u6b63\u78ba\u306b\u7406\u89e3\u3057\u307e\u3057\u3087\u3046\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>Value2\uff08\u65e5\u4ed8\u3092\u30b7\u30ea\u30a2\u30eb\u5024\u3067\u8fd4\u3059\uff09<\/strong>\uff1aRange\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u3067Value\u3068\u307b\u307c\u540c\u3058\u3067\u3059\u304c\u3001\u65e5\u4ed8\u578b\u30fb\u901a\u8ca8\u578b\u3092\u7279\u5225\u6271\u3044\u3057\u307e\u305b\u3093\u3002\u65e5\u4ed8\u30bb\u30eb\u306fDate\u578b\u3067\u306f\u306a\u304fDouble\u578b\u306e\u30b7\u30ea\u30a2\u30eb\u5024\uff08\u4f8b\uff1a45292.0\uff09\u3067\u8fd4\u3057\u307e\u3059\u3002Value\u3088\u308a\u8efd\u91cf\u3067\u9ad8\u901f\u306a\u305f\u3081\u3001\u65e5\u4ed8\u3092\u6570\u5024\u3068\u3057\u3066\u6271\u3046\u8a08\u7b97\u51e6\u7406\u306b\u5411\u3044\u3066\u3044\u307e\u3059\u3002<\/p>\n<\/div>\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>Text\u30d7\u30ed\u30d1\u30c6\u30a3\uff08\u8868\u793a\u6587\u5b57\u5217\uff09<\/strong>\uff1a\u30bb\u30eb\u306b\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u6587\u5b57\u5217\u3092\u305d\u306e\u307e\u307e\u8fd4\u3059\u30d7\u30ed\u30d1\u30c6\u30a3\u3002\u6570\u5024\u30bb\u30eb\u306b\u300c#,###\u300d\u66f8\u5f0f\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308c\u3070\u300c1,234\u300d\u3068\u3044\u3046\u6587\u5b57\u5217\u3092\u8fd4\u3057\u307e\u3059\u3002\u65e5\u4ed8\u30bb\u30eb\u306b\u300cyyyy\/mm\/dd\u300d\u66f8\u5f0f\u304c\u3042\u308c\u3070\u300c2024\/01\/15\u300d\u3068\u3044\u3046\u6587\u5b57\u5217\u3092\u8fd4\u3057\u307e\u3059\u3002\u5e38\u306bString\u578b\u3092\u8fd4\u3057\u3001\u8a08\u7b97\u306b\u306f\u4f7f\u3048\u307e\u305b\u3093\u304c\u300c\u753b\u9762\u8868\u793a\u3068\u540c\u3058\u5024\u3092\u53d6\u5f97\u3057\u305f\u3044\u300d\u5834\u9762\u3067\u5f79\u7acb\u3061\u307e\u3059\u3002<\/p>\n<\/div>\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>Formula\u30d7\u30ed\u30d1\u30c6\u30a3\uff08\u6570\u5f0f\u6587\u5b57\u5217\uff09<\/strong>\uff1a\u30bb\u30eb\u306b\u5165\u529b\u3055\u308c\u3066\u3044\u308b\u6570\u5f0f\u3092A1\u5f62\u5f0f\u306e\u6587\u5b57\u5217\u3067\u8fd4\u3059\u30d7\u30ed\u30d1\u30c6\u30a3\u3002\u6570\u5f0f\u30bb\u30eb\u306a\u3089\"=SUM(A1:A10)\"\u306e\u3088\u3046\u306a\u6587\u5b57\u5217\u3092\u8fd4\u3057\u3001\u5024\u304c\u76f4\u63a5\u5165\u529b\u3055\u308c\u3066\u3044\u308b\u30bb\u30eb\u306f\u5024\u305d\u306e\u3082\u306e\uff08\u6570\u5024\u30fb\u6587\u5b57\u5217\uff09\u3092\u8fd4\u3057\u307e\u3059\u3002\u6570\u5f0f\u306e\u6709\u7121\u78ba\u8a8d\u3084\u3001\u6570\u5f0f\u3092\u6587\u5b57\u5217\u3068\u3057\u3066\u53d6\u5f97\u30fb\u8a2d\u5b9a\u3059\u308b\u5834\u5408\u306b\u4f7f\u3044\u307e\u3059\u3002<\/p>\n<\/div>\n\n\n\n<table>\n<thead><tr><th>\u30d7\u30ed\u30d1\u30c6\u30a3<\/th><th>\u8fd4\u3059\u5024<\/th><th>\u578b<\/th><th>\u65e5\u4ed8\u30bb\u30eb\u306e\u4f8b<\/th><th>\u6570\u5f0f\u30bb\u30eb\u306e\u4f8b<\/th><\/tr><\/thead>\n<tbody>\n<tr><td>Value<\/td><td>\u30bb\u30eb\u306e\u5b9f\u969b\u306e\u5024\uff08\u578b\u306b\u5fdc\u3058\u305f\u5909\u63db\u3042\u308a\uff09<\/td><td>Variant<\/td><td>Date\u578b 2024\/01\/15<\/td><td>\u8a08\u7b97\u7d50\u679c\uff08\u6570\u5024\u7b49\uff09<\/td><\/tr>\n<tr><td>Value2<\/td><td>\u30bb\u30eb\u306e\u5024\uff08\u65e5\u4ed8\u30fb\u901a\u8ca8\u3092\u6570\u5024\u3067\u8fd4\u3059\uff09<\/td><td>Variant<\/td><td>Double\u578b 45292.0<\/td><td>\u8a08\u7b97\u7d50\u679c\uff08\u6570\u5024\u7b49\uff09<\/td><\/tr>\n<tr><td>Text<\/td><td>\u30bb\u30eb\u306b\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u6587\u5b57\u5217<\/td><td>String<\/td><td>String\u578b \"2024\/01\/15\"<\/td><td>\u8a08\u7b97\u7d50\u679c\u306e\u6587\u5b57\u5217<\/td><\/tr>\n<tr><td>Formula<\/td><td>\u30bb\u30eb\u306e\u6570\u5f0f\uff08A1\u53c2\u7167\u5f62\u5f0f\uff09<\/td><td>String<\/td><td>String\u578b \"2024\/01\/15\"<\/td><td>String\u578b \"=SUM(A1:A10)\"<\/td><\/tr>\n<\/tbody>\n<\/table>\n\n\n\n<div style=\"background:#1e1e1e;border-radius:8px;padding:20px 24px;margin:20px 0;overflow-x:auto;\">\n  <pre style=\"margin:0;font-family:'Courier New',monospace;font-size:13px;line-height:1.8;color:#d4d4d4;white-space:pre-wrap;\">&#x27; 4\u3064\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u6319\u52d5\u6bd4\u8f03\nSub CompareValueProperties()\n    Dim ws As Worksheet\n    Set ws = ThisWorkbook.Sheets(&quot;Sheet1&quot;)\n\n    &#x27; A1\u30bb\u30eb\u306b\u65e5\u4ed8\u300c2024\/01\/15\u300d\u304c\u5165\u529b\u3055\u308c\u3066\u3044\u308b\u60f3\u5b9a\n    Dim r As Range\n    Set r = ws.Range(&quot;A1&quot;)\n\n    MsgBox &quot;Value: &quot; &amp; r.Value &amp; &quot; (&quot; &amp; TypeName(r.Value) &amp; &quot;)&quot;\n    &#x27; \u2192 Value: 2024\/01\/15 (Date)\n\n    MsgBox &quot;Value2: &quot; &amp; r.Value2 &amp; &quot; (&quot; &amp; TypeName(r.Value2) &amp; &quot;)&quot;\n    &#x27; \u2192 Value2: 45292 (Double)  \u2190 \u30b7\u30ea\u30a2\u30eb\u5024\n\n    MsgBox &quot;Text: &quot; &amp; r.Text &amp; &quot; (&quot; &amp; TypeName(r.Text) &amp; &quot;)&quot;\n    &#x27; \u2192 Text: 2024\/01\/15 (String)  \u2190 \u66f8\u5f0f\u8a2d\u5b9a\u901a\u308a\u306e\u8868\u793a\n\n    &#x27; B1\u30bb\u30eb\u306b\u6570\u5f0f =SUM(C1:C10) \u304c\u5165\u529b\u3055\u308c\u3066\u3044\u308b\u60f3\u5b9a\n    Dim r2 As Range\n    Set r2 = ws.Range(&quot;B1&quot;)\n\n    MsgBox &quot;Value: &quot; &amp; r2.Value\n    &#x27; \u2192 \u8a08\u7b97\u7d50\u679c\u306e\u6570\u5024\n\n    MsgBox &quot;Formula: &quot; &amp; r2.Formula\n    &#x27; \u2192 =SUM(C1:C10)  \u2190 \u6570\u5f0f\u305d\u306e\u3082\u306e\n\n    MsgBox &quot;Text: &quot; &amp; r2.Text\n    &#x27; \u2192 \u8a08\u7b97\u7d50\u679c\u3092\u66f8\u5f0f\u8a2d\u5b9a\u3057\u305f\u6587\u5b57\u5217\nEnd Sub<\/pre>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">5-1. Text\u30d7\u30ed\u30d1\u30c6\u30a3\u306f\u66f8\u304d\u8fbc\u307f\u306b\u306f\u4f7f\u3048\u306a\u3044<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Text\u30d7\u30ed\u30d1\u30c6\u30a3\u306f\u300c\u8aad\u307f\u53d6\u308a\u5c02\u7528\u300d\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u3067\u3059\u3002\u30bb\u30eb\u306b\u5024\u3092\u66f8\u304d\u8fbc\u3080\u969b\u306bText\u3092\u4f7f\u304a\u3046\u3068\u3059\u308b\u3068\u30a8\u30e9\u30fc\u306b\u306a\u308a\u307e\u3059\u3002\u5024\u306e\u66f8\u304d\u8fbc\u307f\u306b\u306f\u5fc5\u305aValue\u3092\u4f7f\u3044\u307e\u3059\u3002\u307e\u305f\u3001\u30bb\u30eb\u304c\u300c######\u300d\u3068\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u5834\u5408\uff08\u5217\u5e45\u4e0d\u8db3\uff09\u3001Text\u30d7\u30ed\u30d1\u30c6\u30a3\u3082\u300c######\u300d\u3092\u8fd4\u3057\u307e\u3059\u3002\u3053\u306e\u5834\u5408\u306fValue\u3092\u4f7f\u3063\u3066\u5024\u3092\u53d6\u5f97\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\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;\">\n    <span style=\"font-size:20px;\">&#9888;&#65039;<\/span>\n    <strong style=\"color:#dc2626;font-size:16px;\">Text\u30d7\u30ed\u30d1\u30c6\u30a3\u3078\u306e\u66f8\u304d\u8fbc\u307f\u306f\u30a8\u30e9\u30fc\u306b\u306a\u308b<\/strong>\n  <\/div>\n  <p style=\"margin:0;font-size:15px;line-height:1.8;color:#333;\">Range(\"A1\").Text = \"Hello\" \u306f\u30a8\u30e9\u30fc\u3067\u3059\u3002Text\u30d7\u30ed\u30d1\u30c6\u30a3\u306f\u8aad\u307f\u53d6\u308a\u5c02\u7528\u3067\u3001\u66f8\u304d\u8fbc\u307f\u306b\u306f\u4f7f\u3048\u307e\u305b\u3093\u3002\u30bb\u30eb\u3078\u306e\u5024\u8a2d\u5b9a\u306f\u5fc5\u305a Range(\"A1\").Value = \"Hello\" \u3092\u4f7f\u3063\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">5-2. Formula\u3068FormulaR1C1\u306e\u9055\u3044<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Formula\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u4ed6\u306b\u3001FormulaR1C1\u30d7\u30ed\u30d1\u30c6\u30a3\u304c\u3042\u308a\u307e\u3059\u3002Formula\u306fA1\u53c2\u7167\u5f62\u5f0f\uff08\"=SUM(A1:A10)\"\u306e\u3088\u3046\u306a\u5f62\uff09\u3067\u3001FormulaR1C1\u306fR1C1\u53c2\u7167\u5f62\u5f0f\uff08\u884c\u756a\u53f7\u30fb\u5217\u756a\u53f7\u3067\u76f8\u5bfe\u53c2\u7167\u3092\u8868\u3059\"=SUM(R[-5]C:R[-1]C)\"\u306e\u3088\u3046\u306a\u5f62\uff09\u3067\u3059\u3002\u30eb\u30fc\u30d7\u3067\u52d5\u7684\u306b\u6570\u5f0f\u3092\u751f\u6210\u3059\u308b\u5834\u5408\u306fFormulaR1C1\u304c\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  <pre style=\"margin:0;font-family:'Courier New',monospace;font-size:13px;line-height:1.8;color:#d4d4d4;white-space:pre-wrap;\">&#x27; Formula\u3068FormulaR1C1\u306e\u4f7f\u3044\u5206\u3051\nSub FormulaExamples()\n    Dim ws As Worksheet\n    Set ws = ThisWorkbook.Sheets(&quot;Sheet1&quot;)\n\n    &#x27; A1\u5f62\u5f0f\u3067\u6570\u5f0f\u3092\u8a2d\u5b9a\n    ws.Range(&quot;D1&quot;).Formula = &quot;=SUM(A1:C1)&quot;\n\n    &#x27; R1C1\u5f62\u5f0f\u3067\u6570\u5f0f\u3092\u8a2d\u5b9a\uff08\u76f8\u5bfe\u53c2\u7167\u3092R\/C\u3067\u8868\u73fe\uff09\n    &#x27; RC[-3]:RC[-1] = \u540c\u884c\u306e3\u5217\u524d\u304b\u30891\u5217\u524d\n    ws.Range(&quot;D2&quot;).FormulaR1C1 = &quot;=SUM(RC[-3]:RC[-1])&quot;\n\n    &#x27; \u30eb\u30fc\u30d7\u3067\u5404\u884c\u306b\u540c\u3058\u8a08\u7b97\u5f0f\u3092\u8a2d\u5b9a\uff08R1C1\u5f62\u5f0f\u304c\u4fbf\u5229\uff09\n    Dim r As Long\n    For r = 1 To 10\n        ws.Cells(r, 4).FormulaR1C1 = &quot;=SUM(RC[-3]:RC[-1])&quot;\n    Next r\n\n    &#x27; \u6570\u5f0f\u304c\u5165\u3063\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u3092\u78ba\u8a8d\n    If ws.Range(&quot;D1&quot;).HasFormula Then\n        MsgBox &quot;D1\u306f\u6570\u5f0f\u30bb\u30eb\u3067\u3059: &quot; &amp; ws.Range(&quot;D1&quot;).Formula\n    End If\nEnd Sub<\/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\/seminar2-blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=cc-vba-value-property&#038;blog_slug=cc-vba-value-property\" target=\"_blank\" rel=\"noopener\" aria-label=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff08\u7121\u6599\u30fb1on1\u30fb60\u5206\uff09\u306e\u4e88\u7d04\u753b\u9762\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\/05\/cta_seminar_claude_code_2026.jpg\" alt=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff5c\u7d4c\u55b6\u8005\u30fb\u4f1a\u793e\u5f79\u54e1\u5c02\u7528 1on1 60\u5206 \u7121\u6599\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><a href=\"https:\/\/aikanri.genai-ai.co.jp\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_campaign=cc-vba-value-property&#038;utm_content=h2-banner-kanri\" target=\"_blank\" rel=\"noopener\" aria-label=\"AI\u9b3c\u7ba1\u7406 \u516c\u5f0f\u30b5\u30a4\u30c8\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\/05\/cta_blog_1to1.jpg\" alt=\"Claude Code\u3092\u7d4c\u55b6\u306b\u6d3b\u304b\u3057\u305f\u3044\u65b9\u3078 \u2014 AI\u9b3c\u7ba1\u7406\" 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;\">LOOP PATTERNS<\/span>\n  <span class=\"section-title\" style=\"display:block;\">\u30eb\u30fc\u30d7\u3067\u8907\u6570\u30bb\u30eb\u3092\u51e6\u7406\u3059\u308b\u30d1\u30bf\u30fc\u30f3<\/span>\n  <span class=\"section-desc\">For\/For Each\u3092\u4f7f\u3063\u305f\u8907\u6570\u30bb\u30eb\u306eValue\u64cd\u4f5c<\/span>\n<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u696d\u52d9\u30de\u30af\u30ed\u3067\u306f\u300c100\u884c\u306e\u30c7\u30fc\u30bf\u30921\u884c\u305a\u3064\u51e6\u7406\u3059\u308b\u300d\u300c\u30b7\u30fc\u30c8\u5185\u306e\u5168\u30c7\u30fc\u30bf\u3092\u96c6\u8a08\u3059\u308b\u300d\u306e\u3088\u3046\u306b\u3001\u8907\u6570\u30bb\u30eb\u306eValue\u3092\u30eb\u30fc\u30d7\u3067\u51e6\u7406\u3059\u308b\u5834\u9762\u304c\u591a\u304f\u3042\u308a\u307e\u3059\u3002\u884c\u756a\u53f7\u3092\u5909\u6570\u306b\u3067\u304d\u308bCells\u30d7\u30ed\u30d1\u30c6\u30a3\u3068For\u6587\u306e\u7d44\u307f\u5408\u308f\u305b\u3001\u307e\u305f\u306fFor Each\u6587\u3067Range\u3092\u53cd\u5fa9\u3059\u308b\u65b9\u6cd5\u304c\u4e2d\u5fc3\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  <pre style=\"margin:0;font-family:'Courier New',monospace;font-size:13px;line-height:1.8;color:#d4d4d4;white-space:pre-wrap;\">&#x27; For\u30eb\u30fc\u30d7\u3067\u884c\u30921\u884c\u305a\u3064\u51e6\u7406\uff08Cells\u4f7f\u7528\uff09\nSub ProcessRowByRow()\n    Dim ws As Worksheet\n    Set ws = ThisWorkbook.Sheets(&quot;Sheet1&quot;)\n\n    &#x27; \u6700\u7d42\u884c\u306e\u53d6\u5f97\n    Dim lastRow As Long\n    lastRow = ws.Cells(ws.Rows.Count, 1).End(xlUp).Row\n    &#x27; A\u5217\u306e\u6700\u5f8c\u306b\u5024\u304c\u5165\u3063\u3066\u3044\u308b\u884c\u3092\u53d6\u5f97\n\n    MsgBox &quot;\u30c7\u30fc\u30bf\u306f&quot; &amp; lastRow &amp; &quot;\u884c\u76ee\u307e\u3067&quot;\n\n    &#x27; 2\u884c\u76ee\u304b\u3089\u6700\u7d42\u884c\u307e\u3067\u30eb\u30fc\u30d7\uff081\u884c\u76ee\u306f\u30d8\u30c3\u30c0\u30fc\u60f3\u5b9a\uff09\n    Dim r As Long\n    For r = 2 To lastRow\n        Dim name As String\n        Dim score As Variant\n\n        name = ws.Cells(r, 1).Value   &#x27; A\u5217: \u540d\u524d\n        score = ws.Cells(r, 2).Value  &#x27; B\u5217: \u5f97\u70b9\n\n        &#x27; \u5f97\u70b9\u304c\u7a7a\u3067\u306a\u304f\u6570\u5024\u306e\u5834\u5408\n        If Not IsEmpty(score) And IsNumeric(score) Then\n            &#x27; C\u5217\u306b\u5408\u5426\u3092\u66f8\u304d\u8fbc\u3080\n            If score &gt;= 70 Then\n                ws.Cells(r, 3).Value = &quot;\u5408\u683c&quot;\n            Else\n                ws.Cells(r, 3).Value = &quot;\u4e0d\u5408\u683c&quot;\n            End If\n        End If\n    Next r\n\n    MsgBox &quot;\u51e6\u7406\u5b8c\u4e86&quot;\nEnd Sub<\/pre>\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\">\u6700\u7d42\u884c\u306e\u53d6\u5f97\u30d1\u30bf\u30fc\u30f3\u300cws.Cells(ws.Rows.Count, 1).End(xlUp).Row\u300d\u306f\u696d\u52d9\u30de\u30af\u30ed\u3067\u6bce\u56de\u4f7f\u3046\u5b9a\u756a\u30b3\u30fc\u30c9\u3067\u3059\u3002\u610f\u5473\u306f\u300cA\u5217\u306e\u4e00\u756a\u4e0b\uff08104\u4e07\u884c\u76ee\uff09\u304b\u3089Ctrl+\u2191\u3067\u79fb\u52d5\u3057\u305f\u884c\u756a\u53f7\u3092\u53d6\u5f97\u3059\u308b\u300d\u3067\u3059\u3002\u30c7\u30fc\u30bf\u304c\u5897\u3048\u3066\u3082\u81ea\u52d5\u7684\u306b\u6700\u7d42\u884c\u304c\u5909\u308f\u308a\u307e\u3059\u3002\u5fc5\u305a\u899a\u3048\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<\/div>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">6-1. For Each \u3067\u30bb\u30eb\u7bc4\u56f2\u3092\u53cd\u5fa9<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">For Each\u3092\u4f7f\u3046\u3068\u3001Range\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5185\u306e\u30bb\u30eb\u30921\u3064\u305a\u3064\u53cd\u5fa9\u51e6\u7406\u3067\u304d\u307e\u3059\u3002\u7bc4\u56f2\u304c\u56fa\u5b9a\u306e\u5834\u5408\u3084UsedRange\u3092\u4f7f\u3046\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  <pre style=\"margin:0;font-family:'Courier New',monospace;font-size:13px;line-height:1.8;color:#d4d4d4;white-space:pre-wrap;\">&#x27; For Each \u3067Range\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u53cd\u5fa9\nSub ForEachRange()\n    Dim ws As Worksheet\n    Set ws = ThisWorkbook.Sheets(&quot;Sheet1&quot;)\n\n    &#x27; \u56fa\u5b9a\u7bc4\u56f2\u3092For Each\u3067\u53cd\u5fa9\n    Dim cell As Range\n    For Each cell In ws.Range(&quot;A1:A10&quot;)\n        If cell.Value &gt; 100 Then\n            cell.Value = 100  &#x27; 100\u8d85\u306e\u5024\u3092100\u306b\u4e0a\u66f8\u304d\n        End If\n    Next cell\n\n    &#x27; \u5217\u5168\u4f53\u3092\u53cd\u5fa9\uff08\u305f\u3060\u3057Rows.Count\u307e\u3067\u30eb\u30fc\u30d7\u3059\u308b\u306e\u3067\u91cd\u3044\uff09\n    &#x27; \u901a\u5e38\u306f\u6700\u7d42\u884c\u53d6\u5f97\u5f8c\u306e\u56fa\u5b9a\u7bc4\u56f2\u3092\u4f7f\u3046\n\n    &#x27; \u8907\u6570\u5217\u306e\u7bc4\u56f2\u3092For Each\u3067\u53cd\u5fa9\n    Dim total As Double\n    For Each cell In ws.Range(&quot;B2:D10&quot;)\n        If IsNumeric(cell.Value) And Not IsEmpty(cell.Value) Then\n            total = total + cell.Value\n        End If\n    Next cell\n    MsgBox &quot;B2:D10\u306e\u5408\u8a08: &quot; &amp; total\nEnd Sub<\/pre>\n<\/div>\n\n\n\n<div class=\"g-flow-row\" style=\"margin:24px 0;\">\n  <div class=\"g-flow-item\"><strong>\u7bc4\u56f2\u306e\u6307\u5b9a<\/strong><br><span style=\"font-size:12px;\">Range \/ Cells<\/span><\/div>\n  <div class=\"g-flow-arrow\">&#8594;<\/div>\n  <div class=\"g-flow-item\"><strong>\u6700\u7d42\u884c\u306e\u53d6\u5f97<\/strong><br><span style=\"font-size:12px;\">End(xlUp).Row<\/span><\/div>\n  <div class=\"g-flow-arrow\">&#8594;<\/div>\n  <div class=\"g-flow-item\"><strong>For \/ For Each<\/strong><br><span style=\"font-size:12px;\">\u884c\u5358\u4f4d \/ \u30bb\u30eb\u5358\u4f4d<\/span><\/div>\n  <div class=\"g-flow-arrow\">&#8594;<\/div>\n  <div class=\"g-flow-item\"><strong>.Value\u3067\u8aad\u307f\u66f8\u304d<\/strong><br><span style=\"font-size:12px;\">\u6761\u4ef6\u5206\u5c90\u30fb\u96c6\u8a08\u30fb\u8ee2\u8a18<\/span><\/div>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">6-2. \u30eb\u30fc\u30d7\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u6700\u9069\u5316<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u5927\u91cf\u30c7\u30fc\u30bf\u3092\u30eb\u30fc\u30d7\u3067\u51e6\u7406\u3059\u308b\u5834\u5408\u3001Application.ScreenUpdating\u3092False\u306b\u3057\u3066\u753b\u9762\u66f4\u65b0\u3092\u6b62\u3081\u308b\u3053\u3068\u3067\u51e6\u7406\u901f\u5ea6\u304c\u5927\u5e45\u306b\u5411\u4e0a\u3057\u307e\u3059\u3002\u307e\u305f\u524d\u8ff0\u306e\u300c\u914d\u5217\u306b\u4e00\u62ec\u8aad\u307f\u8fbc\u307f \u2192 \u914d\u5217\u3067\u51e6\u7406 \u2192 \u4e00\u62ec\u66f8\u304d\u8fbc\u307f\u300d\u30d1\u30bf\u30fc\u30f3\u304c\u6700\u901f\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  <pre style=\"margin:0;font-family:'Courier New',monospace;font-size:13px;line-height:1.8;color:#d4d4d4;white-space:pre-wrap;\">&#x27; \u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u6700\u9069\u5316\u30d1\u30bf\u30fc\u30f3\nSub OptimizedLoop()\n    Dim ws As Worksheet\n    Set ws = ThisWorkbook.Sheets(&quot;Sheet1&quot;)\n\n    &#x27; \u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u5411\u4e0a\u306e\u8a2d\u5b9a\n    Application.ScreenUpdating = False\n    Application.Calculation = xlCalculationManual  &#x27; \u81ea\u52d5\u8a08\u7b97\u3092\u4e00\u6642\u505c\u6b62\n\n    Dim lastRow As Long\n    lastRow = ws.Cells(ws.Rows.Count, 1).End(xlUp).Row\n\n    &#x27; \u914d\u5217\u306b\u4e00\u62ec\u8aad\u307f\u8fbc\u307f\uff08\u30bb\u30eb\u30a2\u30af\u30bb\u30b9\u3092\u6700\u5c0f\u5316\uff09\n    Dim data As Variant\n    data = ws.Range(ws.Cells(1, 1), ws.Cells(lastRow, 3)).Value\n\n    &#x27; \u914d\u5217\u3067\u51e6\u7406\uff08\u9ad8\u901f\uff09\n    Dim r As Long\n    For r = 2 To UBound(data, 1)\n        If IsNumeric(data(r, 2)) And data(r, 2) &gt;= 70 Then\n            data(r, 3) = &quot;\u5408\u683c&quot;\n        Else\n            data(r, 3) = &quot;\u4e0d\u5408\u683c&quot;\n        End If\n    Next r\n\n    &#x27; \u914d\u5217\u3092\u4e00\u62ec\u66f8\u304d\u8fbc\u307f\uff08\u30bb\u30eb\u30a2\u30af\u30bb\u30b9\u3092\u6700\u5c0f\u5316\uff09\n    ws.Range(ws.Cells(1, 1), ws.Cells(lastRow, 3)).Value = data\n\n    &#x27; \u8a2d\u5b9a\u3092\u5143\u306b\u623b\u3059\n    Application.Calculation = xlCalculationAutomatic\n    Application.ScreenUpdating = True\n\n    MsgBox &quot;\u51e6\u7406\u5b8c\u4e86: &quot; &amp; lastRow - 1 &amp; &quot;\u4ef6&quot;\nEnd Sub<\/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\/seminar2-blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=cc-vba-value-property&#038;blog_slug=cc-vba-value-property\" target=\"_blank\" rel=\"noopener\" aria-label=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff08\u7121\u6599\u30fb1on1\u30fb60\u5206\uff09\u306e\u4e88\u7d04\u753b\u9762\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\/05\/cta_seminar_claude_code_2026.jpg\" alt=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff5c\u7d4c\u55b6\u8005\u30fb\u4f1a\u793e\u5f79\u54e1\u5c02\u7528 1on1 60\u5206 \u7121\u6599\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><a href=\"https:\/\/aikanri.genai-ai.co.jp\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_campaign=cc-vba-value-property&#038;utm_content=h2-banner-kanri\" target=\"_blank\" rel=\"noopener\" aria-label=\"AI\u9b3c\u7ba1\u7406 \u516c\u5f0f\u30b5\u30a4\u30c8\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\/05\/cta_blog_1to1.jpg\" alt=\"Claude Code\u3092\u7d4c\u55b6\u306b\u6d3b\u304b\u3057\u305f\u3044\u65b9\u3078 \u2014 AI\u9b3c\u7ba1\u7406\" 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;\">TYPE CONVERSION<\/span>\n  <span class=\"section-title\" style=\"display:block;\">\u5909\u6570\u578b\u3068Value\u306e\u578b\u5909\u63db<\/span>\n  <span class=\"section-desc\">\u578b\u4e0d\u4e00\u81f4\u30a8\u30e9\u30fc\u3092\u9632\u3050\u578b\u5909\u63db\u95a2\u6570\u3068\u5b89\u5168\u306a\u4ee3\u5165\u30d1\u30bf\u30fc\u30f3<\/span>\n<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">VBA\u306eValue\u30d7\u30ed\u30d1\u30c6\u30a3\u306fVariant\u578b\uff08\u4f55\u3067\u3082\u683c\u7d0d\u3067\u304d\u308b\u578b\uff09\u3092\u8fd4\u3057\u307e\u3059\u3002\u3053\u306e\u5024\u3092\u7279\u5b9a\u306e\u578b\u306e\u5909\u6570\u306b\u4ee3\u5165\u3059\u308b\u3068\u304d\u3001\u578b\u304c\u5408\u308f\u306a\u3051\u308c\u3070\u300c\u578b\u304c\u4e00\u81f4\u3057\u307e\u305b\u3093\uff08\u30a8\u30e9\u30fc13\uff09\u300d\u304c\u767a\u751f\u3057\u307e\u3059\u3002\u578b\u5909\u63db\u95a2\u6570\u3092\u4f7f\u3063\u3066\u5b89\u5168\u306b\u5909\u63db\u3059\u308b\u3053\u3068\u3067\u30a8\u30e9\u30fc\u3092\u9632\u3052\u307e\u3059\u3002<\/p>\n\n\n\n<table>\n<thead><tr><th>\u578b\u5909\u63db\u95a2\u6570<\/th><th>\u5909\u63db\u5f8c\u306e\u578b<\/th><th>\u4f7f\u7528\u4f8b<\/th><th>\u6ce8\u610f\u70b9<\/th><\/tr><\/thead>\n<tbody>\n<tr><td>CLng()<\/td><td>Long\uff08\u6574\u6570\uff09<\/td><td>CLng(Range(\"A1\").Value)<\/td><td>\u5c0f\u6570\u70b9\u4ee5\u4e0b\u306f\u56db\u6368\u4e94\u5165<\/td><\/tr>\n<tr><td>CDbl()<\/td><td>Double\uff08\u500d\u7cbe\u5ea6\u6d6e\u52d5\u5c0f\u6570\u70b9\uff09<\/td><td>CDbl(Range(\"B1\").Value)<\/td><td>\u6587\u5b57\u5217\u3092\u6570\u5024\u306b\u5909\u63db<\/td><\/tr>\n<tr><td>CStr()<\/td><td>String\uff08\u6587\u5b57\u5217\uff09<\/td><td>CStr(Range(\"C1\").Value)<\/td><td>\u6570\u5024\u30fb\u65e5\u4ed8\u3092\u6587\u5b57\u5217\u306b\u5909\u63db<\/td><\/tr>\n<tr><td>CDate()<\/td><td>Date\uff08\u65e5\u4ed8\uff09<\/td><td>CDate(Range(\"D1\").Value)<\/td><td>\u65e5\u4ed8\u5f62\u5f0f\u3067\u306a\u3044\u5834\u5408\u30a8\u30e9\u30fc<\/td><\/tr>\n<tr><td>CBool()<\/td><td>Boolean\uff08\u8ad6\u7406\u5024\uff09<\/td><td>CBool(Range(\"E1\").Value)<\/td><td>\"True\"\/\"False\"\u6587\u5b57\u5217\u3082\u5909\u63db<\/td><\/tr>\n<tr><td>CInt()<\/td><td>Integer\uff08\u6574\u6570\uff09<\/td><td>CInt(Range(\"F1\").Value)<\/td><td>\u7bc4\u56f2:-32768\u301c32767<\/td><\/tr>\n<\/tbody>\n<\/table>\n\n\n\n<div style=\"background:#1e1e1e;border-radius:8px;padding:20px 24px;margin:20px 0;overflow-x:auto;\">\n  <pre style=\"margin:0;font-family:'Courier New',monospace;font-size:13px;line-height:1.8;color:#d4d4d4;white-space:pre-wrap;\">&#x27; \u578b\u5909\u63db\u3092\u4f7f\u3063\u305f\u5b89\u5168\u306a\u5024\u53d6\u5f97\nSub SafeTypeConversion()\n    Dim ws As Worksheet\n    Set ws = ThisWorkbook.Sheets(&quot;Sheet1&quot;)\n\n    Dim cellVal As Variant\n    cellVal = ws.Range(&quot;A1&quot;).Value\n\n    &#x27; \u6570\u5024\u304b\u3069\u3046\u304b\u78ba\u8a8d\u3057\u3066\u304b\u3089\u5909\u63db\n    If IsNumeric(cellVal) Then\n        Dim numericVal As Double\n        numericVal = CDbl(cellVal)\n        MsgBox &quot;\u6570\u5024\u3068\u3057\u3066: &quot; &amp; numericVal\n    Else\n        MsgBox &quot;\u6570\u5024\u3067\u306f\u3042\u308a\u307e\u305b\u3093: &quot; &amp; CStr(cellVal)\n    End If\n\n    &#x27; \u65e5\u4ed8\u304b\u3069\u3046\u304b\u78ba\u8a8d\u3057\u3066\u304b\u3089\u5909\u63db\n    Dim dateCell As Variant\n    dateCell = ws.Range(&quot;B1&quot;).Value\n    If IsDate(dateCell) Then\n        Dim dateVal As Date\n        dateVal = CDate(dateCell)\n        MsgBox &quot;\u65e5\u4ed8: &quot; &amp; Format(dateVal, &quot;yyyy\u5e74m\u6708d\u65e5&quot;)\n    Else\n        MsgBox &quot;\u65e5\u4ed8\u5f62\u5f0f\u3067\u306f\u3042\u308a\u307e\u305b\u3093&quot;\n    End If\n\n    &#x27; \u7a7a\u767d\u30c1\u30a7\u30c3\u30af\u3092\u5148\u306b\u884c\u3046\n    Dim v As Variant\n    v = ws.Range(&quot;C1&quot;).Value\n    If IsEmpty(v) Then\n        MsgBox &quot;\u7a7a\u767d\u30bb\u30eb\u3067\u3059&quot;\n    ElseIf IsNumeric(v) Then\n        MsgBox &quot;\u6570\u5024: &quot; &amp; CDbl(v)\n    Else\n        MsgBox &quot;\u6587\u5b57\u5217: &quot; &amp; CStr(v)\n    End If\nEnd Sub<\/pre>\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\">\u578b\u5909\u63db\u3067\u6700\u3082\u3088\u304f\u3042\u308b\u30a8\u30e9\u30fc\u304c\u300c\u6587\u5b57\u5217\u306b\u898b\u3048\u3066\u5b9f\u306f\u6570\u5024\u300d\u300c\u6570\u5024\u306b\u898b\u3048\u3066\u5b9f\u306f\u6587\u5b57\u5217\u300d\u3067\u3059\u3002Excel\u3067\u306f\u6570\u5024\u304c\u6587\u5b57\u5217\u3068\u3057\u3066\u4fdd\u5b58\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u304c\u3042\u308a\u3001IsNumeric\u306f\u6587\u5b57\u5217\"123\"\u3082True\u3092\u8fd4\u3057\u307e\u3059\u3002\u78ba\u5b9f\u306b\u6570\u5024\u3068\u3057\u3066\u6271\u3046\u306b\u306fCDbl\u3067\u5909\u63db\u3059\u308b\u304b\u3001TypeName(v) = \"Double\"\u306e\u3088\u3046\u306b\u578b\u540d\u3067\u5224\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/div>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">7-1. Null\u30fbEmpty\u30fbNothing \u306e\u9055\u3044<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u30bb\u30eb\u304c\u7a7a\u306e\u3068\u304d\u30fb\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u672a\u8a2d\u5b9a\u306e\u3068\u304d\u306e\u5024\u306e\u9055\u3044\u3082\u7406\u89e3\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<table>\n<thead><tr><th>\u5024<\/th><th>\u610f\u5473<\/th><th>\u5224\u5b9a\u65b9\u6cd5<\/th><th>\u767a\u751f\u5834\u9762<\/th><\/tr><\/thead>\n<tbody>\n<tr><td>Empty<\/td><td>Variant\u578b\u306e\u672a\u521d\u671f\u5316\u5024\u3002\u30bb\u30eb\u304c\u7a7a\u767d\u306e\u3068\u304dValue\u304c\u8fd4\u3059\u3002<\/td><td>IsEmpty(v)<\/td><td>\u7a7a\u767d\u30bb\u30eb\u306eValue<\/td><\/tr>\n<tr><td>Null<\/td><td>\u30c7\u30fc\u30bf\u304c\u5b58\u5728\u3057\u306a\u3044\u3053\u3068\u3092\u793a\u3059\u7279\u6b8a\u5024\u3002<\/td><td>IsNull(v)<\/td><td>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u64cd\u4f5c\u30fbADO\u306a\u3069<\/td><\/tr>\n<tr><td>Nothing<\/td><td>\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5909\u6570\u304c\u672a\u8a2d\u5b9a\u3067\u3042\u308b\u3053\u3068\u3092\u793a\u3059\u3002<\/td><td>v Is Nothing<\/td><td>Set\u3055\u308c\u3066\u3044\u306a\u3044\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5909\u6570<\/td><\/tr>\n<tr><td>\"\"\uff08\u7a7a\u6587\u5b57\uff09<\/td><td>\u30bc\u30ed\u9577\u306e\u6587\u5b57\u5217\u3002\u30bb\u30eb\u306b\u7a7a\u6587\u5b57\u304c\u660e\u793a\u7684\u306b\u5165\u529b\u3055\u308c\u305f\u72b6\u614b\u3002<\/td><td>v = \"\"<\/td><td>Value = \"\"\u3067\u8a2d\u5b9a\u3055\u308c\u305f\u5834\u5408<\/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\/seminar2-blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=cc-vba-value-property&#038;blog_slug=cc-vba-value-property\" target=\"_blank\" rel=\"noopener\" aria-label=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff08\u7121\u6599\u30fb1on1\u30fb60\u5206\uff09\u306e\u4e88\u7d04\u753b\u9762\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\/05\/cta_seminar_claude_code_2026.jpg\" alt=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff5c\u7d4c\u55b6\u8005\u30fb\u4f1a\u793e\u5f79\u54e1\u5c02\u7528 1on1 60\u5206 \u7121\u6599\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><a href=\"https:\/\/aikanri.genai-ai.co.jp\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_campaign=cc-vba-value-property&#038;utm_content=h2-banner-kanri\" target=\"_blank\" rel=\"noopener\" aria-label=\"AI\u9b3c\u7ba1\u7406 \u516c\u5f0f\u30b5\u30a4\u30c8\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\/05\/cta_blog_1to1.jpg\" alt=\"Claude Code\u3092\u7d4c\u55b6\u306b\u6d3b\u304b\u3057\u305f\u3044\u65b9\u3078 \u2014 AI\u9b3c\u7ba1\u7406\" 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;\">BUSINESS PATTERNS<\/span>\n  <span class=\"section-title\" style=\"display:block;\">\u696d\u52d9\u5b9f\u8df5\u30d1\u30bf\u30fc\u30f3\uff08\u4e00\u62ec\u8ee2\u8a18\u30fb\u96c6\u8a08\u30fb\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\uff09<\/span>\n  <span class=\"section-desc\">\u5b9f\u969b\u306e\u696d\u52d9\u30de\u30af\u30ed\u3067\u4f7f\u3048\u308bValue\u30d7\u30ed\u30d1\u30c6\u30a3\u6d3b\u7528\u30b3\u30fc\u30c9\u96c6<\/span>\n<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">8-1. \u30b7\u30fc\u30c8\u9593\u306e\u4e00\u62ec\u8ee2\u8a18<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u8907\u6570\u30b7\u30fc\u30c8\u306e\u30c7\u30fc\u30bf\u3092\u96c6\u7d04\u30b7\u30fc\u30c8\u306b\u8ee2\u8a18\u3059\u308b\u51e6\u7406\u306f\u3001\u696d\u52d9\u30de\u30af\u30ed\u306e\u5b9a\u756a\u30d1\u30bf\u30fc\u30f3\u3067\u3059\u3002Value\u30d7\u30ed\u30d1\u30c6\u30a3\u3067\u5024\u3068\u3057\u3066\u8ee2\u8a18\u3059\u308b\u3053\u3068\u3067\u3001\u5143\u306e\u30b7\u30fc\u30c8\u306e\u6570\u5f0f\u30fb\u66f8\u5f0f\u306b\u5f71\u97ff\u3055\u308c\u305a\u5b89\u5168\u306b\u30c7\u30fc\u30bf\u3092\u8ee2\u9001\u3067\u304d\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  <pre style=\"margin:0;font-family:'Courier New',monospace;font-size:13px;line-height:1.8;color:#d4d4d4;white-space:pre-wrap;\">&#x27; \u8907\u6570\u30b7\u30fc\u30c8\u304b\u3089\u96c6\u7d04\u30b7\u30fc\u30c8\u3078\u4e00\u62ec\u8ee2\u8a18\nSub ConsolidateSheets()\n    Dim summaryWs As Worksheet\n    Set summaryWs = ThisWorkbook.Sheets(&quot;\u96c6\u7d04&quot;)\n    summaryWs.Cells.ClearContents  &#x27; \u96c6\u7d04\u30b7\u30fc\u30c8\u3092\u521d\u671f\u5316\n\n    &#x27; \u30d8\u30c3\u30c0\u30fc\u8a2d\u5b9a\n    summaryWs.Range(&quot;A1&quot;).Value = &quot;\u30b7\u30fc\u30c8\u540d&quot;\n    summaryWs.Range(&quot;B1&quot;).Value = &quot;\u540d\u524d&quot;\n    summaryWs.Range(&quot;C1&quot;).Value = &quot;\u91d1\u984d&quot;\n\n    Dim destRow As Long\n    destRow = 2  &#x27; \u66f8\u304d\u8fbc\u307f\u958b\u59cb\u884c\n\n    Dim ws As Worksheet\n    For Each ws In ThisWorkbook.Sheets\n        &#x27; \u300c\u96c6\u7d04\u300d\u30b7\u30fc\u30c8\u81ea\u4f53\u306f\u30b9\u30ad\u30c3\u30d7\n        If ws.Name &lt;&gt; &quot;\u96c6\u7d04&quot; Then\n            &#x27; \u5404\u30b7\u30fc\u30c8\u306e\u6700\u7d42\u884c\u3092\u53d6\u5f97\n            Dim lastRow As Long\n            lastRow = ws.Cells(ws.Rows.Count, 1).End(xlUp).Row\n\n            &#x27; \u30c7\u30fc\u30bf\u884c\u3092\u30eb\u30fc\u30d7\u3057\u3066\u96c6\u7d04\u30b7\u30fc\u30c8\u3078\u8ee2\u8a18\n            Dim r As Long\n            For r = 2 To lastRow  &#x27; 1\u884c\u76ee\u306f\u30d8\u30c3\u30c0\u30fc\u60f3\u5b9a\n                summaryWs.Cells(destRow, 1).Value = ws.Name       &#x27; \u30b7\u30fc\u30c8\u540d\n                summaryWs.Cells(destRow, 2).Value = ws.Cells(r, 1).Value  &#x27; \u540d\u524d\n                summaryWs.Cells(destRow, 3).Value = ws.Cells(r, 2).Value  &#x27; \u91d1\u984d\n                destRow = destRow + 1\n            Next r\n        End If\n    Next ws\n\n    MsgBox &quot;\u8ee2\u8a18\u5b8c\u4e86: \u5408\u8a08 &quot; &amp; destRow - 2 &amp; &quot;\u4ef6&quot;\nEnd Sub<\/pre>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">8-2. \u6761\u4ef6\u4ed8\u304d\u96c6\u8a08<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u7279\u5b9a\u306e\u6761\u4ef6\u306b\u4e00\u81f4\u3059\u308b\u30bb\u30eb\u306e\u5024\u3060\u3051\u3092\u96c6\u8a08\u3059\u308b\u51e6\u7406\u3082\u983b\u51fa\u30d1\u30bf\u30fc\u30f3\u3067\u3059\u3002VBA\u306eSumIf\u3084CountIf\u3092Excel\u95a2\u6570\u3068\u3057\u3066\u4f7f\u3046\u65b9\u6cd5\u3068\u3001\u30eb\u30fc\u30d7\u3067Value\u3092\u78ba\u8a8d\u3057\u306a\u304c\u3089\u96c6\u8a08\u3059\u308b\u65b9\u6cd5\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  <pre style=\"margin:0;font-family:'Courier New',monospace;font-size:13px;line-height:1.8;color:#d4d4d4;white-space:pre-wrap;\">&#x27; \u30eb\u30fc\u30d7\u3067\u6761\u4ef6\u4ed8\u304d\u96c6\u8a08\nSub ConditionalSum()\n    Dim ws As Worksheet\n    Set ws = ThisWorkbook.Sheets(&quot;\u58f2\u4e0a&quot;)\n\n    Dim lastRow As Long\n    lastRow = ws.Cells(ws.Rows.Count, 1).End(xlUp).Row\n\n    &#x27; \u90e8\u9580\u5225\u96c6\u8a08\n    Dim deptA As Double, deptB As Double, deptC As Double\n\n    Dim r As Long\n    For r = 2 To lastRow\n        Dim dept As String\n        Dim amount As Variant\n\n        dept = CStr(ws.Cells(r, 1).Value)    &#x27; A\u5217: \u90e8\u9580\u540d\n        amount = ws.Cells(r, 3).Value        &#x27; C\u5217: \u58f2\u4e0a\u91d1\u984d\n\n        If IsNumeric(amount) And Not IsEmpty(amount) Then\n            Select Case dept\n                Case &quot;\u55b6\u696d\u90e8A&quot;\n                    deptA = deptA + CDbl(amount)\n                Case &quot;\u55b6\u696d\u90e8B&quot;\n                    deptB = deptB + CDbl(amount)\n                Case &quot;\u55b6\u696d\u90e8C&quot;\n                    deptC = deptC + CDbl(amount)\n            End Select\n        End If\n    Next r\n\n    &#x27; \u96c6\u8a08\u7d50\u679c\u3092\u5225\u30b7\u30fc\u30c8\u306b\u66f8\u304d\u8fbc\u3080\n    Dim resultWs As Worksheet\n    Set resultWs = ThisWorkbook.Sheets(&quot;\u96c6\u8a08&quot;)\n    resultWs.Range(&quot;B2&quot;).Value = deptA\n    resultWs.Range(&quot;B3&quot;).Value = deptB\n    resultWs.Range(&quot;B4&quot;).Value = deptC\n    resultWs.Range(&quot;B5&quot;).Value = deptA + deptB + deptC\n\n    MsgBox &quot;\u96c6\u8a08\u5b8c\u4e86&quot;\nEnd Sub<\/pre>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">8-3. \u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u5909\u63db\uff08\u65e5\u4ed8\u30fb\u6570\u5024\u306e\u8868\u793a\u7d71\u4e00\uff09<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u30c7\u30fc\u30bf\u30b7\u30fc\u30c8\u306e\u65e5\u4ed8\u3084\u6570\u5024\u306e\u8868\u793a\u5f62\u5f0f\u304c\u30d0\u30e9\u30d0\u30e9\u306a\u5834\u5408\u3001VBA\u3067Value\u3092\u53d6\u5f97\u30fb\u5909\u63db\u30fb\u518d\u8a2d\u5b9a\u3057\u3066\u7d71\u4e00\u3059\u308b\u51e6\u7406\u3082\u696d\u52d9\u3067\u3088\u304f\u4f7f\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  <pre style=\"margin:0;font-family:'Courier New',monospace;font-size:13px;line-height:1.8;color:#d4d4d4;white-space:pre-wrap;\">&#x27; \u65e5\u4ed8\u66f8\u5f0f\u306e\u7d71\u4e00\u51e6\u7406\nSub UniformizeDateFormat()\n    Dim ws As Worksheet\n    Set ws = ThisWorkbook.Sheets(&quot;\u30c7\u30fc\u30bf&quot;)\n\n    Dim lastRow As Long\n    lastRow = ws.Cells(ws.Rows.Count, 1).End(xlUp).Row\n\n    Dim r As Long\n    For r = 2 To lastRow\n        Dim cellVal As Variant\n        cellVal = ws.Cells(r, 2).Value  &#x27; B\u5217\u306e\u65e5\u4ed8\u30bb\u30eb\n\n        &#x27; \u7a7a\u767d\u30fb\u975e\u65e5\u4ed8\u306f\u30b9\u30ad\u30c3\u30d7\n        If IsEmpty(cellVal) Then GoTo NextRow\n        If Not IsDate(cellVal) Then GoTo NextRow\n\n        &#x27; Date\u578b\u306b\u5909\u63db\u3057\u3066\u518d\u8a2d\u5b9a\n        Dim dateVal As Date\n        dateVal = CDate(cellVal)\n\n        &#x27; \u66f8\u5f0f\u3092\u7d71\u4e00\uff08yyyy\/mm\/dd\u5f62\u5f0f\u3067\u6587\u5b57\u5217\u3068\u3057\u3066\u66f8\u304d\u8fbc\u3080\u5834\u5408\uff09\n        ws.Cells(r, 3).Value = Format(dateVal, &quot;yyyy\/mm\/dd&quot;)\n\n        &#x27; \u307e\u305f\u306f\u65e5\u4ed8\u578b\u306e\u307e\u307e\u66f8\u304d\u8fbc\u3093\u3067\u30bb\u30eb\u66f8\u5f0f\u3067\u8868\u793a\u3092\u7d71\u4e00\n        ws.Cells(r, 2).Value = dateVal\n        ws.Cells(r, 2).NumberFormat = &quot;yyyy\/mm\/dd&quot;\n\nNextRow:\n    Next r\n\n    MsgBox &quot;\u65e5\u4ed8\u66f8\u5f0f\u7d71\u4e00\u5b8c\u4e86&quot;\nEnd Sub<\/pre>\n<\/div>\n\n\n\n<div class=\"g-flow-row\" style=\"margin:24px 0;\">\n  <div class=\"g-flow-item\"><strong>\u5143\u30c7\u30fc\u30bf\u53d6\u5f97<\/strong><br><span style=\"font-size:12px;\">.Value\u3067\u8aad\u307f\u8fbc\u307f<\/span><\/div>\n  <div class=\"g-flow-arrow\">&#8594;<\/div>\n  <div class=\"g-flow-item\"><strong>\u578b\u30c1\u30a7\u30c3\u30af<\/strong><br><span style=\"font-size:12px;\">IsDate\/IsNumeric\u7b49<\/span><\/div>\n  <div class=\"g-flow-arrow\">&#8594;<\/div>\n  <div class=\"g-flow-item\"><strong>\u578b\u5909\u63db\u30fb\u52a0\u5de5<\/strong><br><span style=\"font-size:12px;\">CDate\/CDbl\/Format\u7b49<\/span><\/div>\n  <div class=\"g-flow-arrow\">&#8594;<\/div>\n  <div class=\"g-flow-item\"><strong>\u7d50\u679c\u3092\u66f8\u304d\u8fbc\u307f<\/strong><br><span style=\"font-size:12px;\">.Value\u3067\u8a2d\u5b9a<\/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\">\u300c\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u5909\u63db\u300d\u306f\u696d\u52d9\u3067\u975e\u5e38\u306b\u3088\u304f\u4f9d\u983c\u3055\u308c\u308b\u4f5c\u696d\u3067\u3059\u3002\u300c\u5404\u90e8\u7f72\u304b\u3089\u3082\u3089\u3063\u305fExcel\u306e\u65e5\u4ed8\u5f62\u5f0f\u304c\u30d0\u30e9\u30d0\u30e9\u306a\u306e\u3067\u7d71\u4e00\u3057\u305f\u3044\u300d\u300c\u6570\u5024\u306e\u5358\u4f4d\u304c\u6df7\u5728\u3057\u3066\u3044\u308b\u306e\u3067\u7d71\u4e00\u3057\u305f\u3044\u300d\u2014\u2014\u3053\u3046\u3057\u305f\u4f5c\u696d\u3092VBA\u30de\u30af\u30ed\u306b\u4efb\u305b\u308b\u3053\u3068\u3067\u3001\u624b\u4f5c\u696d\u3067\u306e\u4fee\u6b63\u30df\u30b9\u3092\u30bc\u30ed\u306b\u3067\u304d\u307e\u3059\u3002Value\u30d7\u30ed\u30d1\u30c6\u30a3\u3067\u5024\u3092\u53d6\u308a\u51fa\u3057\u3001\u52a0\u5de5\u3057\u3066\u518d\u8a2d\u5b9a\u3059\u308b\u30d1\u30bf\u30fc\u30f3\u3092\u7fd2\u5f97\u3059\u308b\u3053\u3068\u304c\u696d\u52d9\u52b9\u7387\u5316\u3078\u306e\u8fd1\u9053\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\/seminar2-blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=cc-vba-value-property&#038;blog_slug=cc-vba-value-property\" target=\"_blank\" rel=\"noopener\" aria-label=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff08\u7121\u6599\u30fb1on1\u30fb60\u5206\uff09\u306e\u4e88\u7d04\u753b\u9762\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\/05\/cta_seminar_claude_code_2026.jpg\" alt=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff5c\u7d4c\u55b6\u8005\u30fb\u4f1a\u793e\u5f79\u54e1\u5c02\u7528 1on1 60\u5206 \u7121\u6599\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><a href=\"https:\/\/aikanri.genai-ai.co.jp\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_campaign=cc-vba-value-property&#038;utm_content=h2-banner-kanri\" target=\"_blank\" rel=\"noopener\" aria-label=\"AI\u9b3c\u7ba1\u7406 \u516c\u5f0f\u30b5\u30a4\u30c8\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\/05\/cta_blog_1to1.jpg\" alt=\"Claude Code\u3092\u7d4c\u55b6\u306b\u6d3b\u304b\u3057\u305f\u3044\u65b9\u3078 \u2014 AI\u9b3c\u7ba1\u7406\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><\/div>\n\n\n<div id=\"sec-09\"><\/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;\">09<\/span>\n  <span class=\"section-label\" style=\"display:block;\">TROUBLESHOOT<\/span>\n  <span class=\"section-title\" style=\"display:block;\">\u3088\u304f\u3042\u308b\u5931\u6557\u3068\u30c7\u30d0\u30c3\u30b0<\/span>\n  <span class=\"section-desc\">Value\u30d7\u30ed\u30d1\u30c6\u30a3\u4f7f\u7528\u6642\u306e\u5178\u578b\u7684\u306a\u30a8\u30e9\u30fc\u3068\u5bfe\u51e6\u6cd5<\/span>\n<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Value\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u4f7f\u3046\u30b3\u30fc\u30c9\u3067\u767a\u751f\u3057\u3084\u3059\u3044\u30a8\u30e9\u30fc\u3068\u30c8\u30e9\u30d6\u30eb\u306e\u30d1\u30bf\u30fc\u30f3\u3092\u6574\u7406\u3057\u307e\u3059\u3002\u4e8b\u524d\u306b\u77e5\u3063\u3066\u304a\u304f\u3053\u3068\u3067\u3001\u30a8\u30e9\u30fc\u304c\u8d77\u304d\u305f\u3068\u304d\u306e\u539f\u56e0\u7279\u5b9a\u304c\u901f\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<table>\n<thead><tr><th>\u30a8\u30e9\u30fc\u30fb\u73fe\u8c61<\/th><th>\u539f\u56e0<\/th><th>\u5bfe\u51e6\u6cd5<\/th><\/tr><\/thead>\n<tbody>\n<tr><td>\u578b\u304c\u4e00\u81f4\u3057\u307e\u305b\u3093\uff08\u30a8\u30e9\u30fc13\uff09<\/td><td>\u6587\u5b57\u5217\u30bb\u30eb\u3092Long\/Double\u5909\u6570\u306b\u76f4\u63a5\u4ee3\u5165<\/td><td>IsNumeric\u3067\u78ba\u8a8d\u5f8c\u306bCDbl\/CLng\u5909\u63db<\/td><\/tr>\n<tr><td>\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5909\u6570\u307e\u305f\u306fWith\u30d6\u30ed\u30c3\u30af\u5909\u6570\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u307e\u305b\u3093\uff08\u30a8\u30e9\u30fc91\uff09<\/td><td>\u30b7\u30fc\u30c8\u3084\u30bb\u30eb\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304cNothing<\/td><td>Set ws = Sheets(\"...\")\u306e\u5f8cIs Nothing\u30c1\u30a7\u30c3\u30af<\/td><\/tr>\n<tr><td>\u65e5\u4ed8\u304c\u30b7\u30ea\u30a2\u30eb\u5024\u306e\u6574\u6570\u306b\u306a\u308b<\/td><td>Date\u578b\u3067\u306a\u304fLong\u578b\u5909\u6570\u306b\u4ee3\u5165<\/td><td>\u5909\u6570\u3092Date\u578b\u307e\u305f\u306fVariant\u578b\u306b\u3059\u308b<\/td><\/tr>\n<tr><td>\u7a7a\u767d\u30bb\u30eb\u306b0\u304c\u8fd4\u308b<\/td><td>IsEmpty\u30c1\u30a7\u30c3\u30af\u306a\u3057\u3067\u6570\u5024\u8a08\u7b97\u306b\u4f7f\u7528<\/td><td>IsEmpty(v)\u3067\u7a7a\u767d\u3092\u9664\u5916\u3057\u3066\u304b\u3089\u6f14\u7b97<\/td><\/tr>\n<tr><td>######\u3068\u8868\u793a\u3055\u308c\u308b<\/td><td>\u5217\u5e45\u304c\u72ed\u304fText\u30d7\u30ed\u30d1\u30c6\u30a3\u3082######\u3092\u8fd4\u3059<\/td><td>Value\u30d7\u30ed\u30d1\u30c6\u30a3\u307e\u305f\u306fValue2\u3092\u4f7f\u3046<\/td><\/tr>\n<tr><td>\u30bb\u30eb\u306e\u5024\u3092\u66f4\u65b0\u3057\u305f\u304c\u753b\u9762\u304c\u5909\u308f\u3089\u306a\u3044<\/td><td>Application.ScreenUpdating = False\u306e\u307e\u307e<\/td><td>\u51e6\u7406\u5f8c\u306bScreenUpdating = True\u306b\u623b\u3059<\/td><\/tr>\n<\/tbody>\n<\/table>\n\n\n\n<h3 class=\"wp-block-heading\">9-1. \u578b\u4e0d\u4e00\u81f4\u30a8\u30e9\u30fc\u306e\u30c7\u30d0\u30c3\u30b0\u65b9\u6cd5<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u300c\u578b\u304c\u4e00\u81f4\u3057\u307e\u305b\u3093\uff08\u30a8\u30e9\u30fc13\uff09\u300d\u304c\u51fa\u305f\u5834\u5408\u3001\u30bb\u30eb\u306b\u5165\u3063\u3066\u3044\u308b\u5024\u306e\u578b\u304c\u4e88\u60f3\u3068\u9055\u3046\u3053\u3068\u304c\u539f\u56e0\u3067\u3059\u3002TypeName\u3068Immediate\u30a6\u30a3\u30f3\u30c9\u30a6\u3092\u4f7f\u3063\u3066\u578b\u3092\u78ba\u8a8d\u3059\u308b\u306e\u304c\u6700\u901f\u306e\u30c7\u30d0\u30c3\u30b0\u65b9\u6cd5\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  <pre style=\"margin:0;font-family:'Courier New',monospace;font-size:13px;line-height:1.8;color:#d4d4d4;white-space:pre-wrap;\">&#x27; \u578b\u3092\u78ba\u8a8d\u3059\u308b\u30c7\u30d0\u30c3\u30b0\u30b3\u30fc\u30c9\nSub DebugCellType()\n    Dim ws As Worksheet\n    Set ws = ThisWorkbook.Sheets(&quot;Sheet1&quot;)\n\n    Dim v As Variant\n    v = ws.Range(&quot;A1&quot;).Value\n\n    &#x27; TypeName\u3067\u578b\u540d\u3092\u78ba\u8a8d\uff08Immediate\u30a6\u30a3\u30f3\u30c9\u30a6\u306b\u51fa\u529b\uff09\n    Debug.Print &quot;TypeName: &quot; &amp; TypeName(v)\n    Debug.Print &quot;Value: &quot; &amp; CStr(v)\n    Debug.Print &quot;IsEmpty: &quot; &amp; IsEmpty(v)\n    Debug.Print &quot;IsNumeric: &quot; &amp; IsNumeric(v)\n    Debug.Print &quot;IsDate: &quot; &amp; IsDate(v)\n    Debug.Print &quot;IsNull: &quot; &amp; IsNull(v)\n\n    &#x27; TypeName\u306e\u8fd4\u3059\u5024: &quot;Double&quot;, &quot;String&quot;, &quot;Date&quot;, &quot;Boolean&quot;, &quot;Empty&quot;, &quot;Null&quot;\u7b49\n    MsgBox &quot;\u578b: &quot; &amp; TypeName(v) &amp; vbCrLf &amp; &quot;\u5024: &quot; &amp; CStr(v)\nEnd Sub<\/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;\">\n    <span style=\"font-size:18px;\">&#128161;<\/span>\n    <strong style=\"color:#16a34a;font-size:15px;\">Immediate\u30a6\u30a3\u30f3\u30c9\u30a6\uff08Ctrl+G\uff09\u3067Debug.Print\u3092\u78ba\u8a8d\u3059\u308b<\/strong>\n  <\/div>\n  <p style=\"margin:0;font-size:15px;line-height:1.8;color:#333;\">VBA\u30a8\u30c7\u30a3\u30bf\uff08VBE\uff09\u3067Ctrl+G\u3092\u62bc\u3059\u3068Immediate\u30a6\u30a3\u30f3\u30c9\u30a6\u304c\u958b\u304d\u307e\u3059\u3002Debug.Print\u3067\u51fa\u529b\u3057\u305f\u5024\u304c\u3053\u3053\u306b\u8868\u793a\u3055\u308c\u307e\u3059\u3002\u30de\u30af\u30ed\u3092\u5b9f\u884c\u3057\u306a\u304c\u3089\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u306b\u5909\u6570\u306e\u5024\u30fb\u578b\u3092\u78ba\u8a8d\u3067\u304d\u308b\u305f\u3081\u3001Value\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u30c7\u30d0\u30c3\u30b0\u306b\u975e\u5e38\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002<\/p>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">9-2. \u7a7a\u767d\u30bb\u30eb\u30fbEmpty\u306e\u6271\u3044\u30df\u30b9<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u696d\u52d9\u30c7\u30fc\u30bf\u3067\u306f\u7a7a\u767d\u30bb\u30eb\u304c\u6df7\u5728\u3059\u308b\u3053\u3068\u304c\u591a\u304f\u3001Empty\u3092\u305d\u306e\u307e\u307e\u6570\u5024\u6f14\u7b97\u306b\u4f7f\u3046\u3068\u30a8\u30e9\u30fc\u3084\u4e88\u671f\u3057\u306a\u3044\u7d50\u679c\u304c\u51fa\u307e\u3059\u3002\u7a7a\u767d\u30c1\u30a7\u30c3\u30af\u3092\u6700\u521d\u306b\u884c\u3046\u3053\u3068\u304c\u9244\u5247\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  <pre style=\"margin:0;font-family:'Courier New',monospace;font-size:13px;line-height:1.8;color:#d4d4d4;white-space:pre-wrap;\">&#x27; \u7a7a\u767d\u30bb\u30eb\u51e6\u7406\u306e\u6b63\u3057\u3044\u30d1\u30bf\u30fc\u30f3\nSub HandleEmptyCells()\n    Dim ws As Worksheet\n    Set ws = ThisWorkbook.Sheets(&quot;Sheet1&quot;)\n\n    Dim total As Double\n    Dim count As Long\n    Dim lastRow As Long\n    lastRow = ws.Cells(ws.Rows.Count, 1).End(xlUp).Row\n\n    Dim r As Long\n    For r = 2 To lastRow\n        Dim v As Variant\n        v = ws.Cells(r, 2).Value\n\n        &#x27; \u7a7a\u767d\u3092\u30b9\u30ad\u30c3\u30d7\uff08IsEmpty\u3092\u5148\u306b\u30c1\u30a7\u30c3\u30af\uff09\n        If IsEmpty(v) Then GoTo SkipRow\n\n        &#x27; \u6570\u5024\u30c1\u30a7\u30c3\u30af\n        If Not IsNumeric(v) Then GoTo SkipRow\n\n        total = total + CDbl(v)\n        count = count + 1\n\nSkipRow:\n    Next r\n\n    If count &gt; 0 Then\n        MsgBox &quot;\u5408\u8a08: &quot; &amp; total &amp; vbCrLf &amp; &quot;\u4ef6\u6570: &quot; &amp; count &amp; vbCrLf &amp; &quot;\u5e73\u5747: &quot; &amp; total \/ count\n    Else\n        MsgBox &quot;\u6709\u52b9\u306a\u30c7\u30fc\u30bf\u304c\u3042\u308a\u307e\u305b\u3093&quot;\n    End If\nEnd Sub<\/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\/seminar2-blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=cc-vba-value-property&#038;blog_slug=cc-vba-value-property\" target=\"_blank\" rel=\"noopener\" aria-label=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff08\u7121\u6599\u30fb1on1\u30fb60\u5206\uff09\u306e\u4e88\u7d04\u753b\u9762\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\/05\/cta_seminar_claude_code_2026.jpg\" alt=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff5c\u7d4c\u55b6\u8005\u30fb\u4f1a\u793e\u5f79\u54e1\u5c02\u7528 1on1 60\u5206 \u7121\u6599\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><a href=\"https:\/\/aikanri.genai-ai.co.jp\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_campaign=cc-vba-value-property&#038;utm_content=h2-banner-kanri\" target=\"_blank\" rel=\"noopener\" aria-label=\"AI\u9b3c\u7ba1\u7406 \u516c\u5f0f\u30b5\u30a4\u30c8\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\/05\/cta_blog_1to1.jpg\" alt=\"Claude Code\u3092\u7d4c\u55b6\u306b\u6d3b\u304b\u3057\u305f\u3044\u65b9\u3078 \u2014 AI\u9b3c\u7ba1\u7406\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><\/div>\n\n\n<div id=\"sec-10\"><\/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;\">10<\/span>\n  <span class=\"section-label\" style=\"display:block;\">CLAUDE CODE<\/span>\n  <span class=\"section-title\" style=\"display:block;\">Claude Code\u3067VBA\u306eValue\u30d7\u30ed\u30d1\u30c6\u30a3\u30b3\u30fc\u30c9\u3092\u81ea\u52d5\u751f\u6210<\/span>\n  <span class=\"section-desc\">\u30bb\u30eb\u64cd\u4f5c\u30b3\u30fc\u30c9\u306e\u751f\u6210\u30fb\u6700\u9069\u5316\u30fb\u30c7\u30d0\u30c3\u30b0\u3092AI\u306b\u4efb\u305b\u308b\u65b9\u6cd5<\/span>\n<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">VBA\u306eValue\u30d7\u30ed\u30d1\u30c6\u30a3\u306f\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9\u306f\u5358\u7d14\u3067\u3082\u3001\u578b\u5909\u63db\u30fb\u7a7a\u767d\u51e6\u7406\u30fb\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u6700\u9069\u5316\u30fb\u30a8\u30e9\u30fc\u51e6\u7406\u307e\u3067\u8003\u3048\u308b\u3068\u610f\u5916\u3068\u8907\u96d1\u3067\u3059\u3002Claude Code\u3092\u6d3b\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u3053\u3046\u3057\u305f\u7d30\u304b\u3044\u8003\u616e\u4e8b\u9805\u3092\u5168\u3066\u542b\u3093\u3060\u5b9f\u7528\u7684\u306a\u30b3\u30fc\u30c9\u3092\u5373\u5ea7\u306b\u751f\u6210\u3067\u304d\u307e\u3059\u3002<\/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><strong>\u8ee2\u8a18\u30de\u30af\u30ed\u306e\u751f\u6210<\/strong>\uff1a\u300cSheet1\u306eA\u301cC\u5217\u306e\u30c7\u30fc\u30bf\u3092Sheet2\u306b\u8ee2\u8a18\u3059\u308bVBA\u30b3\u30fc\u30c9\u3092\u66f8\u3044\u3066\u3002\u7a7a\u767d\u884c\u306f\u30b9\u30ad\u30c3\u30d7\u3057\u3066\u3001\u578b\u30a8\u30e9\u30fc\u304c\u8d77\u304d\u306a\u3044\u3088\u3046\u578b\u30c1\u30a7\u30c3\u30af\u3082\u5165\u308c\u3066\u300d<\/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>\u96c6\u8a08\u30b3\u30fc\u30c9\u306e\u751f\u6210<\/strong>\uff1a\u300c\u90e8\u9580\u5225\u306b\u58f2\u4e0a\u5408\u8a08\u3092\u96c6\u8a08\u3057\u3066\u5225\u30b7\u30fc\u30c8\u306b\u66f8\u304d\u51fa\u3059VBA\u30b3\u30fc\u30c9\u3092\u66f8\u3044\u3066\u3002\u6700\u7d42\u884c\u306f\u52d5\u7684\u306b\u53d6\u5f97\u3057\u3066\u300d<\/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>\u578b\u5909\u63db\u554f\u984c\u306e\u89e3\u6c7a<\/strong>\uff1a\u300cValue\u3067\u53d6\u5f97\u3057\u305f\u65e5\u4ed8\u304c\u30b7\u30ea\u30a2\u30eb\u5024\u306b\u306a\u308a\u307e\u3059\u3002Date\u578b\u3068\u3057\u3066\u6b63\u3057\u304f\u6271\u3046\u30b3\u30fc\u30c9\u306b\u4fee\u6b63\u3057\u3066\u300d<\/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>\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u6539\u5584<\/strong>\uff1a\u300c\u3053\u306e\u30eb\u30fc\u30d7\u51e6\u7406\u304c\u9045\u3044\u306e\u3067\u3001\u914d\u5217\u3092\u4f7f\u3063\u305f\u9ad8\u901f\u5316\u30d0\u30fc\u30b8\u30e7\u30f3\u306b\u66f8\u304d\u76f4\u3057\u3066\u300d<\/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>\u30c7\u30d0\u30c3\u30b0\u652f\u63f4<\/strong>\uff1a\u300c\u578b\u304c\u4e00\u81f4\u3057\u307e\u305b\u3093\u30a8\u30e9\u30fc13\u304c\u767a\u751f\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u30b3\u30fc\u30c9\u306e\u539f\u56e0\u3068\u4fee\u6b63\u65b9\u6cd5\u3092\u6559\u3048\u3066\u300d<\/span><\/div>\n\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\">\u5f0a\u793e\u3067\u306f\u300cExcel\u306e\u30c7\u30fc\u30bf\u6574\u5f62\u30fb\u8ee2\u8a18\u30fb\u96c6\u8a08\u4f5c\u696d\u3092\u81ea\u52d5\u5316\u3057\u305f\u3044\u300d\u3068\u3044\u3046\u8981\u671b\u306bVBA\u30de\u30af\u30ed\u3067\u5bfe\u5fdc\u3057\u3066\u304a\u308a\u3001Claude Code\u3067Value\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u6d3b\u7528\u3057\u305f\u30b3\u30fc\u30c9\u3092\u751f\u6210\u30fb\u6539\u5584\u3057\u3066\u3044\u307e\u3059\u3002\u300c\u3053\u306e\u30b7\u30fc\u30c8\u306e\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u306b\u5408\u308f\u305b\u3066\u8ee2\u8a18\u30b3\u30fc\u30c9\u3092\u751f\u6210\u3057\u3066\u300d\u3068\u4f9d\u983c\u3059\u308b\u3068\u3001\u578b\u30c1\u30a7\u30c3\u30af\u30fb\u7a7a\u767d\u51e6\u7406\u30fb\u30a8\u30e9\u30fc\u51e6\u7406\u307e\u3067\u542b\u3093\u3060\u5b9f\u7528\u7684\u306a\u30b3\u30fc\u30c9\u304c\u6570\u5206\u3067\u5b8c\u6210\u3057\u307e\u3059\u3002<\/div>\n<\/div>\n\n\n\n<div style=\"background:#1e1e1e;border-radius:8px;padding:20px 24px;margin:20px 0;overflow-x:auto;\">\n  <pre style=\"margin:0;font-family:'Courier New',monospace;font-size:13px;line-height:1.8;color:#d4d4d4;white-space:pre-wrap;\">&#x27; Claude Code\u306b\u4f9d\u983c\u3059\u308b\u30d7\u30ed\u30f3\u30d7\u30c8\u4f8b\n&#x27;\n&#x27; \u300c\u4ee5\u4e0b\u306e\u4ed5\u69d8\u3067VBA\u30b3\u30fc\u30c9\u3092\u4f5c\u6210\u3057\u3066\u304f\u3060\u3055\u3044\u3002\n&#x27;\n&#x27;  \u5bfe\u8c61\u30d5\u30a1\u30a4\u30eb: Sheet1\u306eA\u301cD\u5217\u306b\u30c7\u30fc\u30bf\u304c\u3042\u308b\uff081\u884c\u76ee\u306f\u30d8\u30c3\u30c0\u30fc\uff09\n&#x27;  A\u5217: \u9867\u5ba2\u540d\uff08\u6587\u5b57\u5217\uff09\n&#x27;  B\u5217: \u8cfc\u5165\u65e5\uff08\u65e5\u4ed8\uff09\n&#x27;  C\u5217: \u91d1\u984d\uff08\u6570\u5024\uff09\n&#x27;  D\u5217: \u30b9\u30c6\u30fc\u30bf\u30b9\uff08&quot;\u5b8c\u4e86&quot;\u307e\u305f\u306f&quot;\u672a\u5b8c\u4e86&quot;\u306e\u6587\u5b57\u5217\uff09\n&#x27;\n&#x27;  \u51e6\u7406\u5185\u5bb9:\n&#x27;  1. D\u5217\u304c&quot;\u5b8c\u4e86&quot;\u306e\u884c\u3060\u3051\u3092\u62bd\u51fa\u3057\u3066Sheet2\u306b\u8ee2\u8a18\n&#x27;  2. B\u5217\u306e\u65e5\u4ed8\u306f&quot;yyyy\/mm\/dd&quot;\u5f62\u5f0f\u306e\u6587\u5b57\u5217\u3067Sheet2\u306b\u66f8\u304f\n&#x27;  3. C\u5217\u306e\u5408\u8a08\u3092Sheet2\u306eF1\u306b\u66f8\u304f\n&#x27;  4. \u7a7a\u767d\u884c\u30fb\u578b\u30a8\u30e9\u30fc\u306f\u5b89\u5168\u306b\u30b9\u30ad\u30c3\u30d7\n&#x27;  5. \u51e6\u7406\u4ef6\u6570\u3092MsgBox\u3067\u8868\u793a\n&#x27; \u300d\n\n&#x27; \u3053\u306e\u3088\u3046\u306a\u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u9001\u308b\u3068\u3001\u578b\u30c1\u30a7\u30c3\u30af\u30fb\u7a7a\u767d\u51e6\u7406\u30fb\u30a8\u30e9\u30fc\u51e6\u7406\u3092\n&#x27; \u5168\u3066\u542b\u3093\u3060\u5b9f\u7528\u7684\u306aVBA\u30b3\u30fc\u30c9\u304c\u5373\u5ea7\u306b\u751f\u6210\u3055\u308c\u307e\u3059\u3002<\/pre>\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\u4f9d\u983c\u3067\u306f\u300c\u30b7\u30fc\u30c8\u306e\u5217\u69cb\u6210\u30fb\u30c7\u30fc\u30bf\u578b\u30fb\u51e6\u7406\u3057\u305f\u3044\u6761\u4ef6\u30fb\u51fa\u529b\u5148\u300d\u3092\u5177\u4f53\u7684\u306b\u66f8\u304f\u307b\u3069\u7cbe\u5ea6\u304c\u4e0a\u304c\u308a\u307e\u3059\u3002\u300cExcel\u30de\u30af\u30ed\u3092\u4f5c\u3063\u3066\u300d\u3067\u306f\u306a\u304f\u300cSheet1\u306eA\u5217(\u9867\u5ba2\u540d)\u30fbC\u5217(\u91d1\u984d)\u306e\u30c7\u30fc\u30bf\u3092D\u5217\u3067\u7d5e\u308a\u8fbc\u3093\u3067Sheet2\u306b\u8ee2\u8a18\u3059\u308bVBA\u30b3\u30fc\u30c9\u3092\u66f8\u3044\u3066\u300d\u306e\u3088\u3046\u306b\u3001\u5bfe\u8c61\u3068\u51e6\u7406\u3092\u660e\u78ba\u306b\u3057\u3066\u4f9d\u983c\u3057\u307e\u3057\u3087\u3046\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\/seminar2-blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=cc-vba-value-property&#038;blog_slug=cc-vba-value-property\" target=\"_blank\" rel=\"noopener\" aria-label=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff08\u7121\u6599\u30fb1on1\u30fb60\u5206\uff09\u306e\u4e88\u7d04\u753b\u9762\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\/05\/cta_seminar_claude_code_2026.jpg\" alt=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff5c\u7d4c\u55b6\u8005\u30fb\u4f1a\u793e\u5f79\u54e1\u5c02\u7528 1on1 60\u5206 \u7121\u6599\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><a href=\"https:\/\/aikanri.genai-ai.co.jp\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_campaign=cc-vba-value-property&#038;utm_content=h2-banner-kanri\" target=\"_blank\" rel=\"noopener\" aria-label=\"AI\u9b3c\u7ba1\u7406 \u516c\u5f0f\u30b5\u30a4\u30c8\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\/05\/cta_blog_1to1.jpg\" alt=\"Claude Code\u3092\u7d4c\u55b6\u306b\u6d3b\u304b\u3057\u305f\u3044\u65b9\u3078 \u2014 AI\u9b3c\u7ba1\u7406\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><\/div>\n\n\n<div id=\"sec-11\"><\/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;\">11<\/span>\n  <span class=\"section-label\" style=\"display:block;\">CONCLUSION<\/span>\n  <span class=\"section-title\" style=\"display:block;\">\u307e\u3068\u3081<\/span>\n  <span class=\"section-desc\">VBA\u306eValue\u30d7\u30ed\u30d1\u30c6\u30a3\u5b8c\u5168\u30ac\u30a4\u30c9\u306e\u8981\u70b9\u6574\u7406<\/span>\n<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001VBA\u306eValue\u30d7\u30ed\u30d1\u30c6\u30a3\u309210\u30bb\u30af\u30b7\u30e7\u30f3\u3067\u4f53\u7cfb\u7684\u306b\u89e3\u8aac\u3057\u307e\u3057\u305f\u3002\u30bb\u30eb\u306e\u57fa\u672c\u7684\u306a\u8aad\u307f\u66f8\u304d\u304b\u3089Value2\u30fbText\u30fbFormula\u3068\u306e\u9055\u3044\u30fb\u578b\u5909\u63db\u30fb\u30eb\u30fc\u30d7\u51e6\u7406\u30fb\u696d\u52d9\u6d3b\u7528\u30d1\u30bf\u30fc\u30f3\u307e\u3067\u3001Value\u30d7\u30ed\u30d1\u30c6\u30a3\u306b\u95a2\u3059\u308b\u77e5\u8b58\u3092\u7db2\u7f85\u7684\u306b\u8aac\u660e\u3057\u307e\u3057\u305f\u3002<\/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><strong>Value\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u57fa\u672c<\/strong>\uff1aRange\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u30d7\u30ed\u30d1\u30c6\u30a3\u3002\u30bb\u30eb\u306e\u5024\u3092\u53d6\u5f97\u30fb\u8a2d\u5b9a\u3059\u308b\u4e2d\u5fc3\u7684\u306a\u7a93\u53e3<\/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>Range vs Cells<\/strong>\uff1a\u6587\u5b57\u5217\u30a2\u30c9\u30ec\u30b9\u6307\u5b9avs\u884c\u5217\u756a\u53f7\u6307\u5b9a\u3002\u30eb\u30fc\u30d7\u306b\u306fCells\u3001\u56fa\u5b9a\u30a2\u30c9\u30ec\u30b9\u306b\u306fRange\u304c\u4fbf\u5229<\/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>4\u3064\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u4f7f\u3044\u5206\u3051<\/strong>\uff1aValue\uff08\u5b9f\u5024\uff09\u30fbValue2\uff08\u65e5\u4ed8\u3092\u30b7\u30ea\u30a2\u30eb\u5024\u3067\uff09\u30fbText\uff08\u8868\u793a\u6587\u5b57\u5217\uff09\u30fbFormula\uff08\u6570\u5f0f\u6587\u5b57\u5217\uff09<\/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>\u578b\u5909\u63db\u306e\u9244\u5247<\/strong>\uff1aIsEmpty\u30fbIsNumeric\u30fbIsDate\u3067\u78ba\u8a8d\u5f8c\u306bCDbl\u30fbCDate\u30fbCStr\u3067\u5b89\u5168\u306b\u5909\u63db\u3059\u308b<\/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>\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u6700\u9069\u5316<\/strong>\uff1a\u5927\u91cf\u30c7\u30fc\u30bf\u306f\u914d\u5217\u3067\u4e00\u62ec\u8aad\u307f\u8fbc\u307f\u2192\u51e6\u7406\u2192\u4e00\u62ec\u66f8\u304d\u8fbc\u307f\u304c\u6700\u901f<\/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>ScreenUpdating\u306e\u7ba1\u7406<\/strong>\uff1a\u51e6\u7406\u524d\u306bFalse\u30fb\u51e6\u7406\u5f8c\u306b\u5fc5\u305aTrue\u306b\u623b\u3059\uff08ErrorHandler\u3067\u3082\u5fd8\u308c\u305a\u306b\uff09<\/span><\/div>\n\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\">Value\u30d7\u30ed\u30d1\u30c6\u30a3\u306f\u300cVBA\u30de\u30af\u30ed\u3092\u66f8\u304f\u4eba\u304c\u6700\u3082\u983b\u7e41\u306b\u4f7f\u3046\u30d7\u30ed\u30d1\u30c6\u30a3\u300d\u3067\u3059\u3002\u57fa\u672c\u306f\u5358\u7d14\u3067\u3059\u304c\u3001\u578b\u5909\u63db\u30fb\u7a7a\u767d\u51e6\u7406\u30fbValue2\u30fbText\u3068\u306e\u4f7f\u3044\u5206\u3051\u3092\u6b63\u78ba\u306b\u7406\u89e3\u3059\u308b\u3053\u3068\u3067\u3001\u58ca\u308c\u306a\u3044\u30de\u30af\u30ed\u304c\u66f8\u3051\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002Claude Code\u3068\u7d44\u307f\u5408\u308f\u305b\u308b\u3053\u3068\u3067\u3001\u3053\u306e\u8a18\u4e8b\u3067\u89e3\u8aac\u3057\u305f\u3088\u3046\u306a\u7d30\u304b\u3044\u8003\u616e\u4e8b\u9805\u3092\u5168\u3066\u542b\u3093\u3060\u30b3\u30fc\u30c9\u3092\u7d20\u65e9\u304f\u751f\u6210\u30fb\u6539\u5584\u3067\u304d\u307e\u3059\u3002<\/div>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">VBA\u306eValue\u30d7\u30ed\u30d1\u30c6\u30a3\u6d3b\u7528\u304b\u3089\u696d\u52d9\u81ea\u52d5\u5316\u307e\u3067\u3001Claude Code\u3067\u5373\u89e3\u6c7a<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u300cExcel\u306e\u8ee2\u8a18\u30fb\u96c6\u8a08\u4f5c\u696d\u3092VBA\u3067\u81ea\u52d5\u5316\u3057\u305f\u3044\u300d\u300cValue\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u578b\u5909\u63db\u3067\u30a8\u30e9\u30fc\u304c\u51fa\u3066\u56f0\u3063\u3066\u3044\u308b\u300d\u300c\u5927\u91cf\u30c7\u30fc\u30bf\u306e\u51e6\u7406\u3092\u9ad8\u901f\u5316\u3057\u305f\u3044\u300d\u2014\u2014\u5f0a\u793eAI\u9b3c\u7ba1\u7406\u3067\u306f\u3001Claude Code\u3092\u6d3b\u7528\u3057\u305fExcel\u696d\u52d9\u30de\u30af\u30ed\u306e\u81ea\u52d5\u5316\u30fb\u6700\u9069\u5316\u652f\u63f4\u3092\u63d0\u4f9b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\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\">VBA\u306eValue\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u6b63\u3057\u304f\u4f7f\u3044\u3053\u306a\u3059\u3053\u3068\u3067\u3001\u624b\u4f5c\u696d\u3067\u6570\u6642\u9593\u304b\u304b\u3063\u3066\u3044\u305f\u30c7\u30fc\u30bf\u51e6\u7406\u304c\u6570\u5206\u3067\u5b8c\u4e86\u3059\u308b\u30de\u30af\u30ed\u304c\u4f5c\u308c\u307e\u3059\u3002\u307e\u305a\u306f\u7121\u6599\u76f8\u8ac7\u3067\u3001\u73fe\u72b6\u306e\u696d\u52d9\u8ab2\u984c\u3092\u304a\u805e\u304b\u305b\u304f\u3060\u3055\u3044\u3002<\/div>\n<\/div>\n\n\n\n<div style=\"background:linear-gradient(135deg,#1a1a1a 0%,#2a1015 100%);border-radius:16px;padding:36px 32px;margin:48px 0 16px;color:#fff;\">\n  <p style=\"font-size:13px;font-weight:700;color:#dc2626;letter-spacing:2px;margin:0 0 12px;\">NEXT STEP<\/p>\n  <p style=\"font-size:22px;font-weight:800;line-height:1.5;margin:0 0 20px;\">\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=\"background:rgba(255,255,255,0.06);border:1px solid rgba(255,255,255,0.12);border-radius:12px;padding:24px;max-width:560px;margin:0 auto;\">\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;margin:0 0 12px;\">AI\u9b3c\u7ba1\u7406<\/p>\n    <p style=\"font-size:14px;color:rgba(255,255,255,0.75);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;\">\n      <a href=\"https:\/\/aikanri.genai-ai.co.jp\/?utm_source=blog&utm_medium=article&utm_campaign=cc-vba-value-property&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\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\u306eValue\u30d7\u30ed\u30d1\u30c6\u30a3\u3068\u306f\u4f55\u3067\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A. VBA\u306eValue\u30d7\u30ed\u30d1\u30c6\u30a3\u306f\u3001Range\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u3067\u30bb\u30eb\u306bIn\u3055\u308c\u3066\u3044\u308b\u5024\u3092\u53d6\u5f97\u307e\u305f\u306f\u8a2d\u5b9a\u3057\u307e\u3059\u3002Range(\"A1\").Value\u3067\u6570\u5024\u30fb\u6587\u5b57\u5217\u30fb\u65e5\u4ed8\u30fb\u8ad6\u7406\u5024\u306a\u3069\u3092\u8aad\u307f\u66f8\u304d\u3067\u304d\u3001VBA\u30de\u30af\u30ed\u3067\u30bb\u30eb\u64cd\u4f5c\u3092\u884c\u3046\u969b\u306e\u4e2d\u5fc3\u7684\u306a\u7a93\u53e3\u3067\u3059\u3002Range\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u30d7\u30ed\u30d1\u30c6\u30a3\u3067\u3042\u308b\u305f\u3081Range(\"A1\")\u3068\u7701\u7565\u53ef\u80fd\u3067\u3059\u304c\u3001\u53ef\u8aad\u6027\u306e\u305f\u3081\u306b\u660e\u793a\u7684\u306b\u66f8\u304f\u3053\u3068\u304c\u63a8\u5968\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q. Range.Value\u3068Cells.Value\u306e\u9055\u3044\u306f\u4f55\u3067\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A. \u3069\u3061\u3089\u3082Range\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306eValue\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u4f7f\u3063\u3066\u30bb\u30eb\u306e\u5024\u306b\u30a2\u30af\u30bb\u3057\u307e\u3059\u304c\u3001\u30bb\u30eb\u306e\u6307\u5b9a\u65b9\u6cd5\u304c\u7570\u306a\u308a\u307e\u3059\u3002Range(\"A1\").Value\u306f\u30bb\u30eb\u30a2\u30c9\u30ec\u30b9\u6587\u5b57\u5217\u3067\u6307\u5b9a\u3057\u3001\u56fa\u5b9a\u306e\u30bb\u30eb\u3084\u7bc4\u56f2\u3092\u6271\u3046\u5834\u5408\u306b\u4fbf\u5229\u3067\u3059\u3002Cells(1, 1).Value\u306f\u884c\u756a\u53f7\u30fb\u5217\u756a\u53f7\u306e\u6570\u5024\u3067\u6307\u5b9a\u3057\u3001\u30eb\u30fc\u30d7\u51e6\u7406\u3067\u884c\u5217\u756a\u53f7\u3092\u5909\u6570\u3067\u5236\u5fa1\u3059\u308b\u5834\u5408\u306b\u9069\u3057\u3066\u3044\u307e\u3059\u3002\u3069\u3061\u3089\u3082\u7d50\u679c\u306f\u540c\u3058\u3067\u3001\u7528\u9014\u306b\u3088\u3063\u3066\u4f7f\u3044\u5206\u3051\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q. Value\u3068Value2\u3068Text\u3068Formula\u306f\u3069\u3046\u9055\u3044\u307e\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A. Value\u306f\u30bb\u30eb\u306e\u5b9f\u969b\u306e\u5024\u3092\u578b\u306b\u5fdc\u3058\u3066\u8fd4\u3057\u307e\u3059\uff08\u65e5\u4ed8\u30bb\u30eb\u306fDate\u578b\uff09\u3002Value2\u306fValue\u3068\u307b\u307c\u540c\u3058\u3067\u3059\u304c\u65e5\u4ed8\u30fb\u901a\u8ca8\u3092\u30b7\u30ea\u30a2\u30eb\u5024\u306e\u6570\u5024\u3068\u3057\u3066\u8fd4\u3057\u307e\u3059\u3002Text\u306f\u30bb\u30eb\u306bIn\u306b\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u6587\u5b57\u5217\u3092\u8fd4\u3059\u8aad\u307f\u53d6\u308a\u5c02\u7528\u30d7\u30ed\u30d1\u30c6\u30a3\u3067\u66f8\u5f0f\u8a2d\u5b9a\u304c\u53cd\u6620\u3055\u308c\u307e\u3059\u3002Formula\u306f\u30bb\u30eb\u306bIn\u3055\u308c\u3066\u3044\u308b\u6570\u5f0f\u3092\u6587\u5b57\u5217\u3068\u3057\u3066\u8fd4\u3057\u3001\u6570\u5f0f\u304c\u306a\u3044\u5834\u5408\u306f\u5024\u3092\u8fd4\u3057\u307e\u3059\u3002\u5024\u306e\u66f8\u304d\u8fbc\u307f\u306b\u306fValue\u3092\u4f7f\u3044\u3001Text\u306f\u8aad\u307f\u53d6\u308a\u306e\u307f\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q. \u65e5\u4ed8\u30bb\u30eb\u306eValue\u3092\u53d6\u5f97\u3059\u308b\u3068\u30b7\u30ea\u30a2\u30eb\u5024\u306b\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002\u3069\u3046\u3059\u308c\u3070\u3044\u3044\u3067\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A. \u5909\u6570\u306e\u578b\u304cDate\u578b\u3067\u306f\u306a\u304fLong\u578b\u30fbInteger\u578b\u306b\u306a\u3063\u3066\u3044\u308b\u305f\u3081\u3001\u65e5\u4ed8\u304c\u30b7\u30ea\u30a2\u30eb\u5024\uff08\u6574\u6570\uff09\u3067\u683c\u7d0d\u3055\u308c\u307e\u3059\u3002\u5bfe\u51e6\u6cd5\u306f2\u3064\u3042\u308a\u307e\u3059\u3002(1)\u5909\u6570\u3092Date\u578b\u307e\u305f\u306fVariant\u578b\u3067\u5ba3\u8a00\u3057\u3066Value\u3092\u4ee3\u5165\u3059\u308b\u3002(2)Value2\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u4f7f\u3063\u3066\u610f\u56f3\u7684\u306b\u30b7\u30ea\u30a2\u30eb\u5024\u3092\u53d6\u5f97\u3057\u3066CDate()\u3067\u5909\u63db\u3059\u308b\u3002\u901a\u5e38\u306fDate\u578b\u5909\u6570\u3078\u306e\u4ee3\u5165\u304c\u6700\u3082\u30b7\u30f3\u30d7\u30eb\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q. \u7a7a\u767d\u30bb\u30eb\u306eValue\u3092\u53d6\u5f97\u3059\u308b\u3068\u4f55\u304c\u8fd4\u308a\u307e\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A. \u7a7a\u767d\u30bb\u30eb\u306eValue\u306fEmpty\uff08Variant\u578b\u306e\u7279\u6b8a\u306a\u672a\u521d\u671f\u5316\u5024\uff09\u3092\u8fd4\u3057\u307e\u3059\u3002IsEmpty(v)\u95a2\u6570\u3067True\/False\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002\u7a7a\u767d\u3092\u6570\u5024\u6f14\u7b97\u306b\u4f7f\u3046\u3068\u30a8\u30e9\u30fc\u3084\u4e88\u671f\u3057\u306a\u30440\u304c\u8fd4\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u696d\u52d9\u30de\u30af\u30ed\u3067\u306f\u5fc5\u305aIsEmpty(v)\u3067\u7a7a\u767d\u30c1\u30a7\u30c3\u30af\u3092\u5148\u306b\u884c\u3063\u3066\u304b\u3089\u51e6\u7406\u3059\u308b\u7fd2\u6163\u3092\u3064\u3051\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q. \u8907\u6570\u30bb\u30eb\u306e\u5024\u3092\u9ad8\u901f\u306b\u51e6\u7406\u3059\u308b\u306b\u306f\u3069\u3046\u3059\u308c\u3070\u3044\u3044\u3067\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A. \u6700\u3082\u9ad8\u901f\u306a\u65b9\u6cd5\u306f\u300c\u30bb\u30eb\u7bc4\u56f2\u3092Variant\u914d\u5217\u306b\u4e00\u62ec\u8aad\u307f\u8fbc\u307f \u2192 \u914d\u5217\u3067\u30eb\u30fc\u30d7\u51e6\u7406 \u2192 \u7d50\u679c\u306e\u914d\u5217\u3092\u30bb\u30eb\u7bc4\u56f2\u306b\u4e00\u62ec\u66f8\u304d\u8fbc\u307f\u300d\u306e\u30d1\u30bf\u30fc\u30f3\u3067\u3059\u3002dataArray = ws.Range(\"A1:C100\").Value\u30672\u6b21\u5143\u914d\u5217\u306b\u4e00\u62ec\u53d6\u5f97\u3057\u3001\u51e6\u7406\u5f8c\u306bws.Range(\"A1:C100\").Value = resultArray\u3067\u66f8\u304d\u623b\u3057\u307e\u3059\u30021\u884c\u305a\u3064Cells(r, c).Value\u306b\u30a2\u30af\u30bb\u3059\u308b\u30eb\u30fc\u30d7\u3088\u308a\u6570\u5341\u500d\u901f\u304f\u306a\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q. Text\u30d7\u30ed\u30d1\u30c6\u30a3\u3067\u53d6\u5f97\u3059\u308b\u3068\u300c######\u300d\u304c\u8fd4\u3063\u3066\u304f\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u306a\u305c\u3067\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A. Text\u30d7\u30ed\u30d1\u30c6\u30a3\u306f\u753b\u9762\u306b\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u6587\u5b57\u5217\u3092\u305d\u306e\u307e\u307e\u8fd4\u3059\u305f\u3081\u3001\u30bb\u30eb\u306e\u5217\u5e45\u304c\u72ed\u304f\u3066\u300c######\u300d\u3068\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u306fText\u3082\u300c######\u300d\u3092\u8fd4\u3057\u307e\u3059\u3002\u3053\u306e\u5834\u5408\u306fValue\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u4f7f\u3063\u3066\u5b9f\u969b\u306e\u5024\u3092\u53d6\u5f97\u3057\u3001Format\u95a2\u6570\u3067\u8868\u793a\u5f62\u5f0f\u3092\u6307\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u3082\u3057\u304f\u306f\u5217\u5e45\u3092\u5e83\u3052\u3066\u304b\u3089\u51e6\u7406\u3059\u308b\u304b\u3001Application.Columns.AutoFit\u3067\u81ea\u52d5\u8abf\u6574\u3059\u308b\u65b9\u6cd5\u3082\u3042\u308a\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\u306eValue\u30d7\u30ed\u30d1\u30c6\u30a3\u3068\u306f\u4f55\u3067\u3059\u304b\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"VBA\u306eValue\u30d7\u30ed\u30d1\u30c6\u30a3\u306f\u3001Range\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u3067\u30bb\u30eb\u306bIn\u3055\u308c\u3066\u3044\u308b\u5024\u3092\u53d6\u5f97\u307e\u305f\u306f\u8a2d\u5b9a\u3057\u307e\u3059\u3002Range(\\\"A1\\\").Value\u3067\u6570\u5024\u30fb\u6587\u5b57\u5217\u30fb\u65e5\u4ed8\u30fb\u8ad6\u7406\u5024\u306a\u3069\u3092\u8aad\u307f\u66f8\u304d\u3067\u304d\u3001VBA\u30de\u30af\u30ed\u3067\u30bb\u30eb\u64cd\u4f5c\u3092\u884c\u3046\u969b\u306e\u4e2d\u5fc3\u7684\u306a\u7a93\u53e3\u3067\u3059\u3002Range\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u30d7\u30ed\u30d1\u30c6\u30a3\u3067\u3042\u308b\u305f\u3081Range(\\\"A1\\\")\u3068\u7701\u7565\u53ef\u80fd\u3067\u3059\u304c\u3001\u53ef\u8aad\u6027\u306e\u305f\u3081\u306b\u660e\u793a\u7684\u306b\u66f8\u304f\u3053\u3068\u304c\u63a8\u5968\u3055\u308c\u307e\u3059\u3002\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"Range.Value\u3068Cells.Value\u306e\u9055\u3044\u306f\u4f55\u3067\u3059\u304b\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"\u3069\u3061\u3089\u3082Range\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306eValue\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u4f7f\u3063\u3066\u30bb\u30eb\u306e\u5024\u306b\u30a2\u30af\u30bb\u3057\u307e\u3059\u304c\u3001\u30bb\u30eb\u306e\u6307\u5b9a\u65b9\u6cd5\u304c\u7570\u306a\u308a\u307e\u3059\u3002Range(\\\"A1\\\").Value\u306f\u30bb\u30eb\u30a2\u30c9\u30ec\u30b9\u6587\u5b57\u5217\u3067\u6307\u5b9a\u3057\u3001\u56fa\u5b9a\u306e\u30bb\u30eb\u3084\u7bc4\u56f2\u3092\u6271\u3046\u5834\u5408\u306b\u4fbf\u5229\u3067\u3059\u3002Cells(1, 1).Value\u306f\u884c\u756a\u53f7\u30fb\u5217\u756a\u53f7\u306e\u6570\u5024\u3067\u6307\u5b9a\u3057\u3001\u30eb\u30fc\u30d7\u51e6\u7406\u3067\u884c\u5217\u756a\u53f7\u3092\u5909\u6570\u3067\u5236\u5fa1\u3059\u308b\u5834\u5408\u306b\u9069\u3057\u3066\u3044\u307e\u3059\u3002\u3069\u3061\u3089\u3082\u7d50\u679c\u306f\u540c\u3058\u3067\u3001\u7528\u9014\u306b\u3088\u3063\u3066\u4f7f\u3044\u5206\u3051\u307e\u3059\u3002\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"Value\u3068Value2\u3068Text\u3068Formula\u306f\u3069\u3046\u9055\u3044\u307e\u3059\u304b\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"Value\u306f\u30bb\u30eb\u306e\u5b9f\u969b\u306e\u5024\u3092\u578b\u306b\u5fdc\u3058\u3066\u8fd4\u3057\u307e\u3059\uff08\u65e5\u4ed8\u30bb\u30eb\u306fDate\u578b\uff09\u3002Value2\u306fValue\u3068\u307b\u307c\u540c\u3058\u3067\u3059\u304c\u65e5\u4ed8\u30fb\u901a\u8ca8\u3092\u30b7\u30ea\u30a2\u30eb\u5024\u306e\u6570\u5024\u3068\u3057\u3066\u8fd4\u3057\u307e\u3059\u3002Text\u306f\u30bb\u30eb\u306bIn\u306b\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u6587\u5b57\u5217\u3092\u8fd4\u3059\u8aad\u307f\u53d6\u308a\u5c02\u7528\u30d7\u30ed\u30d1\u30c6\u30a3\u3067\u66f8\u5f0f\u8a2d\u5b9a\u304c\u53cd\u6620\u3055\u308c\u307e\u3059\u3002Formula\u306f\u30bb\u30eb\u306bIn\u3055\u308c\u3066\u3044\u308b\u6570\u5f0f\u3092\u6587\u5b57\u5217\u3068\u3057\u3066\u8fd4\u3057\u3001\u6570\u5f0f\u304c\u306a\u3044\u5834\u5408\u306f\u5024\u3092\u8fd4\u3057\u307e\u3059\u3002\u5024\u306e\u66f8\u304d\u8fbc\u307f\u306b\u306fValue\u3092\u4f7f\u3044\u3001Text\u306f\u8aad\u307f\u53d6\u308a\u306e\u307f\u3067\u3059\u3002\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"\u65e5\u4ed8\u30bb\u30eb\u306eValue\u3092\u53d6\u5f97\u3059\u308b\u3068\u30b7\u30ea\u30a2\u30eb\u5024\u306b\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002\u3069\u3046\u3059\u308c\u3070\u3044\u3044\u3067\u3059\u304b\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"\u5909\u6570\u306e\u578b\u304cDate\u578b\u3067\u306f\u306a\u304fLong\u578b\u30fbInteger\u578b\u306b\u306a\u3063\u3066\u3044\u308b\u305f\u3081\u3001\u65e5\u4ed8\u304c\u30b7\u30ea\u30a2\u30eb\u5024\uff08\u6574\u6570\uff09\u3067\u683c\u7d0d\u3055\u308c\u307e\u3059\u3002\u5bfe\u51e6\u6cd5\u306f2\u3064\u3042\u308a\u307e\u3059\u3002(1)\u5909\u6570\u3092Date\u578b\u307e\u305f\u306fVariant\u578b\u3067\u5ba3\u8a00\u3057\u3066Value\u3092\u4ee3\u5165\u3059\u308b\u3002(2)Value2\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u4f7f\u3063\u3066\u610f\u56f3\u7684\u306b\u30b7\u30ea\u30a2\u30eb\u5024\u3092\u53d6\u5f97\u3057\u3066CDate()\u3067\u5909\u63db\u3059\u308b\u3002\u901a\u5e38\u306fDate\u578b\u5909\u6570\u3078\u306e\u4ee3\u5165\u304c\u6700\u3082\u30b7\u30f3\u30d7\u30eb\u3067\u3059\u3002\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"\u7a7a\u767d\u30bb\u30eb\u306eValue\u3092\u53d6\u5f97\u3059\u308b\u3068\u4f55\u304c\u8fd4\u308a\u307e\u3059\u304b\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"\u7a7a\u767d\u30bb\u30eb\u306eValue\u306fEmpty\uff08Variant\u578b\u306e\u7279\u6b8a\u306a\u672a\u521d\u671f\u5316\u5024\uff09\u3092\u8fd4\u3057\u307e\u3059\u3002IsEmpty(v)\u95a2\u6570\u3067True\/False\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002\u7a7a\u767d\u3092\u6570\u5024\u6f14\u7b97\u306b\u4f7f\u3046\u3068\u30a8\u30e9\u30fc\u3084\u4e88\u671f\u3057\u306a\u30440\u304c\u8fd4\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u696d\u52d9\u30de\u30af\u30ed\u3067\u306f\u5fc5\u305aIsEmpty(v)\u3067\u7a7a\u767d\u30c1\u30a7\u30c3\u30af\u3092\u5148\u306b\u884c\u3063\u3066\u304b\u3089\u51e6\u7406\u3059\u308b\u7fd2\u6163\u3092\u3064\u3051\u3066\u304f\u3060\u3055\u3044\u3002\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"\u8907\u6570\u30bb\u30eb\u306e\u5024\u3092\u9ad8\u901f\u306b\u51e6\u7406\u3059\u308b\u306b\u306f\u3069\u3046\u3059\u308c\u3070\u3044\u3044\u3067\u3059\u304b\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"\u6700\u3082\u9ad8\u901f\u306a\u65b9\u6cd5\u306f\u300c\u30bb\u30eb\u7bc4\u56f2\u3092Variant\u914d\u5217\u306b\u4e00\u62ec\u8aad\u307f\u8fbc\u307f \u2192 \u914d\u5217\u3067\u30eb\u30fc\u30d7\u51e6\u7406 \u2192 \u7d50\u679c\u306e\u914d\u5217\u3092\u30bb\u30eb\u7bc4\u56f2\u306b\u4e00\u62ec\u66f8\u304d\u8fbc\u307f\u300d\u306e\u30d1\u30bf\u30fc\u30f3\u3067\u3059\u3002dataArray = ws.Range(\\\"A1:C100\\\").Value\u30672\u6b21\u5143\u914d\u5217\u306b\u4e00\u62ec\u53d6\u5f97\u3057\u3001\u51e6\u7406\u5f8c\u306bws.Range(\\\"A1:C100\\\").Value = resultArray\u3067\u66f8\u304d\u623b\u3057\u307e\u3059\u30021\u884c\u305a\u3064Cells(r, c).Value\u306b\u30a2\u30af\u30bb\u3059\u308b\u30eb\u30fc\u30d7\u3088\u308a\u6570\u5341\u500d\u901f\u304f\u306a\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"Text\u30d7\u30ed\u30d1\u30c6\u30a3\u3067\u53d6\u5f97\u3059\u308b\u3068\u300c######\u300d\u304c\u8fd4\u3063\u3066\u304f\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u306a\u305c\u3067\u3059\u304b\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"Text\u30d7\u30ed\u30d1\u30c6\u30a3\u306f\u753b\u9762\u306b\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u6587\u5b57\u5217\u3092\u305d\u306e\u307e\u307e\u8fd4\u3059\u305f\u3081\u3001\u30bb\u30eb\u306e\u5217\u5e45\u304c\u72ed\u304f\u3066\u300c######\u300d\u3068\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u306fText\u3082\u300c######\u300d\u3092\u8fd4\u3057\u307e\u3059\u3002\u3053\u306e\u5834\u5408\u306fValue\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u4f7f\u3063\u3066\u5b9f\u969b\u306e\u5024\u3092\u53d6\u5f97\u3057\u3001Format\u95a2\u6570\u3067\u8868\u793a\u5f62\u5f0f\u3092\u6307\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u3082\u3057\u304f\u306f\u5217\u5e45\u3092\u5e83\u3052\u3066\u304b\u3089\u51e6\u7406\u3059\u308b\u304b\u3001Application.Columns.AutoFit\u3067\u81ea\u52d5\u8abf\u6574\u3059\u308b\u65b9\u6cd5\u3082\u3042\u308a\u307e\u3059\u3002\"\n      }\n    }\n  ]\n}\n<\/script>\n\n\n","protected":false},"excerpt":{"rendered":"<p>VBA\u306eValue\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u5b8c\u5168\u89e3\u8aac\u3002Range.Value\u30fbCells.Value\u30fb\u30bb\u30eb\u5024\u306e\u53d6\u5f97\u30fb\u66f8\u304d\u8fbc\u307f\u30fbValue2\u30fbText\u30fbFormula\u3068\u306e\u9055\u3044\u30fb\u5909\u6570\u3078\u306e\u4ee3\u5165\u30fb\u30eb\u30fc\u30d7\u51e6\u7406\u30fb\u696d\u52d9\u6d3b\u7528\u30d1\u30bf\u30fc\u30f3\u3092\u30b3\u30fc\u30c9\u4f8b\u4ed8\u304d\u3067\u89e3\u8aac\u3002<\/p>\n","protected":false},"author":1,"featured_media":18368,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"sitemap_hide":"","_veu_custom_css":"","vkexunit_cta_each_option":"","footnotes":"","rank_math_description":"VBA\u306eValue\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u5b8c\u5168\u89e3\u8aac\u3002Range.Value\u30fbCells.Value\u30fb\u30bb\u30eb\u5024\u306e\u53d6\u5f97\u30fb\u66f8\u304d\u8fbc\u307f\u30fbValue2\u30fbText\u30fbFormula\u3068\u306e\u9055\u3044\u30fb\u5909\u6570\u3078\u306e\u4ee3\u5165\u30fb\u30eb\u30fc\u30d7\u51e6\u7406\u30fb\u696d\u52d9\u6d3b\u7528\u30d1\u30bf\u30fc\u30f3\u3092\u30b3\u30fc\u30c9\u4f8b\u4ed8\u304d\u3067\u89e3\u8aac\u3002","rank_math_focus_keyword":"VBA Value \u30d7\u30ed\u30d1\u30c6\u30a3","rank_math_title":"\u30102026\u5e747\u6708\u6700\u65b0\u3011VBA\u306eValue\u30d7\u30ed\u30d1\u30c6\u30a3\u5b8c\u5168\u30ac\u30a4\u30c9\uff5c\u30bb\u30eb\u5024\u306e\u53d6\u5f97\u30fb\u66f8\u304d\u8fbc\u307f\u30fbValue2\u30fbText\u30fbFormula\u3068\u306e\u9055\u3044\u307e\u3067\u89e3\u8aac","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":[3],"tags":[],"class_list":["post-18369","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ai-automation"],"_links":{"self":[{"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/posts\/18369","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=18369"}],"version-history":[{"count":1,"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/posts\/18369\/revisions"}],"predecessor-version":[{"id":18370,"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/posts\/18369\/revisions\/18370"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/media\/18368"}],"wp:attachment":[{"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/media?parent=18369"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/categories?post=18369"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/tags?post=18369"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}