{"id":26722,"date":"2026-08-08T05:34:54","date_gmt":"2026-08-07T20:34:54","guid":{"rendered":"https:\/\/genai-ai.co.jp\/ai-kanri\/?p=26722"},"modified":"2026-08-08T15:23:04","modified_gmt":"2026-08-08T06:23:04","slug":"vba-last-row","status":"publish","type":"post","link":"https:\/\/genai-ai.co.jp\/ai-kanri\/blog\/vba-last-row\/","title":{"rendered":"\u30102026\u5e748\u6708\u6700\u65b0\u3011ExcelVBA\u3067\u6700\u7d42\u884c\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5\u307e\u3068\u3081\uff5cEnd(xlUp)\u30fbSpecialCells\u30fbUsedRange\u306e\u4f7f\u3044\u5206\u3051"},"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\/08\/thumb-vba-last-row.jpg\" alt=\"\u30102026\u5e748\u6708\u6700\u65b0\u3011ExcelVBA\u3067\u6700\u7d42\u884c\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5\u307e\u3068\u3081\uff5cEnd(xlUp)\u30fbSpecialCells\u30fbUsedRange\u306e\u4f7f\u3044\u5206\u3051\" style=\"width:100%;height:auto;border-radius:12px;display:block;\">\n<\/div>\n\n\n\n\n\n\n\n<p class=\"wp-block-paragraph\">\u300cExcel VBA\u3067\u30c7\u30fc\u30bf\u306e\u6700\u7d42\u884c\u3092\u53d6\u5f97\u3057\u3088\u3046\u3068\u3057\u305f\u3089\u3001\u9014\u4e2d\u3067\u51e6\u7406\u304c\u6b62\u307e\u3063\u3066\u3057\u307e\u3063\u305f\u300d\u2014\u2014\u30de\u30af\u30ed\u3067\u8868\u3092\u6271\u3063\u3066\u3044\u308b\u3068\u3001\u307b\u307c\u5fc5\u305a\u4e00\u5ea6\u306f\u3076\u3064\u304b\u308b\u554f\u984c\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u6700\u7d42\u884c\u306e\u53d6\u5f97\u306f\u3001VBA\u306e\u4e2d\u3067\u3082<strong>\u6700\u3082\u983b\u7e41\u306b\u4f7f\u3046\u306e\u306b\u3001\u6700\u3082\u9593\u9055\u3048\u3084\u3059\u3044\u51e6\u7406<\/strong>\u306e\u4e00\u3064\u3067\u3059\u3002\u66f8\u304d\u65b9\u306f\u4f55\u7a2e\u985e\u3082\u3042\u308a\u3001\u305d\u308c\u305e\u308c\u300c\u7a7a\u767d\u30bb\u30eb\u304c\u9014\u4e2d\u306b\u3042\u308b\u3068\u5931\u6557\u3059\u308b\u300d\u300c\u8868\u306e\u5916\u306b\u30c7\u30fc\u30bf\u304c\u3042\u308b\u3068\u8aa4\u691c\u51fa\u3059\u308b\u300d\u3068\u3044\u3063\u305f\u843d\u3068\u3057\u7a74\u3092\u62b1\u3048\u3066\u3044\u307e\u3059\u3002\u3068\u308a\u3042\u3048\u305a\u30cd\u30c3\u30c8\u306e\u30b3\u30fc\u30c9\u3092\u30b3\u30d4\u30da\u3057\u3066\u52d5\u3044\u305f\u3068\u3057\u3066\u3082\u3001\u30c7\u30fc\u30bf\u306e\u5f62\u304c\u5909\u308f\u3063\u305f\u77ac\u9593\u306b\u9759\u304b\u306b\u58ca\u308c\u308b\u3001\u3068\u3044\u3046\u306e\u304c\u3053\u306e\u51e6\u7406\u306e\u6016\u3044\u3068\u3053\u308d\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001End(xlUp)\u3092\u4f7f\u3063\u305f\u57fa\u672c\u306e\u66f8\u304d\u65b9\u304b\u3089\u3001SpecialCells(xlCellTypeLastCell)\u30fbUsedRange\u30fbCurrentRegion\u3068\u3044\u3063\u305f\u4ee3\u8868\u7684\u306a\u65b9\u6cd5\u3001\u305d\u308c\u305e\u308c\u306e\u843d\u3068\u3057\u7a74\u3068\u4f7f\u3044\u5206\u3051\u3001\u6700\u7d42\u884c\u306e\u4e0b\u306b\u30c7\u30fc\u30bf\u3092\u8ffd\u52a0\u3059\u308b\u5b9f\u8df5\u30d1\u30bf\u30fc\u30f3\u307e\u3067\u3092\u4f53\u7cfb\u7684\u306b\u6574\u7406\u3057\u307e\u3059\u3002\u3055\u3089\u306b\u5f8c\u534a\u3067\u306f\u3001<strong>\u3053\u3046\u3057\u305f\u300c\u5730\u9053\u3060\u304c\u9593\u9055\u3048\u3084\u3059\u3044\u300d\u5b9a\u578b\u51e6\u7406\u3092Claude Code\u306e\u3088\u3046\u306aAI\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u306b\u3069\u3046\u4efb\u305b\u3089\u308c\u308b\u304b<\/strong>\u3068\u3044\u3046\u5b9f\u52d9\u7684\u306a\u8996\u70b9\u3082\u7d39\u4ecb\u3057\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\">\u6700\u7d42\u884c\u53d6\u5f97\u306f\u3001VBA\u5165\u9580\u66f8\u306e\u6700\u521d\u306e\u65b9\u3067\u7fd2\u3046\u306e\u306b\u3001\u5b9f\u52d9\u30c7\u30fc\u30bf\u3067\u75db\u3044\u76ee\u3092\u898b\u308b\u4eba\u304c\u6700\u3082\u591a\u3044\u51e6\u7406\u3067\u3082\u3042\u308a\u307e\u3059\u3002\u300c\u52d5\u3044\u305f\u304b\u3089OK\u300d\u3067\u306f\u306a\u304f\u300c\u306a\u305c\u305d\u306e\u66f8\u304d\u65b9\u3060\u3068\u5d29\u308c\u306a\u3044\u306e\u304b\u300d\u307e\u3067\u7406\u89e3\u3057\u3066\u304a\u304f\u3068\u3001\u5f8c\u3005\u306e\u30c8\u30e9\u30d6\u30eb\u3092\u5927\u304d\u304f\u6e1b\u3089\u305b\u307e\u3059\u3002<\/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\">\u5f0a\u793e\u3067\u3082\u904e\u53bb\u306b\u3001\u6708\u6b21\u30c7\u30fc\u30bf\u306e\u7a7a\u767d\u884c\u3092\u60f3\u5b9a\u3057\u3066\u3044\u306a\u304b\u3063\u305f\u30de\u30af\u30ed\u304c\u3001\u3042\u308b\u6708\u3060\u3051\u6700\u7d42\u884c\u3092\u8aa4\u691c\u51fa\u3057\u3066\u96c6\u8a08\u304c\u4e38\u3054\u3068\u30ba\u30ec\u305f\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u5730\u5473\u306a\u51e6\u7406\u3067\u3059\u304c\u3001\u696d\u52d9\u30c7\u30fc\u30bf\u3092\u6271\u3046\u4e0a\u3067\u306f\u907f\u3051\u3066\u901a\u308c\u306a\u3044\u30c6\u30fc\u30de\u3067\u3059\u3002<\/div>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u8a18\u4e8b\u3092\u6700\u5f8c\u307e\u3067\u8aad\u3080\u3068\u3001\u6b21\u306e6\u3064\u304c\u660e\u78ba\u306b\u306a\u308a\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>End(xlUp)<\/strong>\u3092\u4f7f\u3063\u305f\u3001\u6700\u7d42\u884c\u53d6\u5f97\u306e\u6700\u3082\u57fa\u672c\u7684\u3067\u5b89\u5168\u306a\u66f8\u304d\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>End(xlDown)<\/strong>\u304c\u7a7a\u767d\u30bb\u30eb\u306e\u3042\u308b\u8868\u3067\u5931\u6557\u3059\u308b\u7406\u7531<\/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>SpecialCells(xlCellTypeLastCell)<\/strong>\u30fb<strong>UsedRange<\/strong>\u30fb<strong>CurrentRegion<\/strong>\u305d\u308c\u305e\u308c\u306e\u7279\u5fb4\u3068\u6ce8\u610f\u70b9<\/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>5\u3064\u306e\u65b9\u6cd5\u3092<strong>\u3069\u3046\u4f7f\u3044\u5206\u3051\u308b\u3079\u304d\u304b<\/strong>\u306e\u5b9f\u52d9\u7684\u306a\u5224\u65ad\u57fa\u6e96<\/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>\u53d6\u5f97\u3057\u305f\u6700\u7d42\u884c\u3092\u4f7f\u3063\u3066<strong>\u65b0\u3057\u3044\u30c7\u30fc\u30bf\u3092\u8ffd\u52a0\u3059\u308b<\/strong>\u5b9f\u8df5\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>Claude Code<\/strong>\u3092\u4f7f\u3063\u305fVBA\u306e\u5b9a\u578b\u51e6\u7406\u306e\u52b9\u7387\u5316\u65b9\u6cd5<\/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=vba-last-row&#038;blog_slug=vba-last-row\" 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=vba-last-row&#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;\">BASICS<\/span>\n  <span class=\"section-title\" style=\"display:block;\">\u6700\u7d42\u884c\u53d6\u5f97\u306e\u57fa\u672c\uff1aRows.Count + End(xlUp)<\/span>\n  <span class=\"section-desc\">\u5b9f\u52d9\u3067\u6700\u3082\u5b89\u5168\u3068\u3055\u308c\u308b\u5b9a\u756a\u306e\u66f8\u304d\u65b9<\/span>\n<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u6700\u7d42\u884c\u3092\u53d6\u5f97\u3059\u308b\u6700\u3082\u5b9a\u756a\u304b\u3064\u5b89\u5168\u306a\u65b9\u6cd5\u306f\u3001<strong>\u300c\u30b7\u30fc\u30c8\u306e\u6700\u4e0b\u90e8\u304b\u3089\u4e0a\u65b9\u5411\u306bEnd\u30ad\u30fc\u3092\u62bc\u3059\u300d\u52d5\u4f5c\u3092\u30b3\u30fc\u30c9\u3067\u518d\u73fe\u3059\u308b<\/strong>End(xlUp)\u3067\u3059\u3002<\/p>\n\n\n\n<pre style=\"background:#1a1a1a;color:#e5e5e5;border-radius:8px;padding:18px 20px;overflow-x:auto;font-size:14px;line-height:1.7;margin:16px 0;\"><code>Dim lastRow As Long\nlastRow = Cells(Rows.Count, 1).End(xlUp).Row\n' A\u5217\u306e\u6700\u7d42\u884c\u756a\u53f7\u304clastRow\u306b\u5165\u308b<\/code><\/pre>\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>Rows.Count<\/strong>\uff1a\u30ef\u30fc\u30af\u30b7\u30fc\u30c8\u306b\u5b58\u5728\u3059\u308b\u884c\u306e\u7dcf\u6570\u3092\u8fd4\u3059\u30d7\u30ed\u30d1\u30c6\u30a3\u3002Excel\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306b\u3088\u3063\u3066\u5024\u306f\u5909\u308f\u3089\u305a\u3001\u73fe\u884c\u306eExcel\u3067\u306f1,048,576\u304c\u8fd4\u308b\u3002\u300c\u30b7\u30fc\u30c8\u306e\u4e00\u756a\u4e0b\u300d\u3092\u6307\u3057\u793a\u3059\u305f\u3081\u306b\u4f7f\u308f\u308c\u308b\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>End(xlUp)<\/strong>\uff1a\u3042\u308b\u8d77\u70b9\u30bb\u30eb\u304b\u3089\u3001Ctrl+\u2191\u30ad\u30fc\u3092\u62bc\u3057\u305f\u3068\u304d\u3068\u540c\u3058\u52d5\u4f5c\uff08\u30c7\u30fc\u30bf\u304c\u5165\u3063\u3066\u3044\u308b\u6b21\u306e\u30bb\u30eb\u307e\u3067\u30b8\u30e3\u30f3\u30d7\uff09\u3092\u30b3\u30fc\u30c9\u3067\u518d\u73fe\u3059\u308b\u30e1\u30bd\u30c3\u30c9\u3002xlUp\u4ee5\u5916\u306bxlDown\u30fbxlToLeft\u30fbxlToRight\u3082\u6307\u5b9a\u3067\u304d\u308b\u3002<\/p>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u66f8\u304d\u65b9\u304c\u6307\u3057\u3066\u3044\u308b\u306e\u306f\u3001<strong>\u300cA\u5217\u306e\u4e00\u756a\u4e0b\uff081,048,576\u884c\u76ee\uff09\u304b\u3089\u3001Ctrl+\u2191\u30ad\u30fc\u3092\u62bc\u3057\u305f\u4f4d\u7f6e\u300d<\/strong>\u3067\u3059\u3002\u4eba\u9593\u304cExcel\u753b\u9762\u4e0a\u3067\u884c\u3046\u30ad\u30fc\u64cd\u4f5c\u3092\u305d\u306e\u307e\u307e\u30b3\u30fc\u30c9\u306b\u3057\u305f\u5f62\u306b\u306a\u3063\u3066\u304a\u308a\u3001\u76f4\u611f\u7684\u3067\u7406\u89e3\u3057\u3084\u3059\u3044\u306e\u304c\u7279\u5fb4\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">1-1. \u306a\u305c\u300c\u4e00\u756a\u4e0b\u304b\u3089\u4e0a\u3078\u300d\u306a\u306e\u304b<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u591a\u304f\u306e\u521d\u5b66\u8005\u306f\u3001\u6700\u7d42\u884c\u3092\u53d6\u5f97\u3059\u308b\u3068\u304d\u300c1\u884c\u76ee\u304b\u3089\u4e0b\u3078\u5411\u304b\u3063\u3066\u6570\u3048\u308b\u300d\u65b9\u6cd5\u3092\u60f3\u50cf\u3057\u304c\u3061\u3067\u3059\u3002\u3057\u304b\u3057\u5b9f\u52d9\u3067\u3088\u304f\u4f7f\u308f\u308c\u308b\u306e\u306f<strong>\u9006\u306b\u4e00\u756a\u4e0b\u304b\u3089\u4e0a\u3078\u5411\u304b\u3063\u3066\u30c7\u30fc\u30bf\u3092\u63a2\u3059<\/strong>End(xlUp)\u3067\u3059\u3002\u3053\u308c\u306f\u3001<strong>\u8868\u306e\u9014\u4e2d\u306b\u7a7a\u767d\u30bb\u30eb\u304c\u3042\u3063\u3066\u3082\u3001\u672b\u5c3e\u304b\u3089\u63a2\u305b\u3070\u6b63\u3057\u3044\u6700\u7d42\u884c\u306b\u305f\u3069\u308a\u7740\u3051\u308b<\/strong>\u3068\u3044\u3046\u5f8c\u8ff0\u306e\u7406\u7531\u306b\u3088\u308b\u3082\u306e\u3067\u3059\u3002<\/p>\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;\">\u5217\u306f\u300c\u30c7\u30fc\u30bf\u304c\u5fc5\u305a\u5165\u3063\u3066\u3044\u308b\u5217\u300d\u3092\u6307\u5b9a\u3059\u308b<\/strong>\n  <\/div>\n  <p style=\"margin:0;font-size:15px;line-height:1.8;color:#333;\">Cells(Rows.Count, 1)\u306e\u300c1\u300d\u306f\u5217\u756a\u53f7\uff08A\u5217\uff09\u3092\u6307\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002\u3082\u3057A\u5217\u306b\u3060\u3051\u7a7a\u767d\u304c\u591a\u3044\u8868\u306e\u5834\u5408\u3001\u5fc5\u305a\u30c7\u30fc\u30bf\u304c\u5165\u3063\u3066\u3044\u308b\u5217\uff08\u4f8b\u3048\u3070\u5546\u54c1\u30b3\u30fc\u30c9\u5217\u306a\u3069\uff09\u3092\u6307\u5b9a\u3059\u308b\u3088\u3046\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u5217\u3092\u9593\u9055\u3048\u308b\u3068\u3001\u5b9f\u969b\u3088\u308a\u5c11\u306a\u3044\u884c\u6570\u3092\u6700\u7d42\u884c\u3068\u3057\u3066\u8aa4\u691c\u51fa\u3057\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\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\">\u3053\u306e\u300cRows.Count + End(xlUp)\u300d\u306e\u7d44\u307f\u5408\u308f\u305b\u306f\u3001\u6b63\u76f4VBA\u3092\u66f8\u304f\u4eba\u306a\u3089\u546a\u6587\u306e\u3088\u3046\u306b\u899a\u3048\u3066\u3044\u308b\u30ec\u30d9\u30eb\u306e\u5b9a\u756a\u30b3\u30fc\u30c9\u3067\u3059\u3002\u307e\u305a\u306f\u3053\u306e1\u30d1\u30bf\u30fc\u30f3\u3060\u3051\u3067\u3082\u78ba\u5b9f\u306b\u62bc\u3055\u3048\u3066\u304a\u304f\u3068\u5b89\u5fc3\u3067\u3059\u3002<\/div>\n<\/div>\n\n<h3 class=\"wp-block-heading\">1-2. \u6700\u7d42\u5217\u3092\u53d6\u5f97\u3057\u305f\u3044\u5834\u5408\uff1aEnd(xlToLeft)<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u3053\u307e\u3067\u306f\u300c\u884c\u300d\u306e\u6700\u7d42\u4f4d\u7f6e\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u3066\u304d\u307e\u3057\u305f\u304c\u3001\u8868\u306b\u3088\u3063\u3066\u306f<strong>\u300c\u5217\u300d\u306e\u6700\u7d42\u4f4d\u7f6e\uff08\u53f3\u7aef\u306e\u5217\uff09<\/strong>\u3092\u77e5\u308a\u305f\u3044\u5834\u9762\u3082\u3042\u308a\u307e\u3059\u3002\u8003\u3048\u65b9\u306f\u6700\u7d42\u884c\u3068\u540c\u3058\u3067\u3001\u65b9\u5411\u3092\u5909\u3048\u308b\u3060\u3051\u3067\u3059\u3002<\/p>\n\n\n\n<pre style=\"background:#1a1a1a;color:#e5e5e5;border-radius:8px;padding:18px 20px;overflow-x:auto;font-size:14px;line-height:1.7;margin:16px 0;\"><code>Dim lastCol As Long\nlastCol = Cells(1, Columns.Count).End(xlToLeft).Column\n' 1\u884c\u76ee\u306b\u304a\u3051\u308b\u6700\u7d42\u5217\u756a\u53f7\u304clastCol\u306b\u5165\u308b<\/code><\/pre>\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>Columns.Count<\/strong>\uff1a\u30ef\u30fc\u30af\u30b7\u30fc\u30c8\u306b\u5b58\u5728\u3059\u308b\u5217\u306e\u7dcf\u6570\u3092\u8fd4\u3059\u30d7\u30ed\u30d1\u30c6\u30a3\u3002\u73fe\u884c\u306eExcel\u3067\u306f16,384\uff08XFD\u5217\uff09\u304c\u8fd4\u308b\u3002Rows.Count\u306e\u5217\u30d0\u30fc\u30b8\u30e7\u30f3\u3068\u3057\u3066\u3001\u6700\u7d42\u5217\u53d6\u5f97\u306e\u8d77\u70b9\u306b\u4f7f\u308f\u308c\u308b\u3002<\/p>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">End(xlToLeft)\u306f\u3001End(xlUp)\u306e\u300c\u4e0a\u4e0b\u300d\u3092\u300c\u5de6\u53f3\u300d\u306b\u7f6e\u304d\u63db\u3048\u305f\u3082\u306e\u3068\u8003\u3048\u308b\u3068\u7406\u89e3\u3057\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u3002<strong>\u30b7\u30fc\u30c8\u306e\u53f3\u7aef\uff08\u5217\u306e\u9650\u754c\uff09\u3092\u8d77\u70b9\u306b\u3001\u5de6\u65b9\u5411\u3078Ctrl+\u2190\u30ad\u30fc\u3092\u62bc\u3057\u305f\u4f4d\u7f6e<\/strong>\u3092\u53d6\u5f97\u3059\u308b\u3001\u3068\u3044\u3046\u540c\u3058\u767a\u60f3\u3067\u3059\u3002\u884c\u65b9\u5411\u30fb\u5217\u65b9\u5411\u306e\u3069\u3061\u3089\u3067\u3082\u300c\u30c7\u30fc\u30bf\u304c\u7d76\u5bfe\u306b\u306a\u3044\u5834\u6240\u3092\u8d77\u70b9\u306b\u3059\u308b\u300d\u3068\u3044\u3046\u539f\u5247\u306f\u5909\u308f\u308a\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u7e26\u6a2a\u3069\u3061\u3089\u306e\u8868\u3082\u6271\u3046\u53ef\u80fd\u6027\u304c\u3042\u308b\u96c6\u8a08\u30de\u30af\u30ed\u3067\u306f\u3001\u3053\u306e\u300c\u884c\u7248\u300d\u300c\u5217\u7248\u300d\u3092\u30bb\u30c3\u30c8\u3067\u62bc\u3055\u3048\u3066\u304a\u304f\u3068\u3001\u5fdc\u7528\u306e\u5e45\u304c\u5927\u304d\u304f\u5e83\u304c\u308a\u307e\u3059\u3002<\/p>\n\n\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=vba-last-row&#038;blog_slug=vba-last-row\" 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=vba-last-row&#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;\">THE TRAP<\/span>\n  <span class=\"section-title\" style=\"display:block;\">\u306a\u305cEnd(xlDown)\u3067\u306f\u5931\u6557\u3059\u308b\u306e\u304b\uff08\u7a7a\u767d\u30bb\u30eb\u306e\u7f60\uff09<\/span>\n  <span class=\"section-desc\">\u300c\u4e0a\u304b\u3089\u4e0b\u300d\u3067\u63a2\u3059\u30a2\u30d7\u30ed\u30fc\u30c1\u304c\u62b1\u3048\u308b\u6839\u672c\u7684\u306a\u5f31\u70b9<\/span>\n<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">End(xlUp)\u3068\u306f\u9006\u306b\u3001<strong>1\u884c\u76ee\u304b\u3089\u4e0b\u65b9\u5411\u306bEnd(xlDown)\u3067\u63a2\u3059<\/strong>\u3068\u3044\u3046\u66f8\u304d\u65b9\u3082\u3088\u304f\u898b\u304b\u3051\u307e\u3059\u3002\u3057\u304b\u3057\u3053\u306e\u65b9\u6cd5\u306b\u306f\u3001\u5b9f\u52d9\u30c7\u30fc\u30bf\u3067\u6df1\u523b\u306a\u843d\u3068\u3057\u7a74\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<pre style=\"background:#1a1a1a;color:#e5e5e5;border-radius:8px;padding:18px 20px;overflow-x:auto;font-size:14px;line-height:1.7;margin:16px 0;\"><code>' \u4e00\u898b\u52d5\u304d\u305d\u3046\u306b\u898b\u3048\u308b\u304c\u3001\u5371\u967a\u306a\u66f8\u304d\u65b9\nDim lastRow As Long\nlastRow = Range(\"A1\").End(xlDown).Row<\/code><\/pre>\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;\">\u7a7a\u767d\u30bb\u30eb\u304c\u3042\u308b\u3068\u300c\u6b62\u307e\u3063\u3066\u3057\u307e\u3046\u300d<\/strong>\n  <\/div>\n  <p style=\"margin:0;font-size:15px;line-height:1.8;color:#333;\">End(xlDown)\u306f\u3001<strong>\u9014\u4e2d\u306b\u7a7a\u767d\u30bb\u30eb\u304c\u3042\u308b\u3068\u3001\u305d\u3053\u3067\u63a2\u7d22\u3092\u6b62\u3081\u3066\u3057\u307e\u3044\u307e\u3059<\/strong>\u3002\u8868\u306e10\u884c\u76ee\u304c\u7a7a\u767d\u3060\u3063\u305f\u5834\u5408\u3001A1\u304b\u3089\u4e0b\u65b9\u5411\u306b\u63a2\u3059\u30689\u884c\u76ee\u3067\u6b62\u307e\u308a\u3001\u672c\u6765100\u884c\u3042\u308b\u306f\u305a\u306e\u30c7\u30fc\u30bf\u304c\u300c\u6700\u7d42\u884c\u306f9\u884c\u76ee\u300d\u3068\u8aa4\u3063\u3066\u5224\u5b9a\u3055\u308c\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u308c\u304c\u3001\u3053\u306e\u8a18\u4e8b\u306e\u5192\u982d\u3067\u89e6\u308c\u305f\u300c\u9014\u4e2d\u3067\u51e6\u7406\u304c\u6b62\u307e\u308b\u300d\u3068\u3044\u3046\u73fe\u8c61\u306e\u6b63\u4f53\u3067\u3059\u3002\u30c7\u30fc\u30bf\u5165\u529b\u306e\u904e\u7a0b\u30671\u884c\u3060\u3051\u7a7a\u767d\u30bb\u30eb\u304c\u3067\u304d\u3066\u3057\u307e\u3046\u3053\u3068\u306f\u3001\u5b9f\u52d9\u3067\u306f\u73cd\u3057\u304f\u3042\u308a\u307e\u305b\u3093\u3002<strong>\u305d\u306e1\u884c\u306e\u305b\u3044\u3067\u3001\u4ee5\u964d\u306e\u30c7\u30fc\u30bf\u304c\u3059\u3079\u3066\u96c6\u8a08\u304b\u3089\u6f0f\u308c\u308b<\/strong>\u3068\u3044\u3046\u4e8b\u6545\u304c\u8d77\u3053\u308a\u5f97\u307e\u3059\u3002<\/p>\n\n\n\n<table>\n<thead><tr><th>\u8d77\u70b9\u30fb\u65b9\u5411<\/th><th>\u7a7a\u767d\u30bb\u30eb\u304c\u8868\u306e\u9014\u4e2d\u306b\u3042\u308b\u5834\u5408<\/th><th>\u7a7a\u767d\u30bb\u30eb\u304c\u8868\u306e\u672b\u5c3e\uff08\u30c7\u30fc\u30bf\u306a\u3057\u90e8\u5206\uff09\u306b\u3042\u308b\u5834\u5408<\/th><\/tr><\/thead>\n<tbody>\n<tr><td>End(xlDown)\uff08\u4e0a\u304b\u3089\u4e0b\uff09<\/td><td>\u7a7a\u767d\u30bb\u30eb\u306e\u624b\u524d\u3067\u6b62\u307e\u308a\u3001\u8aa4\u3063\u305f\u6700\u7d42\u884c\u3092\u8fd4\u3059<\/td><td>\uff08\u901a\u5e38\u306f\u3053\u306e\u65b9\u5411\u3067\u306f\u4f7f\u308f\u306a\u3044\uff09<\/td><\/tr>\n<tr><td>End(xlUp)\uff08\u4e0b\u304b\u3089\u4e0a\uff09<\/td><td>\u7a7a\u767d\u30bb\u30eb\u3092\u98db\u3073\u8d8a\u3048\u3066\u6b63\u3057\u3044\u6700\u7d42\u884c\u3092\u8fd4\u3059<\/td><td>\u6b63\u3057\u304f\u6700\u7d42\u30c7\u30fc\u30bf\u884c\u3092\u8fd4\u3059<\/td><\/tr>\n<\/tbody>\n<\/table>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u9055\u3044\u3053\u305d\u304c\u3001\u5b9f\u52d9\u3067End(xlUp)\u304c\u5b9a\u756a\u3068\u3057\u3066\u4f7f\u308f\u308c\u308b\u6700\u5927\u306e\u7406\u7531\u3067\u3059\u3002<strong>\u30b7\u30fc\u30c8\u306e\u4e00\u756a\u4e0b\uff08\u30c7\u30fc\u30bf\u304c\u7d76\u5bfe\u306b\u7121\u3044\u5834\u6240\uff09\u3092\u8d77\u70b9\u306b\u3057\u3066\u4e0a\u3078\u63a2\u305b\u3070\u3001\u8868\u306e\u9014\u4e2d\u306b\u3042\u308b\u7a7a\u767d\u30bb\u30eb\u306f\u901a\u904e\u70b9\u3068\u3057\u3066\u7121\u8996\u3055\u308c\u3001\u6700\u521d\u306b\u898b\u3064\u304b\u3063\u305f\u30c7\u30fc\u30bf\u306e\u3042\u308b\u884c\u304c\u6700\u7d42\u884c\u3068\u3057\u3066\u6b63\u3057\u304f\u53d6\u5f97\u3067\u304d\u307e\u3059\u3002<\/strong><\/p>\n\n\n\n<div class=\"g-flow-row\" style=\"margin:24px 0;\">\n  <div class=\"g-flow-item\"><strong>End(xlDown)<\/strong><br><span style=\"font-size:12px;\">\u4e0a\u304b\u3089\u4e0b\u3078\u63a2\u7d22<br>\u7a7a\u767d\u3067\u505c\u6b62\u3059\u308b<\/span><\/div>\n  <div class=\"g-flow-arrow\">&#8594;<\/div>\n  <div class=\"g-flow-item\"><strong>End(xlUp)<\/strong><br><span style=\"font-size:12px;\">\u4e0b\u304b\u3089\u4e0a\u3078\u63a2\u7d22<br>\u7a7a\u767d\u3092\u98db\u3073\u8d8a\u3048\u308b<\/span><\/div>\n<\/div>\n\n\n\n<div class=\"balloon-wrap is-right\">\n  <div class=\"balloon-icon\">\n    <img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/04\/yamazaki-avatar.png\" alt=\"AI\u9b3c\u7ba1\u7406\u5c71\u5d0e\">\n    <span class=\"balloon-name\">AI\u9b3c\u7ba1\u7406\u5c71\u5d0e<\/span>\n  <\/div>\n  <div class=\"balloon-body\">\u300cEnd(xlDown)\u306f\u5371\u967a\u3001End(xlUp)\u306f\u5b89\u5168\u300d\u3068\u5358\u7d14\u306b\u899a\u3048\u308b\u306e\u3067\u306f\u306a\u304f\u3001\u300c\u63a2\u7d22\u306e\u8d77\u70b9\u304c\u30c7\u30fc\u30bf\u306e\u5916\u5074\u306b\u3042\u308b\u304b\u3069\u3046\u304b\u300d\u3068\u3044\u3046\u539f\u7406\u3092\u7406\u89e3\u3057\u3066\u304a\u304f\u3068\u3001\u5fdc\u7528\u304c\u52b9\u304f\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/div>\n<\/div>\n\n\n<div style=\"margin:48px 0 8px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap;\"><a href=\"https:\/\/aikanri.genai-ai.co.jp\/seminar2-blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=vba-last-row&#038;blog_slug=vba-last-row\" 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=vba-last-row&#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;\">SPECIALCELLS<\/span>\n  <span class=\"section-title\" style=\"display:block;\">SpecialCells(xlCellTypeLastCell)\u3092\u4f7f\u3046\u65b9\u6cd5\u3068\u6ce8\u610f\u70b9<\/span>\n  <span class=\"section-desc\">\u30b7\u30fc\u30c8\u4e0a\u3067\u300c\u4e00\u756a\u53f3\u4e0b\u300d\u306e\u30bb\u30eb\u3092\u76f4\u63a5\u53d6\u5f97\u3059\u308b\u65b9\u6cd5<\/span>\n<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u3082\u3046\u4e00\u3064\u306e\u4ee3\u8868\u7684\u306a\u65b9\u6cd5\u304c\u3001SpecialCells(xlCellTypeLastCell)\u3067\u3059\u3002\u3053\u308c\u306f<strong>\u30b7\u30fc\u30c8\u4e0a\u3067\u30c7\u30fc\u30bf\u3084\u66f8\u5f0f\u304c\u8a2d\u5b9a\u3055\u308c\u305f\u3001\u6700\u3082\u53f3\u4e0b\u306e\u30bb\u30eb<\/strong>\u3092\u76f4\u63a5\u8fd4\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre style=\"background:#1a1a1a;color:#e5e5e5;border-radius:8px;padding:18px 20px;overflow-x:auto;font-size:14px;line-height:1.7;margin:16px 0;\"><code>Dim lastCell As Range\nSet lastCell = ActiveSheet.SpecialCells(xlCellTypeLastCell)\n\nDim lastRow As Long\nlastRow = lastCell.Row<\/code><\/pre>\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>SpecialCells(xlCellTypeLastCell)<\/strong>\uff1a\u30ef\u30fc\u30af\u30b7\u30fc\u30c8\u4e0a\u3067\u300c\u30c7\u30fc\u30bf\u307e\u305f\u306f\u66f8\u5f0f\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u7bc4\u56f2\u300d\u306e\u53f3\u4e0b\u306e\u30bb\u30eb\u3092\u53d6\u5f97\u3059\u308b\u30e1\u30bd\u30c3\u30c9\u3002\u5217\u30fb\u884c\u3069\u3061\u3089\u306e\u6700\u7d42\u4f4d\u7f6e\u3082\u4e00\u5ea6\u306b\u53d6\u5f97\u3067\u304d\u308b\u4fbf\u5229\u3055\u304c\u3042\u308b\u4e00\u65b9\u3001\u5f8c\u8ff0\u3059\u308b\u300c\u898b\u3048\u306a\u3044\u7f60\u300d\u3092\u62b1\u3048\u3066\u3044\u308b\u3002<\/p>\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;\">\u904e\u53bb\u306b\u4f7f\u3063\u3066\u3044\u305f\u30bb\u30eb\u306e\u60c5\u5831\u304c\u6b8b\u308a\u7d9a\u3051\u308b\u300c\u5e7d\u970a\u30bb\u30eb\u300d\u554f\u984c<\/strong>\n  <\/div>\n  <p style=\"margin:0;font-size:15px;line-height:1.8;color:#333;\">SpecialCells(xlCellTypeLastCell)\u306f\u3001<strong>\u5b9f\u969b\u306e\u30c7\u30fc\u30bf\u306e\u6709\u7121\u3067\u306f\u306a\u304f\u3001\u904e\u53bb\u306b\u4e00\u5ea6\u3067\u3082\u5024\u3084\u66f8\u5f0f\u3092\u8a2d\u5b9a\u3057\u305f\u3053\u3068\u304c\u3042\u308b\u7bc4\u56f2<\/strong>\u3092\u8a18\u61b6\u3057\u3066\u3044\u307e\u3059\u3002\u4f8b\u3048\u3070\u300c\u4ee5\u524d\u306f1000\u884c\u76ee\u307e\u3067\u8272\u3092\u4ed8\u3051\u3066\u3044\u305f\u304c\u3001\u4eca\u306f\u30c7\u30fc\u30bf\u309250\u884c\u76ee\u307e\u3067\u3057\u304b\u5165\u308c\u3066\u3044\u306a\u3044\u300d\u3068\u3044\u3046\u30b7\u30fc\u30c8\u3067\u306f\u3001\u5b9f\u30c7\u30fc\u30bf\u304c50\u884c\u76ee\u307e\u3067\u3057\u304b\u306a\u304f\u3066\u3082\u30011000\u884c\u76ee\u3092\u6700\u7d42\u884c\u3068\u3057\u3066\u8fd4\u3057\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u300c\u5e7d\u970a\u30bb\u30eb\u300d\u554f\u984c\u306f\u3001Excel\u30d5\u30a1\u30a4\u30eb\u3092\u9577\u671f\u9593\u4f7f\u3044\u56de\u3057\u3066\u3044\u308b\u30b7\u30fc\u30c8\u3067\u983b\u767a\u3057\u307e\u3059\u3002\u904e\u53bb\u306b\u524a\u9664\u3057\u305f\u306f\u305a\u306e\u30c7\u30fc\u30bf\u306e\u66f8\u5f0f\u8a2d\u5b9a\u304c\u6b8b\u3063\u3066\u3044\u305f\u308a\u3001\u4e00\u6642\u7684\u306b\u96e2\u308c\u305f\u5834\u6240\u306b\u30e1\u30e2\u3092\u66f8\u3044\u3066\u6d88\u3057\u305f\u8de1\u304c\u6b8b\u3063\u3066\u3044\u305f\u308a\u3059\u308b\u3060\u3051\u3067\u3001SpecialCells\u306e\u5224\u5b9a\u306f\u7c21\u5358\u306b\u72c2\u3044\u307e\u3059\u3002<\/p>\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;\">SpecialCells\u3092\u4f7f\u3046\u524d\u306bCtrl+End\u3067\u78ba\u8a8d\u3059\u308b\u7fd2\u6163<\/strong>\n  <\/div>\n  <p style=\"margin:0;font-size:15px;line-height:1.8;color:#333;\">\u30de\u30af\u30ed\u3092\u7d44\u3080\u524d\u306b\u3001Excel\u753b\u9762\u3067Ctrl+End\u30ad\u30fc\u3092\u62bc\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002\u5b9f\u969b\u306e\u30c7\u30fc\u30bf\u306e\u7d42\u7aef\u3068\u5927\u304d\u304f\u30ba\u30ec\u305f\u4f4d\u7f6e\u306b\u30ab\u30fc\u30bd\u30eb\u304c\u98db\u3076\u5834\u5408\u3001\u305d\u306e\u30b7\u30fc\u30c8\u306fSpecialCells(xlCellTypeLastCell)\u304c\u8aa4\u52d5\u4f5c\u3057\u3084\u3059\u3044\u72b6\u614b\u306b\u3042\u308a\u307e\u3059\u3002\u4e8b\u524d\u306b\u30b7\u30fc\u30c8\u306e\u30af\u30ea\u30fc\u30f3\u30a2\u30c3\u30d7\uff08\u4e0d\u8981\u306a\u66f8\u5f0f\u306e\u30af\u30ea\u30a2\uff09\u3092\u3057\u3066\u304a\u304f\u3068\u5b89\u5168\u3067\u3059\u3002<\/p>\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\">SpecialCells\u306f\u4fbf\u5229\u305d\u3046\u306b\u898b\u3048\u3066\u3001\u5b9f\u306f\u4e00\u756a\u30c8\u30e9\u30d6\u30eb\u306e\u6e29\u5e8a\u306b\u306a\u308a\u3084\u3059\u3044\u65b9\u6cd5\u3060\u3068\u611f\u3058\u3066\u3044\u307e\u3059\u3002\u904e\u53bb\u306b\u3053\u306e\u300c\u5e7d\u970a\u30bb\u30eb\u300d\u554f\u984c\u3067\u539f\u56e0\u4e0d\u660e\u306e\u30d0\u30b0\u306b\u6570\u6642\u9593\u60a9\u307e\u3055\u308c\u305f\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<\/div>\n<\/div>\n\n\n<div style=\"margin:48px 0 8px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap;\"><a href=\"https:\/\/aikanri.genai-ai.co.jp\/seminar2-blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=vba-last-row&#038;blog_slug=vba-last-row\" 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=vba-last-row&#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;\">USEDRANGE<\/span>\n  <span class=\"section-title\" style=\"display:block;\">UsedRange\u3067\u4f7f\u7528\u7bc4\u56f2\u5168\u4f53\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5<\/span>\n  <span class=\"section-desc\">\u30b7\u30fc\u30c8\u5168\u4f53\u306e\u300c\u4f7f\u308f\u308c\u305f\u7bc4\u56f2\u300d\u3092\u307e\u3068\u3081\u3066\u6271\u3046<\/span>\n<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">UsedRange\u306f\u3001<strong>\u30ef\u30fc\u30af\u30b7\u30fc\u30c8\u5185\u3067\u4e00\u5ea6\u3067\u3082\u4f7f\u7528\u3055\u308c\u305f\uff08\u30c7\u30fc\u30bf\u3084\u66f8\u5f0f\u304c\u8a2d\u5b9a\u3055\u308c\u305f\uff09\u30bb\u30eb\u7bc4\u56f2\u5168\u4f53<\/strong>\u3092\u8fd4\u3059\u30d7\u30ed\u30d1\u30c6\u30a3\u3067\u3059\u3002<\/p>\n\n\n\n<pre style=\"background:#1a1a1a;color:#e5e5e5;border-radius:8px;padding:18px 20px;overflow-x:auto;font-size:14px;line-height:1.7;margin:16px 0;\"><code>Dim lastRow As Long\nlastRow = ActiveSheet.UsedRange.Rows.Count  ' \u7c21\u6613\u6cd5\uff1a\u30c7\u30fc\u30bf\u304c1\u884c\u76ee\u304b\u3089\u59cb\u307e\u308b\u5834\u5408\u306e\u307f\u6700\u7d42\u884c\u756a\u53f7\u3068\u4e00\u81f4\n\n' \u958b\u59cb\u884c\u304c1\u884c\u76ee\u3067\u306a\u3044\u5834\u5408\u3082\u6b63\u3057\u304f\u6700\u7d42\u884c\u756a\u53f7\u3092\u5f97\u308b\u66f8\u304d\u65b9\nDim lastRowNum As Long\nlastRowNum = ActiveSheet.UsedRange.Rows(ActiveSheet.UsedRange.Rows.Count).Row<\/code><\/pre>\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>UsedRange<\/strong>\uff1a\u30ef\u30fc\u30af\u30b7\u30fc\u30c8\u4e0a\u3067\u4f7f\u7528\u3055\u308c\u305f\u3053\u3068\u306e\u3042\u308b\u30bb\u30eb\u306e\u7bc4\u56f2\u5168\u4f53\u3092\u8868\u3059Range\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3002\u884c\u30fb\u5217\u306e\u4e21\u65b9\u306e\u4f7f\u7528\u7bc4\u56f2\u3092\u4e00\u62ec\u3067\u628a\u63e1\u3067\u304d\u308b\u304c\u3001SpecialCells\u3068\u540c\u69d8\u306b\u904e\u53bb\u306e\u66f8\u5f0f\u8a2d\u5b9a\u306e\u5f71\u97ff\u3092\u53d7\u3051\u3084\u3059\u3044\u3002<\/p>\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;\">UsedRange\u3082SpecialCells\u3068\u540c\u3058\u5f31\u70b9\u3092\u6301\u3064<\/strong>\n  <\/div>\n  <p style=\"margin:0;font-size:15px;line-height:1.8;color:#333;\">UsedRange\u306f\u5185\u90e8\u7684\u306bSpecialCells(xlCellTypeLastCell)\u306b\u8fd1\u3044\u4ed5\u7d44\u307f\u3067\u52d5\u4f5c\u3059\u308b\u305f\u3081\u3001<strong>\u540c\u3058\u300c\u5e7d\u970a\u30bb\u30eb\u300d\u554f\u984c\u306e\u5f71\u97ff\u3092\u53d7\u3051\u307e\u3059<\/strong>\u3002\u904e\u53bb\u306b\u4f7f\u308f\u308c\u3066\u3044\u305f\u7bc4\u56f2\u3092\u5f15\u304d\u305a\u308b\u305f\u3081\u3001\u73fe\u5728\u306e\u5b9f\u30c7\u30fc\u30bf\u3088\u308a\u5e83\u3044\u7bc4\u56f2\u3092\u300c\u4f7f\u7528\u7bc4\u56f2\u300d\u3068\u3057\u3066\u8fd4\u3059\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e00\u65b9\u3067UsedRange\u306b\u306f\u3001<strong>\u300c\u884c\u6570\u30fb\u5217\u6570\u306e\u4e21\u65b9\u3092\u4e00\u5ea6\u306b\u628a\u63e1\u3067\u304d\u308b\u300d<\/strong>\u3068\u3044\u3046\u5229\u70b9\u304c\u3042\u308a\u307e\u3059\u3002\u8868\u5168\u4f53\u306e\u304a\u304a\u3088\u305d\u306e\u7bc4\u56f2\u3092\u7d20\u65e9\u304f\u63b4\u307f\u305f\u3044\u3001\u3068\u3044\u3046\u30e9\u30d5\u306a\u7528\u9014\u306b\u306f\u5411\u3044\u3066\u3044\u307e\u3059\u304c\u3001<strong>\u6b63\u78ba\u306a\u6700\u7d42\u884c\u30921\u884c\u5358\u4f4d\u3067\u53b3\u5bc6\u306b\u7279\u5b9a\u3057\u305f\u3044\u5834\u9762\u306b\u306f\u4e0d\u5411\u304d<\/strong>\u3068\u8003\u3048\u3066\u304a\u304f\u306e\u304c\u5b89\u5168\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">4-1. UsedRange\u3092\u30ea\u30bb\u30c3\u30c8\u3059\u308b\u65b9\u6cd5<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u30b7\u30fc\u30c8\u306e\u4f7f\u7528\u7bc4\u56f2\u60c5\u5831\u304c\u5b9f\u30c7\u30fc\u30bf\u3068\u30ba\u30ec\u3066\u3057\u307e\u3063\u305f\u5834\u5408\u3001\u4ee5\u4e0b\u306e\u64cd\u4f5c\u3067UsedRange\u306e\u8a8d\u8b58\u3092\u30ea\u30bb\u30c3\u30c8\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<pre style=\"background:#1a1a1a;color:#e5e5e5;border-radius:8px;padding:18px 20px;overflow-x:auto;font-size:14px;line-height:1.7;margin:16px 0;\"><code>' \u5b9f\u30c7\u30fc\u30bf\u306b\u5408\u308f\u305b\u3066UsedRange\u306e\u8a8d\u8b58\u3092\u30ea\u30bb\u30c3\u30c8\u3059\u308b\nActiveSheet.UsedRange  ' \u4e00\u5ea6\u53c2\u7167\u3059\u308b\u3060\u3051\u3067\u3082\u518d\u8a08\u7b97\u306e\u304d\u3063\u304b\u3051\u306b\u306a\u308b\u3053\u3068\u304c\u3042\u308b\n\n' \u3088\u308a\u78ba\u5b9f\u306a\u65b9\u6cd5\uff1a\u4fdd\u5b58\u3057\u3066\u9589\u3058\u3001\u518d\u5ea6\u958b\u304f\n' \uff08VBA\u3060\u3051\u3067\u5b8c\u5168\u306b\u30ea\u30bb\u30c3\u30c8\u3059\u308b\u6c7a\u5b9a\u7684\u306a\u65b9\u6cd5\u306f\u306a\u304f\u3001\u5bfe\u75c7\u7642\u6cd5\u7684\u306a\u5bfe\u5fdc\u306b\u306a\u308b\uff09<\/code><\/pre>\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\">UsedRange\u306e\u30ea\u30bb\u30c3\u30c8\u306b\u4e07\u80fd\u306a\u65b9\u6cd5\u306f\u5b9f\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u6839\u672c\u7684\u306b\u306f\u300c\u4e0d\u8981\u306a\u66f8\u5f0f\u3084\u5024\u3092\u3053\u307e\u3081\u306b\u30af\u30ea\u30a2\u3057\u3066\u304a\u304f\u300d\u3068\u3044\u3046\u4e88\u9632\u7684\u306a\u904b\u7528\u306e\u65b9\u304c\u3001\u5f8c\u3005\u306e\u30c8\u30e9\u30d6\u30eb\u3092\u9632\u3050\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=vba-last-row&#038;blog_slug=vba-last-row\" 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=vba-last-row&#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;\">CURRENTREGION<\/span>\n  <span class=\"section-title\" style=\"display:block;\">CurrentRegion\u3067\u8868\u5168\u4f53\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5<\/span>\n  <span class=\"section-desc\">\u7a7a\u767d\u884c\u30fb\u7a7a\u767d\u5217\u3067\u56f2\u307e\u308c\u305f\u300c1\u3064\u306e\u8868\u300d\u3060\u3051\u3092\u53d6\u5f97\u3059\u308b<\/span>\n<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">CurrentRegion\u306f\u3001<strong>\u6307\u5b9a\u3057\u305f\u30bb\u30eb\u3092\u542b\u3080\u3001\u7a7a\u767d\u306e\u884c\u30fb\u7a7a\u767d\u306e\u5217\u3067\u56f2\u307e\u308c\u305f\u9023\u7d9a\u30c7\u30fc\u30bf\u306e\u7bc4\u56f2<\/strong>\u3092\u53d6\u5f97\u3059\u308b\u30d7\u30ed\u30d1\u30c6\u30a3\u3067\u3059\u3002<\/p>\n\n\n\n<pre style=\"background:#1a1a1a;color:#e5e5e5;border-radius:8px;padding:18px 20px;overflow-x:auto;font-size:14px;line-height:1.7;margin:16px 0;\"><code>Dim tbl As Range\nSet tbl = Range(\"A1\").CurrentRegion\n\nDim lastRow As Long\nlastRow = tbl.Rows.Count + tbl.Row - 1  ' \u8868\u306e\u6700\u7d42\u884c\u756a\u53f7\u3092\u8a08\u7b97<\/code><\/pre>\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>CurrentRegion<\/strong>\uff1a\u6307\u5b9a\u3057\u305f\u30bb\u30eb\u3092\u8d77\u70b9\u306b\u3001\u4e0a\u4e0b\u5de6\u53f3\u306b\u96a3\u63a5\u3059\u308b\u7a7a\u767d\u884c\u30fb\u7a7a\u767d\u5217\u304c\u73fe\u308c\u308b\u307e\u3067\u306e\u7bc4\u56f2\u3092\u300c1\u3064\u306e\u8868\u300d\u3068\u3057\u3066\u81ea\u52d5\u7684\u306b\u53d6\u5f97\u3059\u308b\u30d7\u30ed\u30d1\u30c6\u30a3\u3002\u540c\u4e00\u30b7\u30fc\u30c8\u5185\u306b\u8907\u6570\u306e\u8868\u304c\u3042\u308b\u5834\u5408\u3067\u3082\u3001\u305d\u308c\u305e\u308c\u72ec\u7acb\u3057\u3066\u7bc4\u56f2\u3092\u53d6\u5f97\u3067\u304d\u308b\u3002<\/p>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">CurrentRegion\u306e\u6700\u5927\u306e\u30e1\u30ea\u30c3\u30c8\u306f\u3001<strong>\u30b7\u30fc\u30c8\u5185\u306b\u8907\u6570\u306e\u72ec\u7acb\u3057\u305f\u8868\u304c\u3042\u308b\u5834\u5408\u3067\u3082\u3001\u76ee\u7684\u306e\u8868\u3060\u3051\u3092\u30d4\u30f3\u30dd\u30a4\u30f3\u30c8\u3067\u53d6\u5f97\u3067\u304d\u308b<\/strong>\u70b9\u3067\u3059\u3002\u524d\u8ff0\u306eUsedRange\u3084SpecialCells\u306f\u30b7\u30fc\u30c8\u5168\u4f53\u3092\u5bfe\u8c61\u306b\u3057\u3066\u3057\u307e\u3046\u305f\u3081\u3001\u8907\u6570\u306e\u8868\u304c\u6df7\u5728\u3059\u308b\u30b7\u30fc\u30c8\u3067\u306f\u610f\u56f3\u3057\u306a\u3044\u7bc4\u56f2\u3092\u62fe\u3063\u3066\u3057\u307e\u3046\u3053\u3068\u304c\u3042\u308a\u307e\u3059\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;\">\u8868\u306e\u4e2d\u306b1\u3064\u3067\u3082\u7a7a\u767d\u884c\u30fb\u7a7a\u767d\u5217\u304c\u3042\u308b\u3068\u7bc4\u56f2\u304c\u5206\u65ad\u3055\u308c\u308b<\/strong>\n  <\/div>\n  <p style=\"margin:0;font-size:15px;line-height:1.8;color:#333;\">CurrentRegion\u306f\u7a7a\u767d\u884c\u30fb\u7a7a\u767d\u5217\u3092\u300c\u8868\u306e\u5883\u754c\u300d\u3068\u307f\u306a\u3059\u305f\u3081\u3001<strong>\u8868\u306e\u9014\u4e2d\u306b\u7a7a\u767d\u884c\u304c1\u884c\u3067\u3082\u3042\u308b\u3068\u3001\u305d\u3053\u3067\u7bc4\u56f2\u304c\u5206\u65ad\u3055\u308c\u3066\u3057\u307e\u3044\u307e\u3059<\/strong>\u3002\u30c7\u30fc\u30bf\u5165\u529b\u306e\u90fd\u5408\u3067\u610f\u56f3\u305b\u305a\u7a7a\u767d\u884c\u304c\u631f\u307e\u308b\u3068\u3001CurrentRegion\u306f\u8868\u306e\u4e00\u90e8\u5206\u3057\u304b\u8a8d\u8b58\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\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;\">\u898b\u51fa\u3057\u884c\u306b\u7a7a\u767d\u30bb\u30eb\u304c\u3042\u3063\u3066\u3082\u8868\u3068\u307f\u306a\u3055\u308c\u308b<\/strong>\n  <\/div>\n  <p style=\"margin:0;font-size:15px;line-height:1.8;color:#333;\">CurrentRegion\u304c\u5206\u65ad\u306e\u57fa\u6e96\u306b\u3059\u308b\u306e\u306f\u300c\u884c\u30fb\u5217\u304c\u3059\u3079\u3066\u7a7a\u767d\u304b\u3069\u3046\u304b\u300d\u3067\u3059\u3002\u8868\u306e\u4e2d\u306e1\u3064\u306e\u30bb\u30eb\u3060\u3051\u304c\u7a7a\u767d\u3067\u3082\u3001\u305d\u306e\u884c\u30fb\u5217\u306b\u4ed6\u306e\u30c7\u30fc\u30bf\u304c1\u3064\u3067\u3082\u3042\u308c\u3070\u3001\u8868\u306f\u5206\u65ad\u3055\u308c\u305a1\u3064\u306e\u7bc4\u56f2\u3068\u3057\u3066\u8a8d\u8b58\u3055\u308c\u307e\u3059\u3002\u300c1\u30bb\u30eb\u306e\u7a7a\u767d\u300d\u3068\u300c1\u884c\u307e\u308b\u3054\u3068\u7a7a\u767d\u300d\u306e\u9055\u3044\u3092\u7406\u89e3\u3057\u3066\u304a\u304f\u3068\u3001\u6319\u52d5\u3092\u6b63\u78ba\u306b\u4e88\u6e2c\u3067\u304d\u307e\u3059\u3002<\/p>\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\">CurrentRegion\u306f\u3001\u8907\u6570\u306e\u5c0f\u3055\u306a\u8868\u30921\u30b7\u30fc\u30c8\u306b\u307e\u3068\u3081\u3066\u7ba1\u7406\u3057\u3066\u3044\u308b\u3088\u3046\u306aExcel\u30d5\u30a1\u30a4\u30eb\u3067\u7279\u306b\u91cd\u5b9d\u3057\u307e\u3059\u3002\u7bc4\u56f2\u9078\u629e\u306e\u624b\u9593\u304c\u306a\u304f\u306a\u308b\u306e\u3067\u3001\u96c6\u8a08\u30de\u30af\u30ed\u306e\u521d\u52d5\u304c\u4e00\u6c17\u306b\u697d\u306b\u306a\u308a\u307e\u3059\u3002<\/div>\n<\/div>\n\n\n<div style=\"margin:48px 0 8px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap;\"><a href=\"https:\/\/aikanri.genai-ai.co.jp\/seminar2-blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=vba-last-row&#038;blog_slug=vba-last-row\" 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=vba-last-row&#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;\">COMPARISON<\/span>\n  <span class=\"section-title\" style=\"display:block;\">\u3010\u6bd4\u8f03\u30115\u3064\u306e\u65b9\u6cd5\u3092\u3069\u3046\u4f7f\u3044\u5206\u3051\u308b\u304b<\/span>\n  <span class=\"section-desc\">\u76ee\u7684\u5225\u306e\u5224\u65ad\u57fa\u6e96\u30921\u679a\u3067\u6574\u7406\u3059\u308b<\/span>\n<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u3053\u307e\u3067\u7d39\u4ecb\u3057\u305f4\u3064\u306e\u65b9\u6cd5\uff08End(xlUp)\u30fbSpecialCells\u30fbUsedRange\u30fbCurrentRegion\uff09\u306b\u52a0\u3048\u3001\u30c6\u30fc\u30d6\u30eb\u6a5f\u80fd\u3092\u4f7f\u3046\u5834\u5408\u306e\u7b2c5\u306e\u65b9\u6cd5\u3082\u542b\u3081\u3066\u3001\u4f7f\u3044\u5206\u3051\u306e\u57fa\u6e96\u3092\u6574\u7406\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<table>\n<thead><tr><th>\u65b9\u6cd5<\/th><th>\u53d6\u5f97\u3067\u304d\u308b\u3082\u306e<\/th><th>\u7a7a\u767d\u30bb\u30eb\u3078\u306e\u8010\u6027<\/th><th>\u3053\u3093\u306a\u5834\u9762\u306b\u5411\u3044\u3066\u3044\u308b<\/th><\/tr><\/thead>\n<tbody>\n<tr><td>End(xlUp)<\/td><td>\u6307\u5b9a\u3057\u305f\u5217\u306e\u6700\u7d42\u30c7\u30fc\u30bf\u884c<\/td><td>\u25ce \u8868\u5185\u306e\u7a7a\u767d\u3092\u98db\u3073\u8d8a\u3048\u3089\u308c\u308b<\/td><td>\u7279\u5b9a\u306e\u5217\u3092\u57fa\u6e96\u306b\u6700\u7d42\u884c\u3092\u53d6\u308a\u305f\u3044\u3001\u6700\u3082\u4e00\u822c\u7684\u306a\u30b1\u30fc\u30b9<\/td><\/tr>\n<tr><td>SpecialCells(xlCellTypeLastCell)<\/td><td>\u30b7\u30fc\u30c8\u5168\u4f53\u306e\u53f3\u4e0b\u30bb\u30eb<\/td><td>\u25b3 \u904e\u53bb\u306e\u66f8\u5f0f\u304c\u6b8b\u308b\u3068\u8aa4\u691c\u51fa<\/td><td>\u3056\u3063\u304f\u308a\u30b7\u30fc\u30c8\u5168\u4f53\u306e\u7bc4\u56f2\u611f\u3092\u63b4\u307f\u305f\u3044\u3068\u304d<\/td><\/tr>\n<tr><td>UsedRange<\/td><td>\u30b7\u30fc\u30c8\u5168\u4f53\u306e\u4f7f\u7528\u7bc4\u56f2<\/td><td>\u25b3 SpecialCells\u3068\u540c\u69d8\u306e\u5f31\u70b9<\/td><td>\u884c\u6570\u30fb\u5217\u6570\u3092\u540c\u6642\u306b\u5927\u307e\u304b\u306b\u628a\u63e1\u3057\u305f\u3044\u3068\u304d<\/td><\/tr>\n<tr><td>CurrentRegion<\/td><td>\u8d77\u70b9\u30bb\u30eb\u3092\u542b\u30801\u3064\u306e\u8868\u5168\u4f53<\/td><td>\u00d7 \u8868\u5185\u306e\u7a7a\u767d\u884c\u30fb\u7a7a\u767d\u5217\u3067\u5206\u65ad\u3055\u308c\u308b<\/td><td>\u8907\u6570\u8868\u304c\u6df7\u5728\u3059\u308b\u30b7\u30fc\u30c8\u3067\u7279\u5b9a\u306e\u8868\u3060\u3051\u6271\u3044\u305f\u3044\u3068\u304d<\/td><\/tr>\n<tr><td>ListObject\uff08\u30c6\u30fc\u30d6\u30eb\u6a5f\u80fd\uff09<\/td><td>\u30c6\u30fc\u30d6\u30eb\u3068\u3057\u3066\u5b9a\u7fa9\u3057\u305f\u7bc4\u56f2<\/td><td>\u25ce \u30c6\u30fc\u30d6\u30eb\u306e\u7bc4\u56f2\u306f\u5e38\u306b\u6b63\u78ba<\/td><td>\u3042\u3089\u304b\u3058\u3081Excel\u306e\u30c6\u30fc\u30d6\u30eb\u6a5f\u80fd\u3067\u8868\u3092\u5b9a\u7fa9\u3067\u304d\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>ListObject\uff08\u30c6\u30fc\u30d6\u30eb\uff09<\/strong>\uff1aExcel\u306e\u300c\u30c6\u30fc\u30d6\u30eb\u3068\u3057\u3066\u66f8\u5f0f\u8a2d\u5b9a\u300d\u6a5f\u80fd\u3067\u4f5c\u6210\u3057\u305f\u8868\u3092\u6307\u3059\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3002\u30c7\u30fc\u30bf\u306e\u8ffd\u52a0\u306b\u5408\u308f\u305b\u3066\u7bc4\u56f2\u304c\u81ea\u52d5\u7684\u306b\u62e1\u5f35\u3055\u308c\u308b\u305f\u3081\u3001\u6700\u7d42\u884c\u306e\u53d6\u5f97\u3084\u7bc4\u56f2\u64cd\u4f5c\u304c\u6700\u3082\u5b89\u5b9a\u3059\u308b\u65b9\u6cd5\u3068\u3055\u308c\u308b\u3002<\/p>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u8ff7\u3063\u305f\u3068\u304d\u306e\u7d50\u8ad6\u306f\u30b7\u30f3\u30d7\u30eb\u3067\u3059\u3002<strong>\u300c\u7279\u5b9a\u306e\u5217\u3067\u6700\u7d42\u884c\u3060\u3051\u77e5\u308a\u305f\u3044\u300d\u306a\u3089 End(xlUp)\u3001\u300c\u8868\u3068\u3057\u3066\u7ba1\u7406\u3057\u305f\u3044\u300d\u306a\u3089\u30c6\u30fc\u30d6\u30eb\u6a5f\u80fd\uff08ListObject\uff09\u306b\u5bc4\u305b\u308b<\/strong>\u306e\u304c\u3001\u5b9f\u52d9\u3067\u6700\u3082\u30c8\u30e9\u30d6\u30eb\u306e\u5c11\u306a\u3044\u9078\u629e\u3067\u3059\u3002SpecialCells\u3068UsedRange\u306f\u3001\u4fbf\u5229\u306b\u898b\u3048\u3066\u4e8b\u6545\u7387\u304c\u9ad8\u3044\u305f\u3081\u3001\u53ef\u80fd\u3067\u3042\u308c\u3070\u907f\u3051\u308b\u306e\u304c\u7121\u96e3\u3067\u3059\u3002<\/p>\n\n\n\n<div class=\"g-flow-row\" style=\"margin:24px 0;\">\n  <div class=\"g-flow-item\"><strong>\u7279\u5b9a\u306e\u5217\u306e<br>\u6700\u7d42\u884c\u3060\u3051\u77e5\u308a\u305f\u3044<\/strong><br><span style=\"font-size:12px;\">\u2192 End(xlUp)<\/span><\/div>\n  <div class=\"g-flow-arrow\">&#8594;<\/div>\n  <div class=\"g-flow-item\"><strong>1\u3064\u306e\u8868\u5168\u4f53\u3092<br>\u30d4\u30f3\u30dd\u30a4\u30f3\u30c8\u3067\u6271\u3044\u305f\u3044<\/strong><br><span style=\"font-size:12px;\">\u2192 CurrentRegion<\/span><\/div>\n  <div class=\"g-flow-arrow\">&#8594;<\/div>\n  <div class=\"g-flow-item\"><strong>\u305d\u3082\u305d\u3082\u8868\u3068\u3057\u3066<br>\u5b89\u5b9a\u904b\u7528\u3057\u305f\u3044<\/strong><br><span style=\"font-size:12px;\">\u2192 \u30c6\u30fc\u30d6\u30eb\u6a5f\u80fd(ListObject)<\/span><\/div>\n<\/div>\n\n\n\n<div class=\"balloon-wrap is-right\">\n  <div class=\"balloon-icon\">\n    <img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/04\/yamazaki-avatar.png\" alt=\"AI\u9b3c\u7ba1\u7406\u5c71\u5d0e\">\n    <span class=\"balloon-name\">AI\u9b3c\u7ba1\u7406\u5c71\u5d0e<\/span>\n  <\/div>\n  <div class=\"balloon-body\">5\u3064\u3082\u65b9\u6cd5\u304c\u3042\u308b\u3068\u300c\u7d50\u5c40\u4f55\u3092\u4f7f\u3048\u3070\u3044\u3044\u306e\u304b\u300d\u3068\u8ff7\u3044\u304c\u3061\u3067\u3059\u304c\u3001\u5b9f\u52d9\u3067\u672c\u5f53\u306b\u3088\u304f\u4f7f\u3046\u306e\u306fEnd(xlUp)\u3068\u30c6\u30fc\u30d6\u30eb\u6a5f\u80fd\u306e\u307b\u307c2\u629e\u3067\u3059\u3002\u307e\u305a\u306f\u3053\u306e2\u3064\u3092\u8ef8\u306b\u8003\u3048\u308b\u3068\u5224\u65ad\u304c\u30b7\u30f3\u30d7\u30eb\u306b\u306a\u308a\u307e\u3059\u3002<\/div>\n<\/div>\n\n<h3 class=\"wp-block-heading\">6-2. \u51e6\u7406\u901f\u5ea6\u306e\u50be\u5411\u3092\u628a\u63e1\u3057\u3066\u304a\u304f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">5\u3064\u306e\u65b9\u6cd5\u306f\u3001\u6b63\u78ba\u6027\u3060\u3051\u3067\u306a\u304f<strong>\u51e6\u7406\u901f\u5ea6\u306e\u50be\u5411<\/strong>\u306b\u3082\u9055\u3044\u304c\u3042\u308a\u307e\u3059\u3002\u6570\u5343\u884c\u898f\u6a21\u306e\u30b7\u30fc\u30c8\u3092\u6271\u3046\u30de\u30af\u30ed\u3067\u306f\u3001\u3053\u306e\u9055\u3044\u304c\u4f53\u611f\u3067\u304d\u308b\u30ec\u30d9\u30eb\u306e\u5dee\u306b\u306a\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<table>\n<thead><tr><th>\u65b9\u6cd5<\/th><th>\u51e6\u7406\u901f\u5ea6\u306e\u50be\u5411<\/th><th>\u5099\u8003<\/th><\/tr><\/thead>\n<tbody>\n<tr><td>End(xlUp)<\/td><td>\u975e\u5e38\u306b\u9ad8\u901f<\/td><td>\u30bb\u30eb1\u70b9\u3092\u8d77\u70b9\u306b\u3057\u305f\u5358\u7d14\u306a\u63a2\u7d22\u306e\u305f\u3081\u8ca0\u8377\u304c\u5c0f\u3055\u3044<\/td><\/tr>\n<tr><td>SpecialCells(xlCellTypeLastCell)<\/td><td>\u9ad8\u901f<\/td><td>\u30b7\u30fc\u30c8\u5168\u4f53\u3092\u5bfe\u8c61\u306b\u3059\u308b\u304c\u30d7\u30ed\u30d1\u30c6\u30a3\u30a2\u30af\u30bb\u30b9\u81ea\u4f53\u306f\u8efd\u3044<\/td><\/tr>\n<tr><td>UsedRange<\/td><td>\u3084\u3084\u91cd\u3044\u5834\u5408\u304c\u3042\u308b<\/td><td>\u30b7\u30fc\u30c8\u5168\u4f53\u306e\u4f7f\u7528\u7bc4\u56f2\u3092\u6bce\u56de\u518d\u8a08\u7b97\u3059\u308b\u30b1\u30fc\u30b9\u304c\u3042\u308b<\/td><\/tr>\n<tr><td>CurrentRegion<\/td><td>\u8868\u306e\u30b5\u30a4\u30ba\u306b\u5fdc\u3058\u3066\u5909\u52d5<\/td><td>\u8868\u304c\u5927\u304d\u3044\u307b\u3069\u7bc4\u56f2\u5224\u5b9a\u306e\u8ca0\u8377\u304c\u5897\u3048\u308b<\/td><\/tr>\n<tr><td>ListObject\uff08\u30c6\u30fc\u30d6\u30eb\uff09<\/td><td>\u5b89\u5b9a\u3057\u3066\u9ad8\u901f<\/td><td>\u3042\u3089\u304b\u3058\u3081\u7bc4\u56f2\u304c\u7ba1\u7406\u3055\u308c\u3066\u3044\u308b\u305f\u3081\u63a2\u7d22\u51e6\u7406\u81ea\u4f53\u304c\u767a\u751f\u3057\u306a\u3044<\/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>\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9<\/strong>\uff1a\u3053\u3053\u3067\u306f\u51e6\u7406\u901f\u5ea6\u30fb\u5b9f\u884c\u6642\u9593\u306e\u610f\u5473\u3067\u4f7f\u3063\u3066\u3044\u308b\u3002\u6570\u767e\u884c\u7a0b\u5ea6\u306e\u30c7\u30fc\u30bf\u3067\u3042\u308c\u3070\u3069\u306e\u65b9\u6cd5\u3067\u3082\u4f53\u611f\u5dee\u306f\u307b\u307c\u306a\u3044\u304c\u3001\u6570\u5343\u301c\u6570\u4e07\u884c\u898f\u6a21\u306b\u306a\u308b\u3068\u65b9\u6cd5\u306b\u3088\u308b\u5dee\u304c\u7121\u8996\u3067\u304d\u306a\u304f\u306a\u308b\u3002<\/p>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u5927\u91cf\u30c7\u30fc\u30bf\u3092\u6271\u3046\u96c6\u8a08\u30de\u30af\u30ed\u3092\u8a2d\u8a08\u3059\u308b\u969b\u306f\u3001\u6b63\u78ba\u6027\u3068\u5408\u308f\u305b\u3066<strong>\u300c\u3053\u306e\u51e6\u7406\u3092\u30eb\u30fc\u30d7\u306e\u4e2d\u3067\u4f55\u5ea6\u3082\u547c\u3073\u51fa\u3055\u306a\u3044\u304b\u300d<\/strong>\u3082\u610f\u8b58\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u6700\u7d42\u884c\u53d6\u5f97\u81ea\u4f53\u306f\u8efd\u3044\u51e6\u7406\u3067\u3082\u3001\u30eb\u30fc\u30d7\u306e\u5185\u5074\u3067\u6bce\u56de\u547c\u3073\u51fa\u3059\u3068\u3001\u4ef6\u6570\u306b\u6bd4\u4f8b\u3057\u3066\u8ca0\u8377\u304c\u7a4d\u307f\u4e0a\u304c\u3063\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\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;\">\u6700\u7d42\u884c\u53d6\u5f97\u306f\u30eb\u30fc\u30d7\u306e\u5916\u30671\u56de\u3060\u3051<\/strong>\n  <\/div>\n  <p style=\"margin:0;font-size:15px;line-height:1.8;color:#333;\">\u524d\u7ae0\u3067\u7d39\u4ecb\u3057\u305fReDim Preserve\u3068\u540c\u3058\u8003\u3048\u65b9\u3067\u3059\u304c\u3001\u6700\u7d42\u884c\u53d6\u5f97\u3082\u30eb\u30fc\u30d7\u306e\u4e2d\u3067\u6bce\u56de\u547c\u3073\u51fa\u3059\u306e\u3067\u306f\u306a\u304f\u3001<strong>\u30eb\u30fc\u30d7\u306b\u5165\u308b\u524d\u306b1\u56de\u3060\u3051\u53d6\u5f97\u3057\u3066\u5909\u6570\u306b\u4fdd\u5b58\u3057\u3066\u304a\u304f<\/strong>\u306e\u304c\u9244\u5247\u3067\u3059\u3002\u300c\u4eca\u4f55\u884c\u76ee\u307e\u3067\u6765\u305f\u304b\u300d\u306f\u30eb\u30fc\u30d7\u5185\u306e\u30ab\u30a6\u30f3\u30bf\u5909\u6570\u3067\u7ba1\u7406\u3057\u3001\u6700\u7d42\u884c\u306e\u518d\u53d6\u5f97\u306f\u907f\u3051\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<\/div>\n\n\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=vba-last-row&#038;blog_slug=vba-last-row\" 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=vba-last-row&#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;\">ADD DATA<\/span>\n  <span class=\"section-title\" style=\"display:block;\">\u6700\u7d42\u884c\u306e\u4e0b\u306b\u65b0\u3057\u3044\u30c7\u30fc\u30bf\u3092\u8ffd\u52a0\u3059\u308b\u5b9f\u8df5\u30d1\u30bf\u30fc\u30f3<\/span>\n  <span class=\"section-desc\">\u53d6\u5f97\u3057\u305f\u6700\u7d42\u884c\u756a\u53f7\u3092\u4f7f\u3063\u305f\u5b9f\u52d9\u30b3\u30fc\u30c9<\/span>\n<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u6700\u7d42\u884c\u3092\u53d6\u5f97\u3059\u308b\u6700\u5927\u306e\u76ee\u7684\u306f\u3001<strong>\u300c\u305d\u306e\u3059\u3050\u4e0b\u306b\u65b0\u3057\u3044\u30c7\u30fc\u30bf\u3092\u8ffd\u52a0\u3059\u308b\u300d<\/strong>\u3053\u3068\u3067\u3059\u3002\u5b9f\u52d9\u3067\u305d\u306e\u307e\u307e\u4f7f\u3048\u308b\u57fa\u672c\u30d1\u30bf\u30fc\u30f3\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre style=\"background:#1a1a1a;color:#e5e5e5;border-radius:8px;padding:18px 20px;overflow-x:auto;font-size:14px;line-height:1.7;margin:16px 0;\"><code>Sub AddNewRecord()\n    Dim lastRow As Long\n    lastRow = Cells(Rows.Count, 1).End(xlUp).Row\n\n    ' \u6700\u7d42\u884c\u306e1\u3064\u4e0b\u306b\u65b0\u3057\u3044\u30c7\u30fc\u30bf\u3092\u8ffd\u52a0\n    Cells(lastRow + 1, 1).Value = \"\u65b0\u5546\u54c1A\"\n    Cells(lastRow + 1, 2).Value = 1500\n    Cells(lastRow + 1, 3).Value = Date\nEnd Sub<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">7-1. \u898b\u51fa\u3057\u884c\u3057\u304b\u306a\u3044\uff08\u30c7\u30fc\u30bf\u304c0\u4ef6\u306e\uff09\u5834\u5408\u3078\u306e\u5bfe\u5fdc<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u51e6\u7406\u306b\u306f\u3001\u5b9f\u306f1\u3064\u843d\u3068\u3057\u7a74\u304c\u3042\u308a\u307e\u3059\u3002<strong>\u30c7\u30fc\u30bf\u304c1\u4ef6\u3082\u5165\u3063\u3066\u3044\u306a\u3044\uff08\u898b\u51fa\u3057\u884c\u3060\u3051\u306e\uff09\u30b7\u30fc\u30c8\u3067\u5b9f\u884c\u3059\u308b\u3068\u3001End(xlUp)\u306f\u898b\u51fa\u3057\u884c\u81ea\u4f53\u3092\u300c\u6700\u7d42\u884c\u300d\u3068\u3057\u3066\u8fd4\u3057\u3066\u3057\u307e\u3044<\/strong>\u3001\u65b0\u3057\u3044\u30c7\u30fc\u30bf\u304c\u898b\u51fa\u3057\u884c\u306b\u4e0a\u66f8\u304d\u3055\u308c\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<pre style=\"background:#1a1a1a;color:#e5e5e5;border-radius:8px;padding:18px 20px;overflow-x:auto;font-size:14px;line-height:1.7;margin:16px 0;\"><code>Sub AddNewRecordSafe()\n    Dim lastRow As Long\n    lastRow = Cells(Rows.Count, 1).End(xlUp).Row\n\n    ' \u30c7\u30fc\u30bf\u304c0\u4ef6\uff08\u898b\u51fa\u3057\u884c\u306e\u307f\uff09\u306e\u5834\u5408\u3092\u8003\u616e\n    If Cells(2, 1).Value = \"\" Then\n        lastRow = 1  ' \u898b\u51fa\u3057\u884c\u306e\u6b21\uff082\u884c\u76ee\uff09\u304b\u3089\u66f8\u304d\u8fbc\u3080\u57fa\u6e96\u306b\u3059\u308b\n    End If\n\n    Cells(lastRow + 1, 1).Value = \"\u65b0\u5546\u54c1A\"\n    Cells(lastRow + 1, 2).Value = 1500\n    Cells(lastRow + 1, 3).Value = Date\nEnd Sub<\/code><\/pre>\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;\">\u300c\u30c7\u30fc\u30bf0\u4ef6\u300d\u306e\u30b1\u30fc\u30b9\u3092\u60f3\u5b9a\u3057\u306a\u3044\u3068\u672c\u756a\u3067\u4e8b\u6545\u308b<\/strong>\n  <\/div>\n  <p style=\"margin:0;font-size:15px;line-height:1.8;color:#333;\">\u30c6\u30b9\u30c8\u6bb5\u968e\u3067\u306f\u5e38\u306b\u30b5\u30f3\u30d7\u30eb\u30c7\u30fc\u30bf\u304c\u6570\u4ef6\u5165\u3063\u305f\u72b6\u614b\u3067\u30de\u30af\u30ed\u3092\u52d5\u304b\u3059\u305f\u3081\u3001\u3053\u306e\u300c\u30c7\u30fc\u30bf0\u4ef6\u300d\u306e\u30b1\u30fc\u30b9\u306f\u898b\u843d\u3068\u3055\u308c\u304c\u3061\u3067\u3059\u3002\u3057\u304b\u3057\u672c\u756a\u904b\u7528\u3067\u306f\u3001\u6708\u521d\u306e\u30ea\u30bb\u30c3\u30c8\u76f4\u5f8c\u306a\u3069\u300c\u898b\u51fa\u3057\u884c\u3057\u304b\u306a\u3044\u300d\u72b6\u614b\u304c\u5fc5\u305a\u767a\u751f\u3057\u307e\u3059\u3002\u4e8b\u524d\u306b\u6761\u4ef6\u5206\u5c90\u3067\u5bfe\u5fdc\u3057\u3066\u304a\u304f\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002<\/p>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">7-2. \u8907\u6570\u4ef6\u306e\u30c7\u30fc\u30bf\u3092\u307e\u3068\u3081\u3066\u8ffd\u52a0\u3059\u308b\u5834\u5408<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u524d\u7ae0\u3067\u7d39\u4ecb\u3057\u305f\u52d5\u7684\u914d\u5217\u3068\u7d44\u307f\u5408\u308f\u305b\u308b\u3068\u3001\u8907\u6570\u4ef6\u306e\u30c7\u30fc\u30bf\u3092\u4e00\u62ec\u3067\u8ffd\u52a0\u3059\u308b\u51e6\u7406\u3082\u52b9\u7387\u7684\u306b\u66f8\u3051\u307e\u3059\u3002<\/p>\n\n\n\n<pre style=\"background:#1a1a1a;color:#e5e5e5;border-radius:8px;padding:18px 20px;overflow-x:auto;font-size:14px;line-height:1.7;margin:16px 0;\"><code>Sub AddMultipleRecords(newData() As Variant)\n    Dim lastRow As Long\n    lastRow = Cells(Rows.Count, 1).End(xlUp).Row\n\n    Dim i As Long\n    For i = LBound(newData) To UBound(newData)\n        Cells(lastRow + 1 + i, 1).Value = newData(i)\n    Next i\nEnd Sub<\/code><\/pre>\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;\">\u5927\u91cf\u30c7\u30fc\u30bf\u306e\u8ffd\u52a0\u306f\u30bb\u30eb\u66f8\u304d\u8fbc\u307f\u56de\u6570\u3092\u6e1b\u3089\u3059\u306e\u304c\u9244\u5247<\/strong>\n  <\/div>\n  <p style=\"margin:0;font-size:15px;line-height:1.8;color:#333;\">\u6570\u767e\u4ef6\u4ee5\u4e0a\u306e\u30c7\u30fc\u30bf\u3092\u8ffd\u52a0\u3059\u308b\u5834\u5408\u30011\u30bb\u30eb\u305a\u3064Cells().Value\u3067\u66f8\u304d\u8fbc\u3080\u3088\u308a\u3001\u914d\u5217\u306b\u307e\u3068\u3081\u3066Range().Value = \u914d\u5217\u3068\u3044\u3046\u5f62\u3067\u4e00\u62ec\u66f8\u304d\u8fbc\u307f\u3059\u308b\u65b9\u304c\u3001\u306f\u308b\u304b\u306b\u9ad8\u901f\u3067\u3059\u3002\u8ffd\u52a0\u4ef6\u6570\u304c\u591a\u3044\u30de\u30af\u30ed\u307b\u3069\u3001\u3053\u306e\u4e00\u62ec\u66f8\u304d\u8fbc\u307f\u306e\u6709\u7121\u3067\u4f53\u611f\u901f\u5ea6\u304c\u5927\u304d\u304f\u5909\u308f\u308a\u307e\u3059\u3002<\/p>\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\u6700\u7d42\u884c\u306e\u4e0b\u306b\u8ffd\u52a0\u3059\u308b\u300d\u3068\u3044\u3046\u30b7\u30f3\u30d7\u30eb\u306a\u51e6\u7406\u3067\u3059\u304c\u3001\u30c7\u30fc\u30bf0\u4ef6\u306e\u30b1\u30fc\u30b9\u3092\u898b\u843d\u3068\u3057\u305f\u307e\u307e\u7d0d\u54c1\u3057\u3066\u3001\u5f8c\u304b\u3089\u300c\u898b\u51fa\u3057\u304c\u6d88\u3048\u305f\u300d\u3068\u9023\u7d61\u304c\u6765\u305f\u7d4c\u9a13\u304c\u3042\u308a\u307e\u3059\u3002\u5730\u5473\u306a\u5206\u5c90\u307b\u3069\u4e01\u5be7\u306b\u30c6\u30b9\u30c8\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3068\u75db\u611f\u3057\u307e\u3057\u305f\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=vba-last-row&#038;blog_slug=vba-last-row\" 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=vba-last-row&#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;\">COMMON MISTAKES<\/span>\n  <span class=\"section-title\" style=\"display:block;\">\u5b9f\u52d9\u3067\u3088\u304f\u3042\u308b\u9593\u9055\u3044\u30d1\u30bf\u30fc\u30f3<\/span>\n  <span class=\"section-desc\">\u3053\u3053\u307e\u3067\u306e\u5185\u5bb9\u3092\u300c\u4e8b\u6545\u306e\u30d1\u30bf\u30fc\u30f3\u96c6\u300d\u3068\u3057\u3066\u7dcf\u6574\u7406<\/span>\n<\/h2>\n\n\n\n<table>\n<thead><tr><th>\u9593\u9055\u3044\u30d1\u30bf\u30fc\u30f3<\/th><th>\u75c7\u72b6<\/th><th>\u5bfe\u7b56<\/th><\/tr><\/thead>\n<tbody>\n<tr><td>End(xlDown)\u30921\u884c\u76ee\u304b\u3089\u4f7f\u3046<\/td><td>\u8868\u306e\u9014\u4e2d\u306e\u7a7a\u767d\u30bb\u30eb\u3067\u691c\u7d22\u304c\u6b62\u307e\u308b<\/td><td>End(xlUp)\u3067\u30b7\u30fc\u30c8\u6700\u4e0b\u90e8\u304b\u3089\u4e0a\u3078\u63a2\u3059\u65b9\u6cd5\u306b\u5909\u66f4\u3059\u308b<\/td><\/tr>\n<tr><td>SpecialCells\/UsedRange\u3092\u904e\u4fe1\u3059\u308b<\/td><td>\u904e\u53bb\u306e\u66f8\u5f0f\u304c\u6b8b\u308a\u3001\u5b9f\u30c7\u30fc\u30bf\u3088\u308a\u5e83\u3044\u7bc4\u56f2\u3092\u8aa4\u691c\u51fa\u3059\u308b<\/td><td>End(xlUp)\u3084\u30c6\u30fc\u30d6\u30eb\u6a5f\u80fd\u306a\u3069\u3001\u3088\u308a\u5b89\u5b9a\u3057\u305f\u65b9\u6cd5\u306b\u5207\u308a\u66ff\u3048\u308b<\/td><\/tr>\n<tr><td>CurrentRegion\u306e\u8868\u5185\u306b\u7a7a\u767d\u884c\u304c\u3042\u308b<\/td><td>\u8868\u304c\u610f\u56f3\u305b\u305a\u5206\u65ad\u3055\u308c\u3001\u4e00\u90e8\u30c7\u30fc\u30bf\u3057\u304b\u53d6\u5f97\u3067\u304d\u306a\u3044<\/td><td>\u7a7a\u767d\u884c\u3092\u4f5c\u3089\u306a\u3044\u904b\u7528\u306b\u3059\u308b\u3001\u307e\u305f\u306fEnd(xlUp)\u3067\u4ee3\u66ff\u3059\u308b<\/td><\/tr>\n<tr><td>\u30c7\u30fc\u30bf0\u4ef6\u306e\u30b1\u30fc\u30b9\u3092\u8003\u616e\u3057\u306a\u3044<\/td><td>\u898b\u51fa\u3057\u884c\u306b\u65b0\u3057\u3044\u30c7\u30fc\u30bf\u304c\u4e0a\u66f8\u304d\u3055\u308c\u308b<\/td><td>\u898b\u51fa\u3057\u884c\u306e\u6b21\u306e\u30bb\u30eb\u304c\u7a7a\u304b\u3069\u3046\u304b\u3092\u4e8b\u524d\u306b\u30c1\u30a7\u30c3\u30af\u3059\u308b<\/td><\/tr>\n<tr><td>\u5927\u91cf\u30c7\u30fc\u30bf\u30921\u4ef6\u305a\u3064Cells().Value\u3067\u8ffd\u52a0\u3059\u308b<\/td><td>\u6570\u767e\u4ef6\u898f\u6a21\u3067\u51e6\u7406\u304c\u975e\u5e38\u306b\u9045\u304f\u306a\u308b<\/td><td>\u914d\u5217\u306b\u307e\u3068\u3081\u3066\u304b\u3089\u4e00\u62ec\u3067Range().Value\u306b\u66f8\u304d\u8fbc\u3080<\/td><\/tr>\n<\/tbody>\n<\/table>\n\n\n\n<h3 class=\"wp-block-heading\">8-1. \u30b3\u30fc\u30c9\u30ec\u30d3\u30e5\u30fc\u3067\u78ba\u8a8d\u3059\u3079\u304d\u30c1\u30a7\u30c3\u30af\u30dd\u30a4\u30f3\u30c8<\/h3>\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>\u6700\u7d42\u884c\u306e\u53d6\u5f97\u306bEnd(xlDown)\u3092\u4f7f\u3063\u3066\u3044\u306a\u3044\u304b\uff08End(xlUp)\u3092\u4f7f\u3063\u3066\u3044\u308b\u304b\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>SpecialCells\u30fbUsedRange\u3092\u4f7f\u3046\u5834\u5408\u3001\u5e7d\u970a\u30bb\u30eb\u554f\u984c\u3092\u8003\u616e\u3057\u3066\u3044\u308b\u304b<\/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>\u30c7\u30fc\u30bf0\u4ef6\uff08\u898b\u51fa\u3057\u884c\u306e\u307f\uff09\u306e\u30b1\u30fc\u30b9\u3067\u3082\u6b63\u3057\u304f\u52d5\u4f5c\u3059\u308b\u304b<\/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>\u5927\u91cf\u30c7\u30fc\u30bf\u306e\u8ffd\u52a0\u51e6\u7406\u304c\u30011\u4ef6\u305a\u3064\u306e\u30eb\u30fc\u30d7\u306b\u306a\u3063\u3066\u3044\u306a\u3044\u304b<\/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>\u672c\u756a\u76f8\u5f53\u306e\u30c7\u30fc\u30bf\u4ef6\u6570\u30fb\u7a7a\u767d\u30d1\u30bf\u30fc\u30f3\u3067\u30c6\u30b9\u30c8\u3057\u3066\u3044\u308b\u304b<\/span><\/div>\n\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u6700\u7d42\u884c\u53d6\u5f97\u306e\u30d0\u30b0\u306f\u3001<strong>\u958b\u767a\u6642\u306e\u30c6\u30b9\u30c8\u30c7\u30fc\u30bf\u3067\u306f\u518d\u73fe\u3057\u306b\u304f\u304f\u3001\u672c\u756a\u30c7\u30fc\u30bf\u3067\u521d\u3081\u3066\u8868\u9762\u5316\u3059\u308b<\/strong>\u3068\u3044\u3046\u5171\u901a\u70b9\u304c\u3042\u308a\u307e\u3059\u3002\u7a7a\u767d\u30bb\u30eb\u306e\u30d1\u30bf\u30fc\u30f3\u3001\u30c7\u30fc\u30bf0\u4ef6\u306e\u30d1\u30bf\u30fc\u30f3\u3092\u610f\u8b58\u7684\u306b\u30c6\u30b9\u30c8\u30b1\u30fc\u30b9\u3078\u52a0\u3048\u3066\u304a\u304f\u3053\u3068\u304c\u3001\u4e8b\u6545\u3092\u672a\u7136\u306b\u9632\u3050\u6700\u3082\u78ba\u5b9f\u306a\u65b9\u6cd5\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\">\u3053\u3046\u3057\u305f\u300c\u5883\u754c\u5024\u300d\u306e\u30c6\u30b9\u30c8\uff08\u30c7\u30fc\u30bf\u304c0\u4ef6\u30011\u4ef6\u3060\u3051\u3001\u9014\u4e2d\u306b\u7a7a\u767d\u304c\u3042\u308b\u7b49\uff09\u306f\u5f8c\u56de\u3057\u306b\u3055\u308c\u304c\u3061\u3067\u3059\u304c\u3001\u5b9f\u52d9\u30c8\u30e9\u30d6\u30eb\u306e\u5927\u534a\u306f\u3053\u3053\u306b\u6f5c\u3093\u3067\u3044\u307e\u3059\u3002\u30ec\u30d3\u30e5\u30fc\u306e\u89b3\u70b9\u3068\u3057\u3066\u660e\u6587\u5316\u3057\u3066\u304a\u304f\u3068\u5b89\u5fc3\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=vba-last-row&#038;blog_slug=vba-last-row\" 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=vba-last-row&#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;\">AI CODING<\/span>\n  <span class=\"section-title\" style=\"display:block;\">\u3010\u72ec\u81ea\u3011\u3053\u306e\u624b\u306e\u30eb\u30fc\u30c6\u30a3\u30f3\u51e6\u7406\u3092AI\u306b\u4efb\u305b\u308b<\/span>\n  <span class=\"section-desc\">\u300c\u7a7a\u767d\u30bb\u30eb\u306e\u7f60\u300d\u306e\u3088\u3046\u306a\u843d\u3068\u3057\u7a74\u306e\u56de\u907f\u3053\u305dAI\u304c\u5f97\u610f\u306a\u9818\u57df<\/span>\n<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u3053\u307e\u3067\u7d39\u4ecb\u3057\u3066\u304d\u305f\u6700\u7d42\u884c\u53d6\u5f97\u306f\u3001<strong>\u300c\u77e5\u3063\u3066\u3044\u308c\u3070\u4e00\u77ac\u3060\u304c\u3001\u77e5\u3089\u306a\u3044\u3068\u4f55\u6642\u9593\u3082\u30cf\u30de\u308b\u300d<\/strong>\u5178\u578b\u7684\u306a\u51e6\u7406\u3067\u3059\u3002End(xlDown)\u306e\u7f60\u3001SpecialCells\u306e\u5e7d\u970a\u30bb\u30eb\u554f\u984c\u3001CurrentRegion\u306e\u5206\u65ad\u2014\u2014\u3053\u3046\u3057\u305f<strong>\u843d\u3068\u3057\u7a74\u3092\u8e0f\u307e\u305a\u306b\u6b63\u3057\u3044\u30b3\u30fc\u30c9\u3092\u66f8\u304f\u5224\u65ad<\/strong>\u3053\u305d\u3001Claude Code\u306e\u3088\u3046\u306aAI\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u304c\u529b\u3092\u767a\u63ee\u3057\u3084\u3059\u3044\u9818\u57df\u3067\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#f8f9fa;border-left:4px solid #6b7280;border-radius:0 8px 8px 0;padding:16px 20px;margin:20px 0;\">\n  <p style=\"margin:0 0 4px;font-size:13px;font-weight:700;color:#6b7280;letter-spacing:1px;\">&#128218; \u7528\u8a9e\u89e3\u8aac<\/p>\n  <p style=\"margin:0;font-size:15px;line-height:1.7;\"><strong>Claude Code<\/strong>\uff1aAnthropic\u304c\u63d0\u4f9b\u3059\u308bAI\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u3002\u300cA\u5217\u306e\u6700\u7d42\u884c\u3092\u53d6\u5f97\u3057\u3066\u3001\u305d\u306e\u4e0b\u306b\u65b0\u3057\u3044\u30c7\u30fc\u30bf\u3092\u8ffd\u52a0\u3059\u308b\u30de\u30af\u30ed\u3092\u4f5c\u3063\u3066\u300d\u3068\u3044\u3063\u305f\u81ea\u7136\u306a\u8a00\u8449\u306e\u6307\u793a\u3060\u3051\u3067\u3001\u7a7a\u767d\u30bb\u30eb\u3084\u30c7\u30fc\u30bf0\u4ef6\u306e\u30b1\u30fc\u30b9\u307e\u3067\u8003\u616e\u3057\u305fVBA\u30b3\u30fc\u30c9\u3092\u751f\u6210\u3057\u3066\u304f\u308c\u308b\u3002<\/p>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u5f0a\u793e\uff08\u682a\u5f0f\u4f1a\u793eGENAI\uff09\u3067\u306f\u3001Excel\u3092\u4f7f\u3063\u305f\u65e5\u3005\u306e\u96c6\u8a08\u30fb\u30c7\u30fc\u30bf\u8ffd\u52a0\u51e6\u7406\u306b\u3082Claude Code\u3092\u6d3b\u7528\u3057\u3066\u3044\u307e\u3059\u3002\u300c\u3053\u306e\u30b7\u30fc\u30c8\u306e\u6700\u7d42\u884c\u306e\u4e0b\u306b\u3001\u4eca\u65e5\u306e\u58f2\u4e0a\u30c7\u30fc\u30bf\u3092\u8ffd\u52a0\u3057\u3066\u300d\u3068\u3044\u3063\u305f\u611f\u899a\u7684\u306a\u6307\u793a\u3067\u3082\u3001End(xlUp)\u3084\u898b\u51fa\u3057\u884c\u306e\u307f\u306e\u30b1\u30fc\u30b9\u3092\u8e0f\u307e\u3048\u305f\u5b89\u5168\u306a\u30b3\u30fc\u30c9\u3092\u63d0\u6848\u3057\u3066\u304f\u308c\u308b\u305f\u3081\u3001\u843d\u3068\u3057\u7a74\u3092\u8e0f\u307e\u305a\u306b\u4e00\u767a\u3067\u52d5\u304f\u30de\u30af\u30ed\u306b\u305f\u3069\u308a\u7740\u304d\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">9-1. \u975e\u30a8\u30f3\u30b8\u30cb\u30a2\u304cVBA\u306e\u843d\u3068\u3057\u7a74\u3092\u56de\u907f\u3059\u308b\u610f\u5473<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u300cVBA\u306e5\u3064\u306e\u65b9\u6cd5\u306e\u9055\u3044\u306a\u3093\u3066\u899a\u3048\u3089\u308c\u306a\u3044\u300d\u3068\u3044\u3046\u7d4c\u55b6\u8005\u30fb\u4e8b\u52d9\u62c5\u5f53\u306e\u65b9\u3082\u591a\u3044\u306f\u305a\u3067\u3059\u3002\u3057\u304b\u3057\u3001<strong>Excel\u3067\u306e\u30c7\u30fc\u30bf\u8ffd\u52a0\u30fb\u96c6\u8a08\u51e6\u7406<\/strong>\u306f\u3001\u591a\u304f\u306e\u4f1a\u793e\u3067\u65e5\u5e38\u7684\u306b\u767a\u751f\u3059\u308b\u696d\u52d9\u3067\u3059\u3002\u300c\u3053\u306e\u8868\u306b\u65b0\u3057\u3044\u30c7\u30fc\u30bf\u3092\u8db3\u3057\u305f\u3044\u300d\u300c\u7a7a\u767d\u30bb\u30eb\u304c\u3042\u3063\u3066\u3082\u6b63\u3057\u304f\u52d5\u304f\u3088\u3046\u306b\u3057\u305f\u3044\u300d\u3068\u3044\u3063\u305f\u8981\u671b\u3092\u30015\u3064\u306e\u65b9\u6cd5\u306e\u9055\u3044\u3092\u77e5\u3089\u306a\u3044\u307e\u307eClaude Code\u306b\u76f4\u63a5\u4f1d\u3048\u3066\u5b9f\u88c5\u3055\u305b\u3089\u308c\u308b\u306e\u306f\u3001\u975e\u30a8\u30f3\u30b8\u30cb\u30a2\u306b\u3068\u3063\u3066\u5927\u304d\u306a\u4fa1\u5024\u3067\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>\u300c\u8868\u306e\u6700\u7d42\u884c\u3092\u6b63\u3057\u304f\u53d6\u5f97\u3057\u3066\u3001\u4e0b\u306b\u8ffd\u52a0\u3057\u3066\u300d\u3068\u81ea\u7136\u306a\u8a00\u8449\u3067\u4f9d\u983c\u3067\u304d\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>End(xlUp)\u30fbSpecialCells\u30fbCurrentRegion\u306e\u9055\u3044\u3092\u77e5\u3089\u306a\u304f\u3066\u3082\u3001\u610f\u56f3\u306b\u5408\u3063\u305f\u65b9\u6cd5\u3092\u9078\u3093\u3067\u3082\u3089\u3048\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>\u30c7\u30fc\u30bf0\u4ef6\u6642\u306e\u5206\u5c90\u306a\u3069\u3001\u898b\u843d\u3068\u3057\u304c\u3061\u306a\u5883\u754c\u5024\u307e\u3067\u8003\u616e\u3057\u305f\u30b3\u30fc\u30c9\u3092\u63d0\u6848\u3057\u3066\u3082\u3089\u3048\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>\u65e2\u5b58\u306e\u4e0d\u5b89\u5b9a\u306a\u30de\u30af\u30ed\u306b\u5bfe\u3057\u3066\u300c\u306a\u305c\u6642\u3005\u5931\u6557\u3059\u308b\u306e\u304b\u300d\u3092\u8abf\u67fb\u30fb\u4fee\u6b63\u3059\u308b\u4f9d\u983c\u3082\u53ef\u80fd<\/span><\/div>\n\n<\/div>\n\n\n\n<div class=\"g-flow-row\" style=\"margin:24px 0;\">\n  <div class=\"g-flow-item\"><strong>\u300c\u8868\u306b\u3053\u3046<br>\u8ffd\u52a0\u3057\u305f\u3044\u300d\u3092\u4f1d\u3048\u308b<\/strong><br><span style=\"font-size:12px;\">\u611f\u899a\u7684\u306a\u8a00\u8449\u3067OK<\/span><\/div>\n  <div class=\"g-flow-arrow\">&#8594;<\/div>\n  <div class=\"g-flow-item\"><strong>Claude Code\u304c<br>\u5b89\u5168\u306a\u65b9\u6cd5\u3092\u9078\u5b9a<\/strong><br><span style=\"font-size:12px;\">\u843d\u3068\u3057\u7a74\u3092<br>\u8e0f\u307e\u3048\u3066\u5224\u65ad<\/span><\/div>\n  <div class=\"g-flow-arrow\">&#8594;<\/div>\n  <div class=\"g-flow-item\"><strong>Excel\u3067<br>\u52d5\u4f5c\u78ba\u8a8d<\/strong><br><span style=\"font-size:12px;\">\u7a7a\u767d\u30d1\u30bf\u30fc\u30f3\u3082<br>\u30c6\u30b9\u30c8<\/span><\/div>\n  <div class=\"g-flow-arrow\">&#8594;<\/div>\n  <div class=\"g-flow-item\"><strong>\u5fae\u8abf\u6574\u3092<br>\u7e70\u308a\u8fd4\u3057\u3066\u5b8c\u6210<\/strong><br><span style=\"font-size:12px;\">\u8a66\u884c\u932f\u8aa4\u306e<br>\u6642\u9593\u3092\u5927\u5e45\u77ed\u7e2e<\/span><\/div>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u3082\u3061\u308d\u3093\u3001\u696d\u52d9\u30c7\u30fc\u30bf\u306e\u6b63\u78ba\u6027\u306e\u6700\u7d42\u78ba\u8a8d\u3084\u3001\u6a5f\u5bc6\u6027\u306e\u9ad8\u3044\u30c7\u30fc\u30bf\u306e\u53d6\u308a\u6271\u3044\u306f\u4eba\u9593\u304c\u5224\u65ad\u3059\u3079\u304d\u9818\u57df\u3067\u3059\u3002Claude Code\u306f\u3042\u304f\u307e\u3067<strong>\u300c\u843d\u3068\u3057\u7a74\u3092\u8e0f\u307e\u305a\u306b\u30b3\u30fc\u30c9\u3092\u66f8\u304f\u305f\u3081\u306e\u30a2\u30b7\u30b9\u30bf\u30f3\u30c8\u300d<\/strong>\u3068\u3044\u3046\u4f4d\u7f6e\u3065\u3051\u3067\u3042\u308a\u3001\u6700\u7d42\u7684\u306a\u696d\u52d9\u5224\u65ad\u3092\u4ee3\u66ff\u3059\u308b\u3082\u306e\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u5f0a\u793e\u3067\u306fVBA\u30fb\u30c7\u30fc\u30bf\u51e6\u7406\u4ee5\u5916\u306b\u3082\u55b6\u696d\u30fb\u5e83\u544a\u30fb\u7d4c\u7406\u30fb\u79d8\u66f8\u696d\u52d9\u307e\u3067Claude Code\u3092\u7d44\u307f\u8fbc\u3093\u3067\u304a\u308a\u3001\u6708\u984d\u7d0430,000\u5186\uff08Max 20x\u30d7\u30e9\u30f3\uff09\u306e\u6295\u8cc7\u3067\u3001\u3053\u3046\u3057\u305f\u5b9a\u578b\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u4f5c\u696d\u307e\u3067\u542b\u3081\u3066\u696d\u52d9\u3092\u5206\u62c5\u3067\u304d\u3066\u3044\u308b\u808c\u611f\u304c\u3042\u308a\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\">End(xlDown)\u306e\u7f60\u306b\u30cf\u30de\u3063\u3066\u6570\u6642\u9593\u30c7\u30d0\u30c3\u30b0\u3057\u305f\u7d4c\u9a13\u304c\u3042\u308b\u8eab\u3068\u3057\u3066\u306f\u3001\u6700\u521d\u304b\u3089Claude Code\u306b\u6b63\u3057\u3044\u65b9\u6cd5\u3092\u9078\u3070\u305b\u3066\u304a\u3051\u3070\u3001\u3042\u306e\u6642\u9593\u306f\u4e38\u3054\u3068\u7bc0\u7d04\u3067\u304d\u305f\u306f\u305a\u3060\u3068\u601d\u3063\u3066\u3044\u307e\u3059\u3002<\/div>\n<\/div>\n\n\n\n<div class=\"balloon-wrap is-right\">\n  <div class=\"balloon-icon\">\n    <img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/04\/yamazaki-avatar.png\" alt=\"AI\u9b3c\u7ba1\u7406\u5c71\u5d0e\">\n    <span class=\"balloon-name\">AI\u9b3c\u7ba1\u7406\u5c71\u5d0e<\/span>\n  <\/div>\n  <div class=\"balloon-body\">\u307e\u305a\u306f\u81ea\u793e\u306e\u3088\u304f\u4f7f\u3046\u96c6\u8a08\u30de\u30af\u30ed1\u672c\u3060\u3051\u3001Claude Code\u306b\u300c\u7a7a\u767d\u30bb\u30eb\u304c\u3042\u3063\u3066\u3082\u6b63\u3057\u304f\u52d5\u304f\u3088\u3046\u306b\u3057\u3066\u300d\u3068\u983c\u3093\u3067\u307f\u308b\u3053\u3068\u3092\u304a\u52e7\u3081\u3057\u307e\u3059\u30025\u3064\u306e\u65b9\u6cd5\u306e\u9055\u3044\u3092\u77e5\u3089\u306a\u304f\u3066\u3082\u3069\u3053\u307e\u3067\u5bfe\u5fdc\u3067\u304d\u308b\u304b\u3001\u4f53\u611f\u3057\u3066\u307f\u308b\u306e\u304c\u4e00\u756a\u65e9\u3044\u7406\u89e3\u306e\u4ed5\u65b9\u3067\u3059\u3002<\/div>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">VBA\u30fbExcel\u696d\u52d9\u306e\u52b9\u7387\u5316\u3082\u3001Claude Code\u306e\u5168\u793e\u6d3b\u7528\u3082\u3001AI\u9b3c\u7ba1\u7406\u304c\u4f34\u8d70\u3057\u307e\u3059<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u300cExcel\u306e\u96c6\u8a08\u30fb\u30c7\u30fc\u30bf\u8ffd\u52a0\u4f5c\u696d\u3092\u5b89\u5168\u306b\u81ea\u52d5\u5316\u3057\u305f\u3044\u300d\u300c\u958b\u767a\u4ee5\u5916\u306e\u696d\u52d9\u306b\u3082AI\u3092\u6d3b\u304b\u3057\u305f\u3044\u300d\u3068\u3044\u3046\u7d4c\u55b6\u8005\u30fb\u4e8b\u52d9\u62c5\u5f53\u306e\u65b9\u306b\u5411\u3051\u3066\u3001Claude Code\u306e\u5c0e\u5165\u8a2d\u8a08\u3092\u30b5\u30dd\u30fc\u30c8\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\">\u307e\u305a\u306f\u7121\u6599\u76f8\u8ac7\u3067\u3001\u8cb4\u793e\u306eExcel\u696d\u52d9\u30fb\u30c7\u30fc\u30bf\u51e6\u7406\u306e\u3069\u3053\u306bAI\u6d3b\u7528\u306e\u4f59\u5730\u304c\u3042\u308b\u304b\u3001\u4e00\u7dd2\u306b\u6574\u7406\u3055\u305b\u3066\u304f\u3060\u3055\u3044\u3002<\/div>\n<\/div>\n\n\n\n<div style=\"background:#fff;border:2px solid #eee;border-radius:16px;padding:32px 20px;margin:48px 0 16px;\">\n  <p style=\"text-align:center;font-size:13px;font-weight:700;color:#dc2626;letter-spacing:2px;margin:0 0 12px;\">NEXT STEP<\/p>\n  <p style=\"text-align:center;font-size:22px;font-weight:800;line-height:1.5;color:#1a1a1a;margin:0 0 24px;\">\u3053\u306e\u8a18\u4e8b\u306e\u5185\u5bb9\u3092\u3001\u3042\u306a\u305f\u306e\u30d3\u30b8\u30cd\u30b9\u3067<br>\u5b9f\u8df5\u3057\u3066\u307f\u307e\u305b\u3093\u304b\uff1f<\/p>\n  <div style=\"display:flex;gap:16px;flex-wrap:wrap;justify-content:center;\">\n    <div style=\"flex:1 1 300px;max-width:560px;background:#fafafa;border:1px solid #eee;border-radius:12px;overflow:hidden;display:flex;flex-direction:column;\">\n      <img src=\"https:\/\/genai-ai.co.jp\/img\/flagship-onikanri.png\" alt=\"AI\u9b3c\u7ba1\u7406 \u2014 Claude Code\u5c0e\u5165\u652f\u63f4\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0\" loading=\"lazy\" decoding=\"async\" style=\"width:100%;height:auto;aspect-ratio:16\/9;object-fit:cover;display:block;\">\n      <div style=\"padding:20px 20px 24px;display:flex;flex-direction:column;flex:1;\">\n        <p style=\"font-size:13px;color:#dc2626;font-weight:700;margin:0 0 8px;\">AI\u6d3b\u7528\u3092\u81ea\u793e\u3067\u56de\u305b\u308b\u3088\u3046\u306b\u306a\u308a\u305f\u3044\u65b9\u3078<\/p>\n        <p style=\"font-size:20px;font-weight:800;color:#1a1a1a;margin:0 0 12px;\">AI\u9b3c\u7ba1\u7406<\/p>\n        <p style=\"font-size:14px;color:#555;margin:0 0 20px;line-height:1.7;\">Claude Code\u30fbCowork\u5c0e\u5165\u652f\u63f4\u304b\u3089\u696d\u52d9\u8a2d\u8a08\u30fb\u793e\u5185\u6d78\u900f\u307e\u3067\u5b9f\u8df5\u30d9\u30fc\u30b9\u3067\u4f34\u8d70\u3002\u300c\u81ea\u793e\u3067\u56de\u305b\u308b\u7d44\u7e54\u300d\u309290\u65e5\u3067\u4f5c\u308b\u7d4c\u55b6\u8005\u5411\u3051\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0\u3002<\/p>\n        <div style=\"text-align:center;margin-top:auto;\">\n          <a href=\"https:\/\/aikanri.genai-ai.co.jp\/?utm_source=blog&utm_medium=article&utm_campaign=vba-last-row&utm_content=next-step-cta\" target=\"_blank\" rel=\"noopener\" style=\"display:inline-block;background:#dc2626;color:#fff;font-weight:700;font-size:15px;padding:14px 32px;border-radius:30px;text-decoration:none;\">AI\u9b3c\u7ba1\u7406\u3092\u8a73\u3057\u304f\u898b\u308b \u2192<\/a>\n        <\/div>\n      <\/div>\n    <\/div>\n    <div style=\"flex:1 1 300px;max-width:560px;background:#fafafa;border:1px solid #eee;border-radius:12px;overflow:hidden;display:flex;flex-direction:column;\">\n      <img src=\"https:\/\/genai-ai.co.jp\/img\/flagship-aibpo.png\" alt=\"AIBPO by AI\u9b3c\u7ba1\u7406 \u2014 \u5b9a\u578b\u696d\u52d9\u306e\u4e38\u3054\u3068\u4ee3\u884c\" loading=\"lazy\" decoding=\"async\" style=\"width:100%;height:auto;aspect-ratio:16\/9;object-fit:cover;display:block;\">\n      <div style=\"padding:20px 20px 24px;display:flex;flex-direction:column;flex:1;\">\n        <p style=\"font-size:13px;color:#dc2626;font-weight:700;margin:0 0 8px;\">\u696d\u52d9\u3092\u4e38\u3054\u3068\u4efb\u305b\u305f\u3044\u65b9\u3078<\/p>\n        <p style=\"font-size:20px;font-weight:800;color:#1a1a1a;margin:0 0 12px;\">AIBPO by AI\u9b3c\u7ba1\u7406<\/p>\n        <p style=\"font-size:14px;color:#555;margin:0 0 20px;line-height:1.7;\">\u8acb\u6c42\u51e6\u7406\u30fb\u30c7\u30fc\u30bf\u5165\u529b\u30fb\u554f\u3044\u5408\u308f\u305b\u5bfe\u5fdc\u306a\u3069\u306e\u5b9a\u578b\u696d\u52d9\u3092\u3001AI\u00d7\u4eba\u306e\u54c1\u8cea\u7ba1\u7406\u4f53\u5236\u3067\u4e38\u3054\u3068\u4ee3\u884c\u3002\u3044\u307e\u306e\u30b3\u30b9\u30c8\u306e75%\u76ee\u5b89\u3067\u3001\u65e5\u3005\u306f\u6210\u679c\u7269\u3092\u627f\u8a8d\u3059\u308b\u3060\u3051\u3002<\/p>\n        <div style=\"text-align:center;margin-top:auto;\">\n          <a href=\"https:\/\/genai-ai.co.jp\/ai-kanri\/ai-bpo\/?utm_source=blog&utm_medium=article&utm_campaign=vba-last-row&utm_content=next-step-cta-bpo\" target=\"_blank\" rel=\"noopener\" style=\"display:inline-block;background:#dc2626;color:#fff;font-weight:700;font-size:15px;padding:14px 32px;border-radius:30px;text-decoration:none;\">AIBPO\u3092\u8a73\u3057\u304f\u898b\u308b \u2192<\/a>\n        <\/div>\n      <\/div>\n    <\/div>\n  <\/div>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"faq\">\u3088\u304f\u3042\u308b\u8cea\u554f<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Q. End(xlUp)\u3068End(xlDown)\u3001\u3069\u3061\u3089\u3092\u4f7f\u3046\u3079\u304d\u3067\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A. \u5b9f\u52d9\u3067\u306fEnd(xlUp)\u304c\u63a8\u5968\u3055\u308c\u307e\u3059\u3002\u30b7\u30fc\u30c8\u306e\u6700\u4e0b\u90e8\u3092\u8d77\u70b9\u306b\u4e0a\u65b9\u5411\u3078\u63a2\u3059\u305f\u3081\u3001\u8868\u306e\u9014\u4e2d\u306b\u7a7a\u767d\u30bb\u30eb\u304c\u3042\u3063\u3066\u3082\u98db\u3073\u8d8a\u3048\u3066\u6b63\u3057\u3044\u6700\u7d42\u884c\u306b\u305f\u3069\u308a\u7740\u3051\u307e\u3059\u3002End(xlDown)\u306f1\u884c\u76ee\u3092\u8d77\u70b9\u306b\u4e0b\u65b9\u5411\u3078\u63a2\u3059\u305f\u3081\u3001\u9014\u4e2d\u306e\u7a7a\u767d\u30bb\u30eb\u3067\u691c\u7d22\u304c\u6b62\u307e\u3063\u3066\u3057\u307e\u3046\u5f31\u70b9\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q. SpecialCells(xlCellTypeLastCell)\u306f\u306a\u305c\u8aa4\u52d5\u4f5c\u3057\u3084\u3059\u3044\u306e\u3067\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A. \u5b9f\u969b\u306e\u30c7\u30fc\u30bf\u306e\u6709\u7121\u3067\u306f\u306a\u304f\u3001\u904e\u53bb\u306b\u4e00\u5ea6\u3067\u3082\u5024\u3084\u66f8\u5f0f\u3092\u8a2d\u5b9a\u3057\u305f\u7bc4\u56f2\u3092\u8a18\u61b6\u3057\u7d9a\u3051\u308b\u305f\u3081\u3067\u3059\u3002\u524a\u9664\u3057\u305f\u306f\u305a\u306e\u30c7\u30fc\u30bf\u306e\u66f8\u5f0f\u304c\u6b8b\u3063\u3066\u3044\u308b\u3068\u3001\u5b9f\u30c7\u30fc\u30bf\u3088\u308a\u5e83\u3044\u7bc4\u56f2\u3092\u6700\u7d42\u884c\u3068\u3057\u3066\u8aa4\u691c\u51fa\u3057\u307e\u3059\u3002\u4e8b\u524d\u306bCtrl+End\u30ad\u30fc\u3067\u5b9f\u969b\u306e\u6319\u52d5\u3092\u78ba\u8a8d\u3057\u3066\u304a\u304f\u3053\u3068\u3092\u304a\u52e7\u3081\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q. CurrentRegion\u306f\u3069\u3093\u306a\u5834\u9762\u3067\u4f7f\u3046\u3068\u4fbf\u5229\u3067\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A. 1\u3064\u306e\u30b7\u30fc\u30c8\u306b\u8907\u6570\u306e\u72ec\u7acb\u3057\u305f\u8868\u304c\u3042\u308b\u5834\u5408\u306b\u3001\u76ee\u7684\u306e\u8868\u3060\u3051\u3092\u30d4\u30f3\u30dd\u30a4\u30f3\u30c8\u3067\u53d6\u5f97\u3057\u305f\u3044\u3068\u304d\u306b\u4fbf\u5229\u3067\u3059\u3002\u305f\u3060\u3057\u8868\u306e\u9014\u4e2d\u306b\u7a7a\u767d\u884c\u30fb\u7a7a\u767d\u5217\u304c1\u884c\u3067\u3082\u3042\u308b\u3068\u3001\u305d\u3053\u3067\u7bc4\u56f2\u304c\u5206\u65ad\u3055\u308c\u3066\u3057\u307e\u3046\u70b9\u306b\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q. \u30c7\u30fc\u30bf\u304c1\u4ef6\u3082\u5165\u3063\u3066\u3044\u306a\u3044\u30b7\u30fc\u30c8\u3067\u6700\u7d42\u884c\u3092\u53d6\u5f97\u3059\u308b\u3068\u3069\u3046\u306a\u308a\u307e\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A. \u898b\u51fa\u3057\u884c\u3060\u3051\u306e\u30b7\u30fc\u30c8\u3067End(xlUp)\u3092\u4f7f\u3046\u3068\u3001\u898b\u51fa\u3057\u884c\u81ea\u4f53\u304c\u6700\u7d42\u884c\u3068\u3057\u3066\u8fd4\u3055\u308c\u307e\u3059\u3002\u3053\u306e\u72b6\u614b\u3092\u8003\u616e\u305b\u305a\u306b\u300c\u6700\u7d42\u884c\u306e\u4e0b\u306b\u8ffd\u52a0\u300d\u3059\u308b\u51e6\u7406\u3092\u66f8\u304f\u3068\u3001\u898b\u51fa\u3057\u884c\u306b\u30c7\u30fc\u30bf\u304c\u4e0a\u66f8\u304d\u3055\u308c\u3066\u3057\u307e\u3046\u305f\u3081\u3001\u4e8b\u524d\u306b\u6761\u4ef6\u5206\u5c90\u3067\u5bfe\u5fdc\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q. \u6700\u7d42\u884c\u53d6\u5f97\u306b\u300c\u7d76\u5bfe\u306b\u5931\u6557\u3057\u306a\u3044\u300d\u65b9\u6cd5\u306f\u3042\u308a\u307e\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A. \u5b8c\u5168\u306b\u4e07\u80fd\u306a\u65b9\u6cd5\u306f\u3042\u308a\u307e\u305b\u3093\u304c\u3001Excel\u306e\u30c6\u30fc\u30d6\u30eb\u6a5f\u80fd\uff08ListObject\uff09\u3067\u8868\u3092\u7ba1\u7406\u3059\u308c\u3070\u3001\u30c7\u30fc\u30bf\u306e\u8ffd\u52a0\u306b\u5fdc\u3058\u3066\u7bc4\u56f2\u304c\u81ea\u52d5\u7684\u306b\u62e1\u5f35\u3055\u308c\u308b\u305f\u3081\u3001\u6700\u3082\u5b89\u5b9a\u3057\u305f\u904b\u7528\u304c\u3067\u304d\u307e\u3059\u3002\u624b\u52d5\u3067\u306e\u30bb\u30eb\u7bc4\u56f2\u7ba1\u7406\u3088\u308a\u4e8b\u6545\u304c\u8d77\u304d\u306b\u304f\u3044\u65b9\u6cd5\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q. VBA\u306e\u3053\u3046\u3057\u305f\u5b9a\u578b\u51e6\u7406\u3092AI\u30c4\u30fc\u30eb\u3067\u52b9\u7387\u5316\u3067\u304d\u307e\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A. \u53ef\u80fd\u3067\u3059\u3002Claude Code\u306e\u3088\u3046\u306aAI\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u306b\u300c\u8868\u306e\u6700\u7d42\u884c\u3092\u6b63\u3057\u304f\u53d6\u5f97\u3057\u3066\u8ffd\u52a0\u3057\u3066\u300d\u3068\u81ea\u7136\u306a\u8a00\u8449\u3067\u4f9d\u983c\u3059\u308b\u3068\u3001\u7a7a\u767d\u30bb\u30eb\u3084\u30c7\u30fc\u30bf0\u4ef6\u306e\u30b1\u30fc\u30b9\u307e\u3067\u8003\u616e\u3057\u305f\u30b3\u30fc\u30c9\u3092\u63d0\u6848\u3057\u3066\u304f\u308c\u307e\u3059\u30025\u3064\u306e\u65b9\u6cd5\u306e\u9055\u3044\u3092\u7d30\u304b\u304f\u899a\u3048\u3066\u3044\u306a\u3044\u65b9\u3067\u3082\u6d3b\u7528\u3057\u3084\u3059\u3044\u65b9\u6cd5\u3067\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\": \"End(xlUp)\u3068End(xlDown)\u3001\u3069\u3061\u3089\u3092\u4f7f\u3046\u3079\u304d\u3067\u3059\u304b\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"\u5b9f\u52d9\u3067\u306fEnd(xlUp)\u304c\u63a8\u5968\u3055\u308c\u307e\u3059\u3002\u30b7\u30fc\u30c8\u306e\u6700\u4e0b\u90e8\u3092\u8d77\u70b9\u306b\u4e0a\u65b9\u5411\u3078\u63a2\u3059\u305f\u3081\u3001\u8868\u306e\u9014\u4e2d\u306b\u7a7a\u767d\u30bb\u30eb\u304c\u3042\u3063\u3066\u3082\u98db\u3073\u8d8a\u3048\u3066\u6b63\u3057\u3044\u6700\u7d42\u884c\u306b\u305f\u3069\u308a\u7740\u3051\u307e\u3059\u3002End(xlDown)\u306f1\u884c\u76ee\u3092\u8d77\u70b9\u306b\u4e0b\u65b9\u5411\u3078\u63a2\u3059\u305f\u3081\u3001\u9014\u4e2d\u306e\u7a7a\u767d\u30bb\u30eb\u3067\u691c\u7d22\u304c\u6b62\u307e\u3063\u3066\u3057\u307e\u3046\u5f31\u70b9\u304c\u3042\u308a\u307e\u3059\u3002\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"SpecialCells(xlCellTypeLastCell)\u306f\u306a\u305c\u8aa4\u52d5\u4f5c\u3057\u3084\u3059\u3044\u306e\u3067\u3059\u304b\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"\u5b9f\u969b\u306e\u30c7\u30fc\u30bf\u306e\u6709\u7121\u3067\u306f\u306a\u304f\u3001\u904e\u53bb\u306b\u4e00\u5ea6\u3067\u3082\u5024\u3084\u66f8\u5f0f\u3092\u8a2d\u5b9a\u3057\u305f\u7bc4\u56f2\u3092\u8a18\u61b6\u3057\u7d9a\u3051\u308b\u305f\u3081\u3067\u3059\u3002\u524a\u9664\u3057\u305f\u306f\u305a\u306e\u30c7\u30fc\u30bf\u306e\u66f8\u5f0f\u304c\u6b8b\u3063\u3066\u3044\u308b\u3068\u3001\u5b9f\u30c7\u30fc\u30bf\u3088\u308a\u5e83\u3044\u7bc4\u56f2\u3092\u6700\u7d42\u884c\u3068\u3057\u3066\u8aa4\u691c\u51fa\u3057\u307e\u3059\u3002\u4e8b\u524d\u306bCtrl+End\u30ad\u30fc\u3067\u5b9f\u969b\u306e\u6319\u52d5\u3092\u78ba\u8a8d\u3057\u3066\u304a\u304f\u3053\u3068\u3092\u304a\u52e7\u3081\u3057\u307e\u3059\u3002\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"CurrentRegion\u306f\u3069\u3093\u306a\u5834\u9762\u3067\u4f7f\u3046\u3068\u4fbf\u5229\u3067\u3059\u304b\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"1\u3064\u306e\u30b7\u30fc\u30c8\u306b\u8907\u6570\u306e\u72ec\u7acb\u3057\u305f\u8868\u304c\u3042\u308b\u5834\u5408\u306b\u3001\u76ee\u7684\u306e\u8868\u3060\u3051\u3092\u30d4\u30f3\u30dd\u30a4\u30f3\u30c8\u3067\u53d6\u5f97\u3057\u305f\u3044\u3068\u304d\u306b\u4fbf\u5229\u3067\u3059\u3002\u305f\u3060\u3057\u8868\u306e\u9014\u4e2d\u306b\u7a7a\u767d\u884c\u30fb\u7a7a\u767d\u5217\u304c1\u884c\u3067\u3082\u3042\u308b\u3068\u3001\u305d\u3053\u3067\u7bc4\u56f2\u304c\u5206\u65ad\u3055\u308c\u3066\u3057\u307e\u3046\u70b9\u306b\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\u3002\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"\u30c7\u30fc\u30bf\u304c1\u4ef6\u3082\u5165\u3063\u3066\u3044\u306a\u3044\u30b7\u30fc\u30c8\u3067\u6700\u7d42\u884c\u3092\u53d6\u5f97\u3059\u308b\u3068\u3069\u3046\u306a\u308a\u307e\u3059\u304b\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"\u898b\u51fa\u3057\u884c\u3060\u3051\u306e\u30b7\u30fc\u30c8\u3067End(xlUp)\u3092\u4f7f\u3046\u3068\u3001\u898b\u51fa\u3057\u884c\u81ea\u4f53\u304c\u6700\u7d42\u884c\u3068\u3057\u3066\u8fd4\u3055\u308c\u307e\u3059\u3002\u3053\u306e\u72b6\u614b\u3092\u8003\u616e\u305b\u305a\u306b\u300c\u6700\u7d42\u884c\u306e\u4e0b\u306b\u8ffd\u52a0\u300d\u3059\u308b\u51e6\u7406\u3092\u66f8\u304f\u3068\u3001\u898b\u51fa\u3057\u884c\u306b\u30c7\u30fc\u30bf\u304c\u4e0a\u66f8\u304d\u3055\u308c\u3066\u3057\u307e\u3046\u305f\u3081\u3001\u4e8b\u524d\u306b\u6761\u4ef6\u5206\u5c90\u3067\u5bfe\u5fdc\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"\u6700\u7d42\u884c\u53d6\u5f97\u306b\u300c\u7d76\u5bfe\u306b\u5931\u6557\u3057\u306a\u3044\u300d\u65b9\u6cd5\u306f\u3042\u308a\u307e\u3059\u304b\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"\u5b8c\u5168\u306b\u4e07\u80fd\u306a\u65b9\u6cd5\u306f\u3042\u308a\u307e\u305b\u3093\u304c\u3001Excel\u306e\u30c6\u30fc\u30d6\u30eb\u6a5f\u80fd\uff08ListObject\uff09\u3067\u8868\u3092\u7ba1\u7406\u3059\u308c\u3070\u3001\u30c7\u30fc\u30bf\u306e\u8ffd\u52a0\u306b\u5fdc\u3058\u3066\u7bc4\u56f2\u304c\u81ea\u52d5\u7684\u306b\u62e1\u5f35\u3055\u308c\u308b\u305f\u3081\u3001\u6700\u3082\u5b89\u5b9a\u3057\u305f\u904b\u7528\u304c\u3067\u304d\u307e\u3059\u3002\u624b\u52d5\u3067\u306e\u30bb\u30eb\u7bc4\u56f2\u7ba1\u7406\u3088\u308a\u4e8b\u6545\u304c\u8d77\u304d\u306b\u304f\u3044\u65b9\u6cd5\u3067\u3059\u3002\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"VBA\u306e\u3053\u3046\u3057\u305f\u5b9a\u578b\u51e6\u7406\u3092AI\u30c4\u30fc\u30eb\u3067\u52b9\u7387\u5316\u3067\u304d\u307e\u3059\u304b\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"\u53ef\u80fd\u3067\u3059\u3002Claude Code\u306e\u3088\u3046\u306aAI\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u306b\u300c\u8868\u306e\u6700\u7d42\u884c\u3092\u6b63\u3057\u304f\u53d6\u5f97\u3057\u3066\u8ffd\u52a0\u3057\u3066\u300d\u3068\u81ea\u7136\u306a\u8a00\u8449\u3067\u4f9d\u983c\u3059\u308b\u3068\u3001\u7a7a\u767d\u30bb\u30eb\u3084\u30c7\u30fc\u30bf0\u4ef6\u306e\u30b1\u30fc\u30b9\u307e\u3067\u8003\u616e\u3057\u305f\u30b3\u30fc\u30c9\u3092\u63d0\u6848\u3057\u3066\u304f\u308c\u307e\u3059\u30025\u3064\u306e\u65b9\u6cd5\u306e\u9055\u3044\u3092\u7d30\u304b\u304f\u899a\u3048\u3066\u3044\u306a\u3044\u65b9\u3067\u3082\u6d3b\u7528\u3057\u3084\u3059\u3044\u65b9\u6cd5\u3067\u3059\u3002\"\n      }\n    }\n  ]\n}\n<\/script>\n\n\n","protected":false},"excerpt":{"rendered":"<p>ExcelVBA\u3067\u6700\u7d42\u884c\u3092\u53d6\u5f97\u3059\u308b5\u3064\u306e\u65b9\u6cd5\uff08End(xlUp)\u30fbSpecialCells\u30fbUsedRange\u30fbCurrentRegion\u30fbListObject\uff09\u3092\u6bd4\u8f03\u89e3\u8aac\u3002\u7a7a\u767d\u30bb\u30eb\u3067\u5931\u6557\u3059\u308b\u539f\u56e0\u3001\u6700\u7d42\u884c\u306e\u4e0b\u306b\u30c7\u30fc\u30bf\u3092\u8ffd\u52a0\u3059\u308b\u5b9f\u8df5\u30d1\u30bf\u30fc\u30f3\u3001Claude Code\u3092\u4f7f\u3063\u305fVBA\u696d\u52d9\u52b9\u7387\u5316\u307e\u3067\u6574\u7406\u3057\u307e\u3059\u3002<\/p>\n","protected":false},"author":1,"featured_media":26721,"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":"ExcelVBA\u3067\u6700\u7d42\u884c\u3092\u53d6\u5f97\u3059\u308b5\u3064\u306e\u65b9\u6cd5\uff08End(xlUp)\u30fbSpecialCells\u30fbUsedRange\u30fbCurrentRegion\u30fbListObject\uff09\u3092\u6bd4\u8f03\u89e3\u8aac\u3002\u7a7a\u767d\u30bb\u30eb\u3067\u5931\u6557\u3059\u308b\u539f\u56e0\u3001\u6700\u7d42\u884c\u306e\u4e0b\u306b\u30c7\u30fc\u30bf\u3092\u8ffd\u52a0\u3059\u308b\u5b9f\u8df5\u30d1\u30bf\u30fc\u30f3\u3001Claude Code\u3092\u4f7f\u3063\u305fVBA\u696d\u52d9\u52b9\u7387\u5316\u307e\u3067\u6574\u7406\u3057\u307e\u3059\u3002","rank_math_focus_keyword":"VBA \u6700\u7d42\u884c \u53d6\u5f97","rank_math_title":"\u30102026\u5e748\u6708\u6700\u65b0\u3011ExcelVBA\u3067\u6700\u7d42\u884c\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5\u307e\u3068\u3081\uff5cEnd(xlUp)\u30fbSpecialCells\u30fbUsedRange\u306e\u4f7f\u3044\u5206\u3051","pending_rewrite_html":"","pending_rewrite_id":"","pending_rewrite_kw":"","pending_rewrite_at":"","pending_rewrite_source":"","pending_rewrite_brief":"","pending_rewrite_evidence":"","approved_rewrite_html":"","approved_rewrite_id":"","approved_rewrite_kw":"","approved_rewrite_at":"","approved_rewrite_by":"","approved_rewrite_brief":"","approved_rewrite_evidence":"","rewrite_tracker_baseline":"","rewrite_tracker_7day":"","rewrite_tracker_14day":"","rewrite_tracker_30day":"","rewrite_tracker_notified":""},"categories":[2],"tags":[],"class_list":["post-26722","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-claude-tips"],"_links":{"self":[{"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/posts\/26722","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=26722"}],"version-history":[{"count":5,"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/posts\/26722\/revisions"}],"predecessor-version":[{"id":29167,"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/posts\/26722\/revisions\/29167"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/media\/26721"}],"wp:attachment":[{"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/media?parent=26722"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/categories?post=26722"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/tags?post=26722"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}