{"id":47537,"date":"2026-09-15T09:15:17","date_gmt":"2026-09-15T00:15:17","guid":{"rendered":"https:\/\/genai-ai.co.jp\/ai-kanri\/?p=47537"},"modified":"2026-09-21T09:13:31","modified_gmt":"2026-09-21T00:13:31","slug":"vba-workbooks-open","status":"publish","type":"post","link":"https:\/\/genai-ai.co.jp\/ai-kanri\/blog\/vba-workbooks-open\/","title":{"rendered":"\u30102026\u5e749\u6708\u6700\u65b0\u3011ExcelVBA\u306eWorkbooks.Open\u3067\u30d6\u30c3\u30af\u3092\u958b\u304f\u65b9\u6cd5\u5b8c\u5168\u89e3\u8aac\uff5c\u30a8\u30e9\u30fc\u5bfe\u51e6\u3068Claude Code\u3067\u306e\u81ea\u52d5\u5316\u307e\u3067"},"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\/09\/thumb-vba-workbooks-open-1.jpg\" alt=\"\u30102026\u5e749\u6708\u6700\u65b0\u3011ExcelVBA\u306eWorkbooks.Open\u3067\u30d6\u30c3\u30af\u3092\u958b\u304f\u65b9\u6cd5\u5b8c\u5168\u89e3\u8aac\uff5c\u30a8\u30e9\u30fc\u5bfe\u51e6\u3068Claude Code\u3067\u306e\u81ea\u52d5\u5316\u307e\u3067\" style=\"width:100%;height:auto;border-radius:12px;display:block;\">\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u300c\u6bce\u6708\u3001\u8907\u6570\u306eExcel\u30d6\u30c3\u30af\u3092\u958b\u3044\u3066\u30c7\u30fc\u30bf\u3092\u96c6\u3081\u308b\u4f5c\u696d\u306b\u534a\u65e5\u3064\u3076\u308c\u3066\u3044\u308b\u300d\u300cVBA\u3067\u30d6\u30c3\u30af\u3092\u81ea\u52d5\u7684\u306b\u958b\u304f\u65b9\u6cd5\u3092\u8abf\u3079\u305f\u304c\u3001\u30b3\u30fc\u30c9\u306e\u3069\u3053\u304c\u81ea\u5206\u306e\u72b6\u6cc1\u306b\u5408\u3046\u304b\u5206\u304b\u3089\u306a\u3044\u300d\u2014\u2014\u3053\u306e\u8a18\u4e8b\u306b\u305f\u3069\u308a\u7740\u3044\u305f\u65b9\u306f\u3001\u304a\u305d\u3089\u304f\u305d\u3046\u3057\u305f\u60a9\u307f\u3092\u62b1\u3048\u3066\u3044\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">ExcelVBA\u306e<strong>Workbooks.Open<\/strong>\u30e1\u30bd\u30c3\u30c9\u306f\u3001\u6307\u5b9a\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u306e\u5225\u306eExcel\u30d6\u30c3\u30af\u3092\u30de\u30af\u30ed\u304b\u3089\u958b\u304f\u305f\u3081\u306e\u547d\u4ee4\u3067\u3059\u3002\u4e00\u898b\u30b7\u30f3\u30d7\u30eb\u306a1\u884c\u306e\u547d\u4ee4\u3067\u3059\u304c\u3001\u5b9f\u969b\u306b\u696d\u52d9\u3067\u4f7f\u304a\u3046\u3068\u3059\u308b\u3068\u300c\u30d5\u30a1\u30a4\u30eb\u304c\u898b\u3064\u304b\u3089\u306a\u3044\u3068\u30a8\u30e9\u30fc\u306b\u306a\u308b\u300d\u300c\u958b\u3044\u305f\u30d6\u30c3\u30af\u3092\u3069\u3046\u64cd\u4f5c\u3059\u308c\u3070\u3044\u3044\u304b\u5206\u304b\u3089\u306a\u3044\u300d\u300c\u6bce\u56de\u8b66\u544a\u30c0\u30a4\u30a2\u30ed\u30b0\u304c\u51fa\u3066\u51e6\u7406\u304c\u6b62\u307e\u308b\u300d\u3068\u3044\u3063\u305f\u58c1\u306b\u3076\u3064\u304b\u308a\u304c\u3061\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001<strong>Workbooks.Open\u306e\u57fa\u672c\u69cb\u6587\u304b\u3089\u30a8\u30e9\u30fc\u5bfe\u51e6\u3001\u95a2\u9023\u30e1\u30bd\u30c3\u30c9\u307e\u3067<\/strong>\u3092\u5b9f\u8df5\u7684\u306a\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u4ed8\u304d\u3067\u6574\u7406\u3057\u305f\u4e0a\u3067\u3001<strong>\u300c\u305d\u3082\u305d\u3082VBA\u3092\u66f8\u304b\u305a\u306bAI\u306b\u4efb\u305b\u308b\u300d\u3068\u3044\u3046\u9078\u629e\u80a2<\/strong>\u306b\u3064\u3044\u3066\u3082\u3001\u5f0a\u793e\uff08\u682a\u5f0f\u4f1a\u793eGENAI\uff09\u306e\u5b9f\u904b\u7528\u30c7\u30fc\u30bf\u3092\u3082\u3068\u306b\u304a\u4f1d\u3048\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"balloon-wrap\">\n  <div class=\"balloon-icon\">\n    <img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/04\/ceo-sugasawa.jpg\" alt=\"\u4ee3\u8868\u83c5\u6fa4\">\n    <span class=\"balloon-name\">\u4ee3\u8868\u83c5\u6fa4<\/span>\n  <\/div>\n  <div class=\"balloon-body\">\u7d50\u8ad6\u304b\u3089\u8a00\u3046\u3068\u3001VBA\u306eOpen\u30e1\u30bd\u30c3\u30c9\u81ea\u4f53\u306f\u899a\u3048\u3066\u640d\u306f\u306a\u3044\u3067\u3059\u304c\u3001\u300c\u6bce\u56de\u306e\u30d6\u30c3\u30af\u96c6\u7d04\u4f5c\u696d\u300d\u305d\u306e\u3082\u306e\u306fClaude Code\u306b\u4efb\u305b\u305f\u65b9\u304c\u901f\u3044\u30b1\u30fc\u30b9\u304c\u307b\u3068\u3093\u3069\u3067\u3059\u3002\u307e\u305a\u306f\u57fa\u672c\u3092\u62bc\u3055\u3048\u3066\u304b\u3089\u3001\u5f8c\u534a\u3067\u81ea\u52d5\u5316\u306e\u9078\u629e\u80a2\u3082\u30c1\u30a7\u30c3\u30af\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\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\">\u4eca\u65e5\u306f\u300c\u52d5\u304f\u30b3\u30fc\u30c9\u3092\u30b3\u30d4\u30da\u3057\u3066\u7d42\u308f\u308a\u300d\u3067\u306f\u306a\u304f\u3001<strong>\u306a\u305c\u30a8\u30e9\u30fc\u306b\u306a\u308b\u306e\u304b\u30fb\u3069\u3046\u5bfe\u51e6\u3059\u308c\u3070\u3044\u3044\u306e\u304b<\/strong>\u307e\u3067\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u6574\u7406\u3057\u3066\u3044\u304d\u307e\u3059\u3002VBA\u521d\u5fc3\u8005\u306e\u65b9\u3067\u3082\u6700\u5f8c\u307e\u3067\u8aad\u3081\u3070\u3001Open\u30e1\u30bd\u30c3\u30c9\u3067\u8a70\u307e\u3089\u306a\u304f\u306a\u308b\u306f\u305a\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>Workbooks.Open\u30e1\u30bd\u30c3\u30c9<\/strong>\u306e\u57fa\u672c\u69cb\u6587\u3068\u3088\u304f\u4f7f\u3046\u5f15\u6570\u306e\u610f\u5473<\/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>\u8907\u6570\u30d6\u30c3\u30af\u3092\u958b\u3044\u3066\u30c7\u30fc\u30bf\u3092\u96c6\u7d04\u3059\u308b<\/strong>\u5b9f\u8df5\u7684\u306a\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9<\/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>\u300c\u30d5\u30a1\u30a4\u30eb\u304c\u898b\u3064\u304b\u3089\u306a\u3044\u300d\u300c\u5b9f\u884c\u6642\u30a8\u30e9\u30fc1004\u300d<\/strong>\u306a\u3069\u306e\u4ee3\u8868\u7684\u306a\u30a8\u30e9\u30fc\u3068\u5bfe\u51e6\u6cd5<\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span><strong>Close \/ Save \/ ActiveWorkbook<\/strong>\u306a\u3069\u3001Open\u3068\u7d44\u307f\u5408\u308f\u305b\u3066\u4f7f\u3046\u95a2\u9023\u30e1\u30bd\u30c3\u30c9<\/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>\u5f0a\u793eGENAI\u306e\u5b9f\u904b\u7528\u4f8b<\/strong>\u3068\u3001Excel\u696d\u52d9\u306e\u524a\u6e1b\u6642\u9593\u306e\u5177\u4f53\u6570\u5024<\/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>\u975e\u30a8\u30f3\u30b8\u30cb\u30a2\u304c\u30de\u30af\u30ed\u3092\u66f8\u304b\u305a\u306bAI\u3067\u81ea\u52d5\u5316\u3059\u308b<\/strong>\u5177\u4f53\u7684\u306a\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\/aibpo\/makase\/blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=vba-workbooks-open&#038;blog_slug=vba-workbooks-open&#038;blog_title=%E3%80%902026%E5%B9%B49%E6%9C%88%E6%9C%80%E6%96%B0%E3%80%91ExcelVBA%E3%81%AEWorkbooks.Open%E3%81%A7%E3%83%96%E3%83%83%E3%82%AF%E3%82%92%E9%96%8B%E3%81%8F%E6%96%B9%E6%B3%95%E5%AE%8C%E5%85%A8%E8%A7%A3%E8%AA%AC%EF%BD%9C%E3%82%A8%E3%83%A9%E3%83%BC%E5%AF%BE%E5%87%A6%E3%81%A8Claude%20Code%E3%81%A7%E3%81%AE%E8%87%AA%E5%8B%95%E5%8C%96%E3%81%BE%E3%81%A7&#038;blog_url=https%3A%2F%2Fgenai-ai.co.jp%2Fai-kanri%2Fblog%2Fvba-workbooks-open%2F&#038;utm_campaign=aibpo_makase\" target=\"_blank\" rel=\"noopener\" aria-label=\"AI\u793e\u54e1AIKATA\uff08\u670830\u4e07\u5186\u3067\u696d\u52d9\u307e\u304b\u305b\u653e\u984c\uff09\u306e\u7121\u6599\u76f8\u8ac7 \u4e88\u7d04\u30da\u30fc\u30b8\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/09\/cta_blog_makase_20260904.jpg\" alt=\"AI\u793e\u54e1AIKATA\uff5c\u670830\u4e07\u5186\u306e\u5b9a\u984d\u3067\u5fa1\u793e\u306e\u696d\u52d9\u3092\u307e\u308b\u3054\u3068\u5dfb\u304d\u53d6\u308a\u307e\u3059\uff08\u7121\u6599\u76f8\u8ac760\u5206\uff09\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><a href=\"https:\/\/aikanri.genai-ai.co.jp\/koteihi-line\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=vba-workbooks-open&#038;blog_slug=vba-workbooks-open&#038;blog_title=%E3%80%902026%E5%B9%B49%E6%9C%88%E6%9C%80%E6%96%B0%E3%80%91ExcelVBA%E3%81%AEWorkbooks.Open%E3%81%A7%E3%83%96%E3%83%83%E3%82%AF%E3%82%92%E9%96%8B%E3%81%8F%E6%96%B9%E6%B3%95%E5%AE%8C%E5%85%A8%E8%A7%A3%E8%AA%AC%EF%BD%9C%E3%82%A8%E3%83%A9%E3%83%BC%E5%AF%BE%E5%87%A6%E3%81%A8Claude%20Code%E3%81%A7%E3%81%AE%E8%87%AA%E5%8B%95%E5%8C%96%E3%81%BE%E3%81%A7&#038;blog_url=https%3A%2F%2Fgenai-ai.co.jp%2Fai-kanri%2Fblog%2Fvba-workbooks-open%2F&#038;utm_campaign=koteihi_shindan\" target=\"_blank\" rel=\"noopener\" aria-label=\"\u516c\u5f0fLINE\u306e\u56fa\u5b9a\u8cbb\u524a\u6e1b\u8a3a\u65ad\uff08\u7121\u6599\u30fb\u7d041\u5206\uff09\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/09\/cta_blog_koteihi_line.jpg\" alt=\"\u5fa1\u793e\u304c\u6e1b\u3089\u305b\u308b\u56fa\u5b9a\u8cbb\u306f\u6708\u3044\u304f\u3089\u304b\uff5c\u516c\u5f0fLINE\u3067\u8cea\u554f\u306b\u7b54\u3048\u308b\u3060\u3051\uff08\u7121\u6599\u30fb\u7d041\u5206\uff09\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><\/div>\n\n\n<div id=\"sec-01\"><\/div>\n<h2 class=\"section-header-img\" style=\"margin:32px 0 24px;border-radius:8px;overflow:hidden;background:linear-gradient(135deg,#1a1a1a 0%,#2a1015 100%);padding:32px 28px;color:#fff;position:relative;border:none;border-left:none;text-align:left;\">\n  <span class=\"section-number\" style=\"display:block;\">01<\/span>\n  <span class=\"section-label\" style=\"display:block;\">BASIC SYNTAX<\/span>\n  <span class=\"section-title\" style=\"display:block;\">Workbooks.Open\u30e1\u30bd\u30c3\u30c9\u306e\u57fa\u672c\u69cb\u6587<\/span>\n  <span class=\"section-desc\">\u307e\u305a\u306f\u6700\u5c0f\u9650\u306e\u30b3\u30fc\u30c9\u3067\u300c\u30d6\u30c3\u30af\u3092\u958b\u304f\u300d\u3092\u7406\u89e3\u3059\u308b<\/span>\n<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Workbooks.Open\u30e1\u30bd\u30c3\u30c9\u306f\u3001\u6307\u5b9a\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u306eExcel\u30d6\u30c3\u30af\u3092\u958b\u304f\u305f\u3081\u306e\u547d\u4ee4\u3067\u3059\u3002\u6700\u3082\u57fa\u672c\u7684\u306a\u66f8\u304d\u65b9\u306f\u6b21\u306e1\u884c\u3067\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#1e1e1e;border-radius:8px;padding:20px 24px;margin:20px 0;overflow-x:auto;\">\n<pre style=\"margin:0;color:#d4d4d4;font-family:Consolas,Menlo,monospace;font-size:14px;line-height:1.7;\">Workbooks.Open \"C:\\Users\\owner\\Documents\\\u58f2\u4e0a\u30c7\u30fc\u30bf.xlsx\"<\/pre>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e1\u884c\u3060\u3051\u3067\u3001\u6307\u5b9a\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u306e\u30d6\u30c3\u30af\u304c\u65b0\u3057\u3044\u30a6\u30a3\u30f3\u30c9\u30a6\u3067\u958b\u304d\u307e\u3059\u3002\u305f\u3060\u3057\u3001\u5b9f\u969b\u306e\u696d\u52d9\u30b3\u30fc\u30c9\u3067\u306f<strong>\u958b\u3044\u305f\u30d6\u30c3\u30af\u3092\u5f8c\u304b\u3089\u64cd\u4f5c\u3059\u308b<\/strong>\u5fc5\u8981\u304c\u3042\u308b\u305f\u3081\u3001\u5909\u6570\u306b\u683c\u7d0d\u3057\u3066\u4f7f\u3046\u306e\u304c\u5b9a\u77f3\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>Workbooks<\/strong>\uff1aExcel\u3067\u73fe\u5728\u958b\u3044\u3066\u3044\u308b\u3059\u3079\u3066\u306e\u30d6\u30c3\u30af\uff08\u30d5\u30a1\u30a4\u30eb\uff09\u3092\u7ba1\u7406\u3059\u308b\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\uff08\u96c6\u5408\uff09\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3002Workbooks.Open\u306f\u3053\u306e\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u306b\u5bfe\u3057\u3066\u300c\u65b0\u3057\u3044\u30d6\u30c3\u30af\u3092\u958b\u3044\u3066\u8ffd\u52a0\u3059\u308b\u300d\u3068\u3044\u3046\u547d\u4ee4\u3002<\/p>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">1-1. \u958b\u3044\u305f\u30d6\u30c3\u30af\u3092\u5909\u6570\u306b\u683c\u7d0d\u3059\u308b<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Open\u30e1\u30bd\u30c3\u30c9\u306f<strong>\u958b\u3044\u305f\u30d6\u30c3\u30af\u306eWorkbook\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u623b\u308a\u5024\u3068\u3057\u3066\u8fd4\u3059<\/strong>\u305f\u3081\u3001Set\u6587\u3067\u5909\u6570\u306b\u53d7\u3051\u53d6\u3063\u3066\u304a\u304f\u306e\u304c\u57fa\u672c\u30d1\u30bf\u30fc\u30f3\u3067\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#1e1e1e;border-radius:8px;padding:20px 24px;margin:20px 0;overflow-x:auto;\">\n<pre style=\"margin:0;color:#d4d4d4;font-family:Consolas,Menlo,monospace;font-size:14px;line-height:1.7;\">Dim wb1 As Workbook\nSet wb1 = Workbooks.Open(\"C:\\Users\\owner\\Documents\\\u58f2\u4e0a\u30c7\u30fc\u30bf.xlsx\")\n\n'wb1\u3092\u901a\u3058\u3066\u3001\u958b\u3044\u305f\u30d6\u30c3\u30af\u306e\u30b7\u30fc\u30c8\u3084\u30bb\u30eb\u3092\u64cd\u4f5c\u3067\u304d\u308b\nwb1.Sheets(\"Sheet1\").Range(\"A1\").Value = \"\u51e6\u7406\u6e08\u307f\"<\/pre>\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>Dim \/ Set<\/strong>\uff1aDim\u306f\u300c\u3053\u308c\u304b\u3089\u4f7f\u3046\u5909\u6570\u306e\u578b\u3092\u5ba3\u8a00\u3059\u308b\u300d\u547d\u4ee4\u3001Set\u306f\u300c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u578b\u306e\u5909\u6570\u306b\u5024\uff08\u3053\u306e\u5834\u5408\u306f\u30d6\u30c3\u30af\uff09\u3092\u4ee3\u5165\u3059\u308b\u300d\u547d\u4ee4\u3002\u6570\u5024\u3084\u6587\u5b57\u5217\u306e\u4ee3\u5165\u306b\u306f\u4f7f\u308f\u305a\u3001Worksheet\u30fbWorkbook\u306a\u3069\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u6271\u3046\u3068\u304d\u3060\u3051Set\u3092\u4f7f\u3046\u306e\u304cVBA\u306e\u30eb\u30fc\u30eb\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;\">ActiveWorkbook\u3068\u306e\u9055\u3044\u306b\u6ce8\u610f<\/strong>\n  <\/div>\n  <p style=\"margin:0;font-size:15px;line-height:1.8;color:#333;\">Workbooks.Open\u3067\u958b\u3044\u305f\u76f4\u5f8c\u306e\u30d6\u30c3\u30af\u306f\u81ea\u52d5\u7684\u306b\u300c\u30a2\u30af\u30c6\u30a3\u30d6\u300d\u306b\u306a\u308b\u305f\u3081\u3001Set wb1 = ActiveWorkbook \u3067\u3082\u540c\u3058\u7d50\u679c\u304c\u5f97\u3089\u308c\u307e\u3059\u3002\u305f\u3060\u3057\u8907\u6570\u30d6\u30c3\u30af\u3092\u9023\u7d9a\u3057\u3066\u958b\u304f\u51e6\u7406\u3067\u306f\u3001\u3069\u306e\u30bf\u30a4\u30df\u30f3\u30b0\u3067ActiveWorkbook\u304c\u5207\u308a\u66ff\u308f\u308b\u304b\u5206\u304b\u308a\u306b\u304f\u304f\u306a\u308b\u305f\u3081\u3001Open\u306e\u623b\u308a\u5024\u3092\u76f4\u63a5Set\u3067\u53d7\u3051\u53d6\u308b\u66f8\u304d\u65b9\u306e\u65b9\u304c\u4e8b\u6545\u304c\u5c11\u306a\u304f\u304a\u3059\u3059\u3081\u3067\u3059\u3002<\/p>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">1-2. Open\u30e1\u30bd\u30c3\u30c9\u306e\u4e3b\u8981\u306a\u5f15\u6570\uff08\u7b2c2\u5f15\u6570\u4ee5\u964d\uff09<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Workbooks.Open\u306b\u306f\u3001\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u4ee5\u5916\u306b\u3082\u8907\u6570\u306e\u5f15\u6570\u3092\u6307\u5b9a\u3067\u304d\u307e\u3059\u3002\u5b9f\u52d9\u3067\u4f7f\u3046\u983b\u5ea6\u304c\u9ad8\u3044\u3082\u306e\u3092\u6574\u7406\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<table>\n<thead><tr><th>\u5f15\u6570<\/th><th>\u5f79\u5272<\/th><th>\u4e3b\u306a\u7528\u9014<\/th><\/tr><\/thead>\n<tbody>\n<tr><td>Filename<\/td><td>\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\uff08\u5fc5\u9808\uff09<\/td><td>\u3059\u3079\u3066\u306eOpen\u51e6\u7406\u3067\u5fc5\u9808<\/td><\/tr>\n<tr><td>UpdateLinks<\/td><td>\u4ed6\u30d6\u30c3\u30af\u3078\u306e\u53c2\u7167\u30ea\u30f3\u30af\u306e\u66f4\u65b0\u65b9\u6cd5<\/td><td>\u5225\u30d5\u30a1\u30a4\u30eb\u3092\u53c2\u7167\u3059\u308b\u6570\u5f0f\u304c\u5165\u3063\u3066\u3044\u308b\u5834\u5408\u306b\u6307\u5b9a<\/td><\/tr>\n<tr><td>ReadOnly<\/td><td>\u8aad\u307f\u53d6\u308a\u5c02\u7528\u3067\u958b\u304f\u304b\uff08True\/False\uff09<\/td><td>\u5185\u5bb9\u3092\u5909\u66f4\u305b\u305a\u53c2\u7167\u3060\u3051\u3057\u305f\u3044\u5834\u5408\u306bTrue<\/td><\/tr>\n<tr><td>Password<\/td><td>\u30d1\u30b9\u30ef\u30fc\u30c9\u4fdd\u8b77\u3055\u308c\u305f\u30d6\u30c3\u30af\u306e\u89e3\u9664\u30d1\u30b9\u30ef\u30fc\u30c9<\/td><td>\u793e\u5185\u306e\u6a5f\u5bc6\u30d5\u30a1\u30a4\u30eb\u3092\u81ea\u52d5\u51e6\u7406\u3059\u308b\u5834\u5408<\/td><\/tr>\n<tr><td>IgnoreReadOnlyRecommended<\/td><td>\u300c\u8aad\u307f\u53d6\u308a\u63a8\u5968\u300d\u306e\u78ba\u8a8d\u30c0\u30a4\u30a2\u30ed\u30b0\u3092\u7121\u8996\u3059\u308b\u304b<\/td><td>\u81ea\u52d5\u51e6\u7406\u4e2d\u306b\u30c0\u30a4\u30a2\u30ed\u30b0\u3067\u51e6\u7406\u304c\u6b62\u307e\u308b\u306e\u3092\u9632\u3050<\/td><\/tr>\n<\/tbody>\n<\/table>\n\n\n\n<p class=\"wp-block-paragraph\">\u7279\u306b\u696d\u52d9\u81ea\u52d5\u5316\u3067\u983b\u51fa\u3059\u308b\u306e\u304c<strong>ReadOnly:=True<\/strong>\u3067\u3059\u3002\u300c\u5185\u5bb9\u3092\u96c6\u8a08\u3059\u308b\u3060\u3051\u3067\u3001\u5143\u30d5\u30a1\u30a4\u30eb\u3092\u5909\u66f4\u3057\u306a\u3044\u300d\u51e6\u7406\u3067\u3042\u308c\u3070\u3001\u8aad\u307f\u53d6\u308a\u5c02\u7528\u3067\u958b\u304f\u3053\u3068\u3067\u8aa4\u3063\u3066\u4e0a\u66f8\u304d\u4fdd\u5b58\u3057\u3066\u3057\u307e\u3046\u4e8b\u6545\u3092\u9632\u3052\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>\u96c6\u8a08\u30fb\u53c2\u7167\u3060\u3051\u306e\u51e6\u7406 \u2192 ReadOnly:=True \u3092\u6307\u5b9a<\/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>\u5185\u5bb9\u3092\u7de8\u96c6\u3057\u3066\u4fdd\u5b58\u3057\u76f4\u3059\u51e6\u7406 \u2192 ReadOnly\u6307\u5b9a\u306a\u3057\uff08\u30c7\u30d5\u30a9\u30eb\u30c8False\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>\u4ed6\u30d6\u30c3\u30af\u3078\u306e\u53c2\u7167\u30ea\u30f3\u30af\u304c\u3042\u308b\u5834\u5408 \u2192 UpdateLinks:=0 \u3067\u30ea\u30f3\u30af\u66f4\u65b0\u306e\u78ba\u8a8d\u30c0\u30a4\u30a2\u30ed\u30b0\u3092\u6291\u5236<\/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>\u30d1\u30b9\u30ef\u30fc\u30c9\u4fdd\u8b77\u30d5\u30a1\u30a4\u30eb\u3092\u81ea\u52d5\u51e6\u7406\u3059\u308b\u5834\u5408 \u2192 Password:=\"xxxx\" \u3067\u89e3\u9664<\/span><\/div>\n\n<\/div>\n\n\n<div style=\"margin:48px 0 8px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap;\"><a href=\"https:\/\/aikanri.genai-ai.co.jp\/aibpo\/makase\/blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=vba-workbooks-open&#038;blog_slug=vba-workbooks-open&#038;blog_title=%E3%80%902026%E5%B9%B49%E6%9C%88%E6%9C%80%E6%96%B0%E3%80%91ExcelVBA%E3%81%AEWorkbooks.Open%E3%81%A7%E3%83%96%E3%83%83%E3%82%AF%E3%82%92%E9%96%8B%E3%81%8F%E6%96%B9%E6%B3%95%E5%AE%8C%E5%85%A8%E8%A7%A3%E8%AA%AC%EF%BD%9C%E3%82%A8%E3%83%A9%E3%83%BC%E5%AF%BE%E5%87%A6%E3%81%A8Claude%20Code%E3%81%A7%E3%81%AE%E8%87%AA%E5%8B%95%E5%8C%96%E3%81%BE%E3%81%A7&#038;blog_url=https%3A%2F%2Fgenai-ai.co.jp%2Fai-kanri%2Fblog%2Fvba-workbooks-open%2F&#038;utm_campaign=aibpo_makase\" target=\"_blank\" rel=\"noopener\" aria-label=\"AI\u793e\u54e1AIKATA\uff08\u670830\u4e07\u5186\u3067\u696d\u52d9\u307e\u304b\u305b\u653e\u984c\uff09\u306e\u7121\u6599\u76f8\u8ac7 \u4e88\u7d04\u30da\u30fc\u30b8\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/09\/cta_blog_makase_20260904.jpg\" alt=\"AI\u793e\u54e1AIKATA\uff5c\u670830\u4e07\u5186\u306e\u5b9a\u984d\u3067\u5fa1\u793e\u306e\u696d\u52d9\u3092\u307e\u308b\u3054\u3068\u5dfb\u304d\u53d6\u308a\u307e\u3059\uff08\u7121\u6599\u76f8\u8ac760\u5206\uff09\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><a href=\"https:\/\/aikanri.genai-ai.co.jp\/koteihi-line\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=vba-workbooks-open&#038;blog_slug=vba-workbooks-open&#038;blog_title=%E3%80%902026%E5%B9%B49%E6%9C%88%E6%9C%80%E6%96%B0%E3%80%91ExcelVBA%E3%81%AEWorkbooks.Open%E3%81%A7%E3%83%96%E3%83%83%E3%82%AF%E3%82%92%E9%96%8B%E3%81%8F%E6%96%B9%E6%B3%95%E5%AE%8C%E5%85%A8%E8%A7%A3%E8%AA%AC%EF%BD%9C%E3%82%A8%E3%83%A9%E3%83%BC%E5%AF%BE%E5%87%A6%E3%81%A8Claude%20Code%E3%81%A7%E3%81%AE%E8%87%AA%E5%8B%95%E5%8C%96%E3%81%BE%E3%81%A7&#038;blog_url=https%3A%2F%2Fgenai-ai.co.jp%2Fai-kanri%2Fblog%2Fvba-workbooks-open%2F&#038;utm_campaign=koteihi_shindan\" target=\"_blank\" rel=\"noopener\" aria-label=\"\u516c\u5f0fLINE\u306e\u56fa\u5b9a\u8cbb\u524a\u6e1b\u8a3a\u65ad\uff08\u7121\u6599\u30fb\u7d041\u5206\uff09\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/09\/cta_blog_koteihi_line.jpg\" alt=\"\u5fa1\u793e\u304c\u6e1b\u3089\u305b\u308b\u56fa\u5b9a\u8cbb\u306f\u6708\u3044\u304f\u3089\u304b\uff5c\u516c\u5f0fLINE\u3067\u8cea\u554f\u306b\u7b54\u3048\u308b\u3060\u3051\uff08\u7121\u6599\u30fb\u7d041\u5206\uff09\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><\/div>\n\n\n<div id=\"sec-02\"><\/div>\n<h2 class=\"section-header-img\" style=\"margin:32px 0 24px;border-radius:8px;overflow:hidden;background:linear-gradient(135deg,#1a1a1a 0%,#2a1015 100%);padding:32px 28px;color:#fff;position:relative;border:none;border-left:none;text-align:left;\">\n  <span class=\"section-number\" style=\"display:block;\">02<\/span>\n  <span class=\"section-label\" style=\"display:block;\">SAMPLE CODE<\/span>\n  <span class=\"section-title\" style=\"display:block;\">\u5b9f\u8df5\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c94\u9078<\/span>\n  <span class=\"section-desc\">\u30b3\u30d4\u30da\u3057\u3066\u3059\u3050\u4f7f\u3048\u308b\u3001\u696d\u52d9\u3067\u3088\u304f\u3042\u308b\u30d1\u30bf\u30fc\u30f3<\/span>\n<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u3053\u304b\u3089\u306f\u3001\u5b9f\u969b\u306e\u696d\u52d9\u3067\u3088\u304f\u4f7f\u308f\u308c\u308b\u30d1\u30bf\u30fc\u30f3\u3092\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3067\u7d39\u4ecb\u3057\u307e\u3059\u3002\u305d\u306e\u307e\u307e\u30b3\u30d4\u30fc\u3057\u3066\u3001\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u306e\u90e8\u5206\u3060\u3051\u66f8\u304d\u63db\u3048\u308c\u3070\u52d5\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">2-1. \u30b5\u30f3\u30d7\u30eb1\uff1a\u30d6\u30c3\u30af\u3092\u958b\u3044\u3066\u5024\u3092\u8aad\u307f\u53d6\u308a\u3001\u9589\u3058\u308b<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u6700\u3082\u30b7\u30f3\u30d7\u30eb\u306a\u300c\u958b\u304f \u2192 \u8aad\u3080 \u2192 \u9589\u3058\u308b\u300d\u306e\u4e00\u9023\u306e\u6d41\u308c\u3067\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#1e1e1e;border-radius:8px;padding:20px 24px;margin:20px 0;overflow-x:auto;\">\n<pre style=\"margin:0;color:#d4d4d4;font-family:Consolas,Menlo,monospace;font-size:14px;line-height:1.7;\">Sub OpenAndRead()\n    Dim wb1 As Workbook\n    Dim val As Variant\n\n    Set wb1 = Workbooks.Open(\"C:\\data\\\u58f2\u4e0a\u30c7\u30fc\u30bf.xlsx\", ReadOnly:=True)\n    val = wb1.Sheets(\"Sheet1\").Range(\"B2\").Value\n    wb1.Close SaveChanges:=False\n\n    MsgBox \"\u53d6\u5f97\u3057\u305f\u5024: \" & val\nEnd Sub<\/pre>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u30dd\u30a4\u30f3\u30c8\u306f<strong>ReadOnly:=True<\/strong>\u3067\u958b\u304d\u3001<strong>SaveChanges:=False<\/strong>\u3067\u9589\u3058\u3066\u3044\u308b\u70b9\u3067\u3059\u3002\u5024\u3092\u8aad\u307f\u53d6\u308b\u3060\u3051\u306e\u51e6\u7406\u306a\u3089\u3001\u3053\u306e\u7d44\u307f\u5408\u308f\u305b\u3067\u5143\u30d5\u30a1\u30a4\u30eb\u3078\u306e\u610f\u56f3\u3057\u306a\u3044\u5909\u66f4\u3092\u78ba\u5b9f\u306b\u9632\u3052\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">2-2. \u30b5\u30f3\u30d7\u30eb2\uff1a\u8907\u6570\u30d6\u30c3\u30af\u306e\u30c7\u30fc\u30bf\u30921\u3064\u306b\u96c6\u7d04\u3059\u308b<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u300c\u30d5\u30a9\u30eb\u30c0\u5185\u306e\u8907\u6570\u306e\u58f2\u4e0a\u30d5\u30a1\u30a4\u30eb\u30921\u3064\u306e\u30b7\u30fc\u30c8\u306b\u96c6\u7d04\u3057\u305f\u3044\u300d\u3068\u3044\u3046\u3001\u5b9f\u52d9\u3067\u6700\u3082\u9700\u8981\u304c\u9ad8\u3044\u30d1\u30bf\u30fc\u30f3\u3067\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#1e1e1e;border-radius:8px;padding:20px 24px;margin:20px 0;overflow-x:auto;\">\n<pre style=\"margin:0;color:#d4d4d4;font-family:Consolas,Menlo,monospace;font-size:14px;line-height:1.7;\">Sub MergeMultipleBooks()\n    Dim folderPath As String, fileName As String\n    Dim wbSrc As Workbook\n    Dim wsDest As Worksheet\n    Dim nextRow As Long\n\n    folderPath = \"C:\\data\\\u6708\u6b21\u58f2\u4e0a\\\"\n    Set wsDest = ThisWorkbook.Sheets(\"\u96c6\u7d04\")\n    nextRow = 2\n\n    Application.DisplayAlerts = False\n    fileName = Dir(folderPath & \"*.xlsx\")\n\n    Do While fileName <> \"\"\n        Set wbSrc = Workbooks.Open(folderPath & fileName, ReadOnly:=True)\n        wbSrc.Sheets(1).Range(\"A2:D100\").Copy wsDest.Cells(nextRow, 1)\n        nextRow = wsDest.Cells(Rows.Count, 1).End(xlUp).Row + 1\n        wbSrc.Close SaveChanges:=False\n        fileName = Dir()\n    Loop\n\n    Application.DisplayAlerts = True\n    MsgBox \"\u96c6\u7d04\u5b8c\u4e86\"\nEnd Sub<\/pre>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Dir\u95a2\u6570<\/strong>\u3067\u30d5\u30a9\u30eb\u30c0\u5185\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u30921\u3064\u305a\u3064\u53d6\u5f97\u3057\u3001\u30eb\u30fc\u30d7\u3067\u5168\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u3044\u3066\u96c6\u7d04\u5148\u30b7\u30fc\u30c8\u306b\u30b3\u30d4\u30fc\u3057\u3066\u3044\u307e\u3059\u3002<strong>Application.DisplayAlerts = False<\/strong>\u3092\u5165\u308c\u308b\u3053\u3068\u3067\u3001\u30b3\u30d4\u30fc\u6642\u306b\u51fa\u308b\u78ba\u8a8d\u30c0\u30a4\u30a2\u30ed\u30b0\u3092\u6291\u5236\u3057\u3001\u51e6\u7406\u3092\u6b62\u3081\u305a\u306b\u6700\u5f8c\u307e\u3067\u8d70\u3089\u305b\u3089\u308c\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;\">DisplayAlerts\u306f\u5fc5\u305a\u5143\u306b\u623b\u3059<\/strong>\n  <\/div>\n  <p style=\"margin:0;font-size:15px;line-height:1.8;color:#333;\">Application.DisplayAlerts = False \u306b\u3057\u305f\u307e\u307e\u51e6\u7406\u304c\u4e2d\u65ad\uff08\u30a8\u30e9\u30fc\u7d42\u4e86\uff09\u3059\u308b\u3068\u3001\u305d\u306eExcel\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u5168\u4f53\u3067\u8b66\u544a\u8868\u793a\u304c\u30aa\u30d5\u306e\u72b6\u614b\u304c\u6b8b\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002\u51e6\u7406\u306e\u6700\u5f8c\u3067\u5fc5\u305a True \u306b\u623b\u3059\u3001\u307e\u305f\u306f\u30a8\u30e9\u30fc\u30cf\u30f3\u30c9\u30ea\u30f3\u30b0\uff08On Error\uff09\u5185\u3067\u3082\u623b\u3059\u51e6\u7406\u3092\u5165\u308c\u308b\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002<\/p>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">2-3. \u30b5\u30f3\u30d7\u30eb3\uff1a\u30d5\u30a1\u30a4\u30eb\u306e\u5b58\u5728\u78ba\u8a8d\u3092\u3057\u3066\u304b\u3089\u958b\u304f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u300c\u6307\u5b9a\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u304c\u5b58\u5728\u3057\u306a\u3044\u300d\u30b1\u30fc\u30b9\u3092\u3042\u3089\u304b\u3058\u3081\u9632\u3050\u3001\u5b89\u5168\u306aOpen\u51e6\u7406\u3067\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#1e1e1e;border-radius:8px;padding:20px 24px;margin:20px 0;overflow-x:auto;\">\n<pre style=\"margin:0;color:#d4d4d4;font-family:Consolas,Menlo,monospace;font-size:14px;line-height:1.7;\">Sub SafeOpen()\n    Dim targetPath As String\n    targetPath = \"C:\\data\\\u58f2\u4e0a\u30c7\u30fc\u30bf.xlsx\"\n\n    If Dir(targetPath) = \"\" Then\n        MsgBox \"\u30d5\u30a1\u30a4\u30eb\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093: \" & targetPath\n        Exit Sub\n    End If\n\n    Dim wb1 As Workbook\n    Set wb1 = Workbooks.Open(targetPath)\n    ' \u3053\u3053\u304b\u3089\u51e6\u7406\n    wb1.Close SaveChanges:=False\nEnd Sub<\/pre>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Dir(targetPath) = \"\"<\/strong>\u3068\u3044\u3046\u5224\u5b9a\u306f\u3001\u300c\u305d\u306e\u30d1\u30b9\u306b\u30d5\u30a1\u30a4\u30eb\u304c\u5b58\u5728\u3057\u306a\u3044\u300d\u3053\u3068\u3092\u610f\u5473\u3057\u307e\u3059\u3002\u3053\u306e1\u884c\u3092\u5148\u982d\u306b\u5165\u308c\u308b\u3060\u3051\u3067\u3001\u6b21\u7ae0\u3067\u7d39\u4ecb\u3059\u308b\u300c\u30d5\u30a1\u30a4\u30eb\u304c\u898b\u3064\u304b\u3089\u306a\u3044\u300d\u30a8\u30e9\u30fc\u306e\u5927\u534a\u3092\u672a\u7136\u306b\u9632\u3052\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">2-4. \u30b5\u30f3\u30d7\u30eb4\uff1a\u3059\u3067\u306b\u958b\u3044\u3066\u3044\u308b\u30d6\u30c3\u30af\u304b\u3069\u3046\u304b\u3092\u5224\u5b9a\u3059\u308b<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u540c\u3058\u30d6\u30c3\u30af\u3092\u4e8c\u91cd\u306b\u958b\u3044\u3066\u3057\u307e\u3046\u4e8b\u6545\u3092\u9632\u3050\u305f\u3081\u306e\u3001\u5b9f\u52d9\u3067\u5730\u5473\u306b\u5f79\u7acb\u3064\u30d1\u30bf\u30fc\u30f3\u3067\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#1e1e1e;border-radius:8px;padding:20px 24px;margin:20px 0;overflow-x:auto;\">\n<pre style=\"margin:0;color:#d4d4d4;font-family:Consolas,Menlo,monospace;font-size:14px;line-height:1.7;\">Function IsWorkbookOpen(wbName As String) As Boolean\n    Dim wb As Workbook\n    On Error Resume Next\n    Set wb = Workbooks(wbName)\n    IsWorkbookOpen = Not (wb Is Nothing)\n    On Error GoTo 0\nEnd Function\n\nSub OpenIfNotAlready()\n    Dim path As String, name As String\n    path = \"C:\\data\\\u58f2\u4e0a\u30c7\u30fc\u30bf.xlsx\"\n    name = \"\u58f2\u4e0a\u30c7\u30fc\u30bf.xlsx\"\n\n    If IsWorkbookOpen(name) Then\n        MsgBox \"\u3059\u3067\u306b\u958b\u3044\u3066\u3044\u307e\u3059\"\n    Else\n        Workbooks.Open path\n    End If\nEnd Sub<\/pre>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>On Error Resume Next<\/strong>\u3092\u4f7f\u3063\u3066\u300c\u8a72\u5f53\u30d6\u30c3\u30af\u304c\u5b58\u5728\u3057\u306a\u3051\u308c\u3070\u30a8\u30e9\u30fc\u306b\u306a\u308b\u300d\u52d5\u304d\u3092\u5229\u7528\u3057\u3001\u5b58\u5728\u30c1\u30a7\u30c3\u30af\u306b\u8ee2\u7528\u3057\u3066\u3044\u308b\u306e\u304c\u30dd\u30a4\u30f3\u30c8\u3067\u3059\u3002\u3053\u306e\u5224\u5b9a\u3092\u631f\u3080\u3053\u3068\u3067\u3001\u8907\u6570\u4eba\u304c\u540c\u3058\u30de\u30af\u30ed\u3092\u5b9f\u884c\u3059\u308b\u3088\u3046\u306a\u74b0\u5883\u3067\u3082\u3001\u4e8c\u91cd\u30aa\u30fc\u30d7\u30f3\u306b\u3088\u308b\u30c8\u30e9\u30d6\u30eb\u3092\u9632\u3052\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\">4\u3064\u306e\u30b5\u30f3\u30d7\u30eb\u306f\u3069\u308c\u3082\u5b9f\u52d9\u3067\u305d\u306e\u307e\u307e\u4f7f\u3048\u308b\u5f62\u306b\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u30d5\u30a9\u30eb\u30c0\u69cb\u6210\u3084\u30d5\u30a1\u30a4\u30eb\u540d\u306e\u30eb\u30fc\u30eb\u306f\u4f1a\u793e\u306b\u3088\u3063\u3066\u9055\u3044\u307e\u3059\u3002\u300c\u81ea\u5206\u306e\u72b6\u6cc1\u306b\u3069\u3046\u5f53\u3066\u306f\u3081\u308b\u304b\u300d\u3067\u8a70\u307e\u3063\u305f\u3089\u3001\u30b3\u30fc\u30c9\u3092\u305d\u306e\u307e\u307eClaude Code\u306b\u8aad\u307e\u305b\u3066\u300c\u3053\u308c\u3092\u5f0a\u793e\u306e\u904b\u7528\u306b\u5408\u308f\u305b\u3066\u300d\u3068\u983c\u3080\u65b9\u304c\u65e9\u3044\u3067\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\">\u30b5\u30f3\u30d7\u30eb2\u306e\u300c\u8907\u6570\u30d6\u30c3\u30af\u96c6\u7d04\u300d\u306f\u3001\u5b9f\u52d9\u3067\u306e\u9700\u8981\u304c\u6700\u3082\u9ad8\u3044\u30d1\u30bf\u30fc\u30f3\u3067\u3059\u3002\u305f\u3060\u3001\u30d5\u30a9\u30eb\u30c0\u69cb\u6210\u3084\u30d5\u30a1\u30a4\u30eb\u540d\u306e\u30d1\u30bf\u30fc\u30f3\u304c\u5909\u308f\u308b\u305f\u3073\u306b\u30b3\u30fc\u30c9\u3092\u5fae\u4fee\u6b63\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u306e\u304c\u3001VBA\u306e\u5730\u5473\u306b\u9762\u5012\u306a\u70b9\u3067\u3082\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\/aibpo\/makase\/blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=vba-workbooks-open&#038;blog_slug=vba-workbooks-open&#038;blog_title=%E3%80%902026%E5%B9%B49%E6%9C%88%E6%9C%80%E6%96%B0%E3%80%91ExcelVBA%E3%81%AEWorkbooks.Open%E3%81%A7%E3%83%96%E3%83%83%E3%82%AF%E3%82%92%E9%96%8B%E3%81%8F%E6%96%B9%E6%B3%95%E5%AE%8C%E5%85%A8%E8%A7%A3%E8%AA%AC%EF%BD%9C%E3%82%A8%E3%83%A9%E3%83%BC%E5%AF%BE%E5%87%A6%E3%81%A8Claude%20Code%E3%81%A7%E3%81%AE%E8%87%AA%E5%8B%95%E5%8C%96%E3%81%BE%E3%81%A7&#038;blog_url=https%3A%2F%2Fgenai-ai.co.jp%2Fai-kanri%2Fblog%2Fvba-workbooks-open%2F&#038;utm_campaign=aibpo_makase\" target=\"_blank\" rel=\"noopener\" aria-label=\"AI\u793e\u54e1AIKATA\uff08\u670830\u4e07\u5186\u3067\u696d\u52d9\u307e\u304b\u305b\u653e\u984c\uff09\u306e\u7121\u6599\u76f8\u8ac7 \u4e88\u7d04\u30da\u30fc\u30b8\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/09\/cta_blog_makase_20260904.jpg\" alt=\"AI\u793e\u54e1AIKATA\uff5c\u670830\u4e07\u5186\u306e\u5b9a\u984d\u3067\u5fa1\u793e\u306e\u696d\u52d9\u3092\u307e\u308b\u3054\u3068\u5dfb\u304d\u53d6\u308a\u307e\u3059\uff08\u7121\u6599\u76f8\u8ac760\u5206\uff09\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><a href=\"https:\/\/aikanri.genai-ai.co.jp\/koteihi-line\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=vba-workbooks-open&#038;blog_slug=vba-workbooks-open&#038;blog_title=%E3%80%902026%E5%B9%B49%E6%9C%88%E6%9C%80%E6%96%B0%E3%80%91ExcelVBA%E3%81%AEWorkbooks.Open%E3%81%A7%E3%83%96%E3%83%83%E3%82%AF%E3%82%92%E9%96%8B%E3%81%8F%E6%96%B9%E6%B3%95%E5%AE%8C%E5%85%A8%E8%A7%A3%E8%AA%AC%EF%BD%9C%E3%82%A8%E3%83%A9%E3%83%BC%E5%AF%BE%E5%87%A6%E3%81%A8Claude%20Code%E3%81%A7%E3%81%AE%E8%87%AA%E5%8B%95%E5%8C%96%E3%81%BE%E3%81%A7&#038;blog_url=https%3A%2F%2Fgenai-ai.co.jp%2Fai-kanri%2Fblog%2Fvba-workbooks-open%2F&#038;utm_campaign=koteihi_shindan\" target=\"_blank\" rel=\"noopener\" aria-label=\"\u516c\u5f0fLINE\u306e\u56fa\u5b9a\u8cbb\u524a\u6e1b\u8a3a\u65ad\uff08\u7121\u6599\u30fb\u7d041\u5206\uff09\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/09\/cta_blog_koteihi_line.jpg\" alt=\"\u5fa1\u793e\u304c\u6e1b\u3089\u305b\u308b\u56fa\u5b9a\u8cbb\u306f\u6708\u3044\u304f\u3089\u304b\uff5c\u516c\u5f0fLINE\u3067\u8cea\u554f\u306b\u7b54\u3048\u308b\u3060\u3051\uff08\u7121\u6599\u30fb\u7d041\u5206\uff09\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><\/div>\n\n\n<div id=\"sec-03\"><\/div>\n<h2 class=\"section-header-img\" style=\"margin:32px 0 24px;border-radius:8px;overflow:hidden;background:linear-gradient(135deg,#1a1a1a 0%,#2a1015 100%);padding:32px 28px;color:#fff;position:relative;border:none;border-left:none;text-align:left;\">\n  <span class=\"section-number\" style=\"display:block;\">03<\/span>\n  <span class=\"section-label\" style=\"display:block;\">ERROR HANDLING<\/span>\n  <span class=\"section-title\" style=\"display:block;\">Open\u3067\u30a8\u30e9\u30fc\u306b\u306a\u308b\u4ee3\u8868\u30d1\u30bf\u30fc\u30f3\u3068\u5bfe\u51e6\u6cd5<\/span>\n  <span class=\"section-desc\">\u300c\u52d5\u304b\u306a\u3044\u300d\u3092\u300c\u306a\u305c\u52d5\u304b\u306a\u3044\u304b\u5206\u304b\u308b\u300d\u306b\u5909\u3048\u308b<\/span>\n<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Workbooks.Open\u3067\u6700\u3082\u591a\u3044\u76f8\u8ac7\u306f\u300c\u30a8\u30e9\u30fc\u3067\u6b62\u307e\u308b\u300d\u3068\u3044\u3046\u3082\u306e\u3067\u3059\u3002\u4ee3\u8868\u7684\u306a4\u3064\u306e\u30a8\u30e9\u30fc\u30d1\u30bf\u30fc\u30f3\u3068\u3001\u305d\u306e\u5bfe\u51e6\u6cd5\u3092\u6574\u7406\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<table>\n<thead><tr><th>\u30a8\u30e9\u30fc\u5185\u5bb9<\/th><th>\u4e3b\u306a\u539f\u56e0<\/th><th>\u5bfe\u51e6\u6cd5<\/th><\/tr><\/thead>\n<tbody>\n<tr><td>\u5b9f\u884c\u6642\u30a8\u30e9\u30fc1004\uff08\u30d5\u30a1\u30a4\u30eb\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\uff09<\/td><td>\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u306e\u8aa4\u308a\u30fb\u30d5\u30a1\u30a4\u30eb\u540d\u306e\u5909\u66f4\u30fb\u79fb\u52d5<\/td><td>Dir\u95a2\u6570\u3067\u4e8b\u524d\u306b\u5b58\u5728\u78ba\u8a8d\u3002\u30d1\u30b9\u306f\u5909\u6570\u5316\u3057\u3066\u4e00\u5143\u7ba1\u7406<\/td><\/tr>\n<tr><td>\u300c\u8aad\u307f\u53d6\u308a\u5c02\u7528\u3067\u958b\u304b\u308c\u3066\u3044\u307e\u3059\u300d\u306e\u8b66\u544a\u30c0\u30a4\u30a2\u30ed\u30b0<\/td><td>\u4ed6\u306e\u4eba\u304c\u65e2\u306b\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u3044\u3066\u3044\u308b<\/td><td>IsWorkbookOpen\u95a2\u6570\u3067\u4e8b\u524d\u5224\u5b9a\u3002\u307e\u305f\u306f\u4e00\u5b9a\u6642\u9593\u5f85\u3063\u3066\u518d\u8a66\u884c<\/td><\/tr>\n<tr><td>\u81ea\u52d5\u66f4\u65b0\u306e\u78ba\u8a8d\u30c0\u30a4\u30a2\u30ed\u30b0\u3067\u51e6\u7406\u304c\u6b62\u307e\u308b<\/td><td>\u30ea\u30f3\u30af\u3055\u308c\u305f\u5225\u30d6\u30c3\u30af\u3078\u306e\u53c2\u7167\u304c\u3042\u308b<\/td><td>UpdateLinks:=0 \u3092\u6307\u5b9a\u3057\u3066\u81ea\u52d5\u66f4\u65b0\u3092\u6291\u5236<\/td><\/tr>\n<tr><td>\u30d5\u30a1\u30a4\u30eb\u304c\u7834\u640d\u3057\u3066\u3044\u308b\u65e8\u306e\u30a8\u30e9\u30fc<\/td><td>\u30d5\u30a1\u30a4\u30eb\u304c\u4ed6\u30d7\u30ed\u30bb\u30b9\u3067\u66f8\u304d\u8fbc\u307f\u4e2d\u30fb\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u8d8a\u3057\u306e\u4e0d\u5b8c\u5168\u306a\u540c\u671f<\/td><td>\u30ed\u30fc\u30ab\u30eb\u306b\u30b3\u30d4\u30fc\u3057\u3066\u304b\u3089\u958b\u304f\u3002\u30af\u30e9\u30a6\u30c9\u540c\u671f\u306e\u5b8c\u4e86\u3092\u5f85\u3064\u51e6\u7406\u3092\u631f\u3080<\/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>\u5b9f\u884c\u6642\u30a8\u30e9\u30fc<\/strong>\uff1a\u30de\u30af\u30ed\u3092\u5b9f\u884c\u3057\u305f\u300c\u305d\u306e\u77ac\u9593\u300d\u306b\u767a\u751f\u3059\u308b\u30a8\u30e9\u30fc\u3002\u30b3\u30fc\u30c9\u306e\u6587\u6cd5\u81ea\u4f53\u306f\u6b63\u3057\u3044\u304c\u3001\u6307\u5b9a\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u304c\u5b58\u5728\u3057\u306a\u3044\u30fb\u578b\u304c\u5408\u308f\u306a\u3044\u306a\u3069\u3001\u5b9f\u884c\u6642\u306e\u72b6\u6cc1\u306b\u3088\u3063\u3066\u767a\u751f\u3059\u308b\u3002VBA\u306e\u30a8\u30e9\u30fc\u756a\u53f7\uff081004\u306a\u3069\uff09\u3067\u539f\u56e0\u3092\u7d5e\u308a\u8fbc\u3081\u308b\u3002<\/p>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">3-1. On Error\u3067\u30a8\u30e9\u30fc\u3092\u5236\u5fa1\u3059\u308b\u57fa\u672c\u30d1\u30bf\u30fc\u30f3<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u30a8\u30e9\u30fc\u3067\u51e6\u7406\u5168\u4f53\u304c\u6b62\u307e\u3063\u3066\u3057\u307e\u3046\u306e\u3092\u9632\u3050\u306b\u306f\u3001<strong>On Error<\/strong>\u6587\u3067\u30a8\u30e9\u30fc\u30cf\u30f3\u30c9\u30ea\u30f3\u30b0\u3092\u7d44\u307f\u8fbc\u307f\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#1e1e1e;border-radius:8px;padding:20px 24px;margin:20px 0;overflow-x:auto;\">\n<pre style=\"margin:0;color:#d4d4d4;font-family:Consolas,Menlo,monospace;font-size:14px;line-height:1.7;\">Sub OpenWithErrorHandling()\n    Dim wb1 As Workbook\n    On Error GoTo ErrHandler\n\n    Set wb1 = Workbooks.Open(\"C:\\data\\\u58f2\u4e0a\u30c7\u30fc\u30bf.xlsx\")\n    ' \u6b63\u5e38\u6642\u306e\u51e6\u7406\n    wb1.Close SaveChanges:=False\n    Exit Sub\n\nErrHandler:\n    MsgBox \"\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f: \" & Err.Description\nEnd Sub<\/pre>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Err.Description<\/strong>\u306b\u306f\u3001\u767a\u751f\u3057\u305f\u30a8\u30e9\u30fc\u306e\u5185\u5bb9\u304c\u81ea\u52d5\u7684\u306b\u683c\u7d0d\u3055\u308c\u307e\u3059\u3002\u300c\u306a\u305c\u6b62\u307e\u3063\u305f\u304b\u300d\u304c\u30e1\u30c3\u30bb\u30fc\u30b8\u30dc\u30c3\u30af\u30b9\u3067\u5373\u5ea7\u306b\u5206\u304b\u308b\u305f\u3081\u3001\u539f\u56e0\u8abf\u67fb\u306e\u6642\u9593\u3092\u5927\u5e45\u306b\u77ed\u7e2e\u3067\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;\">\u30a8\u30e9\u30fc\u5bfe\u51e6\u306e\u512a\u5148\u9806\u4f4d<\/strong>\n  <\/div>\n  <p style=\"margin:0;font-size:15px;line-height:1.8;color:#333;\">\u307e\u305a\u300c\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u304c\u6b63\u3057\u3044\u304b\u300d\u3092\u7591\u3046\u306e\u304c\u6700\u901f\u3067\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u540d\u306e\u5168\u89d2\u30b9\u30da\u30fc\u30b9\u6df7\u5165\u30fb\u62e1\u5f35\u5b50\u9055\u3044\uff08.xlsx \/ .xlsm\uff09\u30fb\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30c9\u30e9\u30a4\u30d6\u306e\u30d1\u30b9\u5909\u66f4\u304c\u3001\u5b9f\u52d9\u3067\u6700\u3082\u591a\u3044\u30a8\u30e9\u30fc\u539f\u56e0\u3067\u3059\u3002\u30b3\u30fc\u30c9\u306e\u30ed\u30b8\u30c3\u30af\u3092\u7591\u3046\u524d\u306b\u3001\u307e\u305a\u30d1\u30b9\u6587\u5b57\u5217\u3092\u30b3\u30f3\u30bd\u30fc\u30eb\u306b\u51fa\u529b\uff08Debug.Print\uff09\u3057\u3066\u76ee\u8996\u78ba\u8a8d\u3059\u308b\u7fd2\u6163\u3092\u3064\u3051\u307e\u3057\u3087\u3046\u3002<\/p>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">3-2. \u30d1\u30b9\u30ef\u30fc\u30c9\u4fdd\u8b77\u3055\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u304f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u793e\u5185\u306e\u6a5f\u5bc6\u6027\u306e\u9ad8\u3044Excel\u30d5\u30a1\u30a4\u30eb\u306b\u306f\u3001\u958b\u304f\u30d1\u30b9\u30ef\u30fc\u30c9\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u306e\u5834\u5408\u3001\u7b2c3\u5f15\u6570\u306b\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#1e1e1e;border-radius:8px;padding:20px 24px;margin:20px 0;overflow-x:auto;\">\n<pre style=\"margin:0;color:#d4d4d4;font-family:Consolas,Menlo,monospace;font-size:14px;line-height:1.7;\">Set wb1 = Workbooks.Open(\"C:\\data\\\u6a5f\u5bc6\u30c7\u30fc\u30bf.xlsx\", Password:=\"\u793e\u5916\u79d8\u30d1\u30b9\")<\/pre>\n<\/div>\n\n\n\n<div style=\"background:#fef2f2;border:2px solid #dc2626;border-radius:8px;padding:20px 24px;margin:24px 0;\">\n  <div style=\"display:flex;align-items:center;gap:8px;margin-bottom:12px;\">\n    <span style=\"font-size:20px;\">&#9888;&#65039;<\/span>\n    <strong style=\"color:#dc2626;font-size:16px;\">\u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u30b3\u30fc\u30c9\u5185\u76f4\u66f8\u304d\u306f\u907f\u3051\u308b<\/strong>\n  <\/div>\n  <p style=\"margin:0;font-size:15px;line-height:1.8;color:#333;\">\u30d1\u30b9\u30ef\u30fc\u30c9\u3092VBA\u30b3\u30fc\u30c9\u5185\u306b\u5e73\u6587\u3067\u66f8\u304f\u3068\u3001\u30de\u30af\u30ed\u7de8\u96c6\u753b\u9762\uff08Alt+F11\uff09\u3092\u958b\u3051\u3070\u8ab0\u3067\u3082\u8aad\u3081\u3066\u3057\u307e\u3044\u307e\u3059\u3002\u5171\u6709\u7aef\u672b\u3084\u8907\u6570\u4eba\u3067\u4f7f\u3046\u30de\u30af\u30ed\u306e\u5834\u5408\u306f\u3001\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5225\u9014\u6697\u53f7\u5316\u30d5\u30a1\u30a4\u30eb\u3084Windows\u8cc7\u683c\u60c5\u5831\u306b\u4fdd\u5b58\u3057\u3001\u5b9f\u884c\u6642\u306b\u8aad\u307f\u8fbc\u3080\u65b9\u5f0f\u306b\u5909\u66f4\u3059\u308b\u3053\u3068\u3092\u63a8\u5968\u3057\u307e\u3059\u3002<\/p>\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\">\u30a8\u30e9\u30fc\u5bfe\u51e6\u306f\u300c\u767a\u751f\u3057\u3066\u304b\u3089\u76f4\u3059\u300d\u306e\u3067\u306f\u306a\u304f\u300c\u767a\u751f\u3057\u3046\u308b\u7b87\u6240\u3092\u5148\u306b\u6f70\u3057\u3066\u304a\u304f\u300d\u306e\u304c\u672c\u8cea\u3067\u3059\u3002Dir\u95a2\u6570\u3067\u306e\u5b58\u5728\u78ba\u8a8d\u3068On Error\u306e2\u3064\u3092\u578b\u3068\u3057\u3066\u899a\u3048\u3066\u304a\u3051\u3070\u3001Open\u30e1\u30bd\u30c3\u30c9\u3067\u8a70\u307e\u308b\u5834\u9762\u306f\u307b\u3068\u3093\u3069\u306a\u304f\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\/aibpo\/makase\/blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=vba-workbooks-open&#038;blog_slug=vba-workbooks-open&#038;blog_title=%E3%80%902026%E5%B9%B49%E6%9C%88%E6%9C%80%E6%96%B0%E3%80%91ExcelVBA%E3%81%AEWorkbooks.Open%E3%81%A7%E3%83%96%E3%83%83%E3%82%AF%E3%82%92%E9%96%8B%E3%81%8F%E6%96%B9%E6%B3%95%E5%AE%8C%E5%85%A8%E8%A7%A3%E8%AA%AC%EF%BD%9C%E3%82%A8%E3%83%A9%E3%83%BC%E5%AF%BE%E5%87%A6%E3%81%A8Claude%20Code%E3%81%A7%E3%81%AE%E8%87%AA%E5%8B%95%E5%8C%96%E3%81%BE%E3%81%A7&#038;blog_url=https%3A%2F%2Fgenai-ai.co.jp%2Fai-kanri%2Fblog%2Fvba-workbooks-open%2F&#038;utm_campaign=aibpo_makase\" target=\"_blank\" rel=\"noopener\" aria-label=\"AI\u793e\u54e1AIKATA\uff08\u670830\u4e07\u5186\u3067\u696d\u52d9\u307e\u304b\u305b\u653e\u984c\uff09\u306e\u7121\u6599\u76f8\u8ac7 \u4e88\u7d04\u30da\u30fc\u30b8\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/09\/cta_blog_makase_20260904.jpg\" alt=\"AI\u793e\u54e1AIKATA\uff5c\u670830\u4e07\u5186\u306e\u5b9a\u984d\u3067\u5fa1\u793e\u306e\u696d\u52d9\u3092\u307e\u308b\u3054\u3068\u5dfb\u304d\u53d6\u308a\u307e\u3059\uff08\u7121\u6599\u76f8\u8ac760\u5206\uff09\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><a href=\"https:\/\/aikanri.genai-ai.co.jp\/koteihi-line\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=vba-workbooks-open&#038;blog_slug=vba-workbooks-open&#038;blog_title=%E3%80%902026%E5%B9%B49%E6%9C%88%E6%9C%80%E6%96%B0%E3%80%91ExcelVBA%E3%81%AEWorkbooks.Open%E3%81%A7%E3%83%96%E3%83%83%E3%82%AF%E3%82%92%E9%96%8B%E3%81%8F%E6%96%B9%E6%B3%95%E5%AE%8C%E5%85%A8%E8%A7%A3%E8%AA%AC%EF%BD%9C%E3%82%A8%E3%83%A9%E3%83%BC%E5%AF%BE%E5%87%A6%E3%81%A8Claude%20Code%E3%81%A7%E3%81%AE%E8%87%AA%E5%8B%95%E5%8C%96%E3%81%BE%E3%81%A7&#038;blog_url=https%3A%2F%2Fgenai-ai.co.jp%2Fai-kanri%2Fblog%2Fvba-workbooks-open%2F&#038;utm_campaign=koteihi_shindan\" target=\"_blank\" rel=\"noopener\" aria-label=\"\u516c\u5f0fLINE\u306e\u56fa\u5b9a\u8cbb\u524a\u6e1b\u8a3a\u65ad\uff08\u7121\u6599\u30fb\u7d041\u5206\uff09\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/09\/cta_blog_koteihi_line.jpg\" alt=\"\u5fa1\u793e\u304c\u6e1b\u3089\u305b\u308b\u56fa\u5b9a\u8cbb\u306f\u6708\u3044\u304f\u3089\u304b\uff5c\u516c\u5f0fLINE\u3067\u8cea\u554f\u306b\u7b54\u3048\u308b\u3060\u3051\uff08\u7121\u6599\u30fb\u7d041\u5206\uff09\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><\/div>\n\n\n<div id=\"sec-04\"><\/div>\n<h2 class=\"section-header-img\" style=\"margin:32px 0 24px;border-radius:8px;overflow:hidden;background:linear-gradient(135deg,#1a1a1a 0%,#2a1015 100%);padding:32px 28px;color:#fff;position:relative;border:none;border-left:none;text-align:left;\">\n  <span class=\"section-number\" style=\"display:block;\">04<\/span>\n  <span class=\"section-label\" style=\"display:block;\">RELATED METHODS<\/span>\n  <span class=\"section-title\" style=\"display:block;\">\u5408\u308f\u305b\u3066\u899a\u3048\u305f\u3044\u30d6\u30c3\u30af\u64cd\u4f5c<\/span>\n  <span class=\"section-desc\">Open\u3068Close\u306f\u30bb\u30c3\u30c8\u3067\u899a\u3048\u308b\u306e\u304c\u57fa\u672c<\/span>\n<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Workbooks.Open\u3092\u4f7f\u3044\u3053\u306a\u3059\u4e0a\u3067\u3001\u30bb\u30c3\u30c8\u3067\u899a\u3048\u3066\u304a\u304f\u3079\u304d\u95a2\u9023\u30e1\u30bd\u30c3\u30c9\u30fb\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u6574\u7406\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"g-flow-row\" style=\"margin:24px 0;\">\n  <div class=\"g-flow-item\"><strong>Open<\/strong><br><span style=\"font-size:12px;\">\u30d6\u30c3\u30af\u3092<br>\u958b\u304f<\/span><\/div>\n  <div class=\"g-flow-arrow\">&#8594;<\/div>\n  <div class=\"g-flow-item\"><strong>\u64cd\u4f5c<\/strong><br><span style=\"font-size:12px;\">\u5024\u306e\u8aad\u307f\u53d6\u308a\u30fb<br>\u7de8\u96c6\u30fb\u30b3\u30d4\u30fc<\/span><\/div>\n  <div class=\"g-flow-arrow\">&#8594;<\/div>\n  <div class=\"g-flow-item\"><strong>Save<\/strong><br><span style=\"font-size:12px;\">\u5fc5\u8981\u306a\u3089<br>\u4fdd\u5b58<\/span><\/div>\n  <div class=\"g-flow-arrow\">&#8594;<\/div>\n  <div class=\"g-flow-item\"><strong>Close<\/strong><br><span style=\"font-size:12px;\">\u30d6\u30c3\u30af\u3092<br>\u9589\u3058\u308b<\/span><\/div>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u300cOpen \u2192 \u64cd\u4f5c \u2192 (Save) \u2192 Close\u300d\u306e\u6d41\u308c\u304cVBA\u3067\u30d6\u30c3\u30af\u3092\u6271\u3046\u969b\u306e\u57fa\u672c\u30d1\u30bf\u30fc\u30f3\u3067\u3059\u3002\u7279\u306b<strong>Close\u3092\u5fd8\u308c\u308b<\/strong>\u3068\u3001\u958b\u3044\u305f\u307e\u307e\u306e\u30d6\u30c3\u30af\u304c\u30d0\u30c3\u30af\u30b0\u30e9\u30a6\u30f3\u30c9\u306b\u6e9c\u307e\u308a\u3001\u30e1\u30e2\u30ea\u3092\u6d88\u8cbb\u3057\u7d9a\u3051\u308b\u539f\u56e0\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">4-1. Close\uff1a\u30d6\u30c3\u30af\u3092\u9589\u3058\u308b<\/h3>\n\n\n\n<table>\n<thead><tr><th>\u5f15\u6570\u6307\u5b9a<\/th><th>\u52d5\u4f5c<\/th><\/tr><\/thead>\n<tbody>\n<tr><td>wb1.Close SaveChanges:=False<\/td><td>\u5909\u66f4\u3092\u4fdd\u5b58\u305b\u305a\u306b\u9589\u3058\u308b\uff08\u96c6\u8a08\u30fb\u53c2\u7167\u306e\u307f\u306e\u51e6\u7406\u5411\u304d\uff09<\/td><\/tr>\n<tr><td>wb1.Close SaveChanges:=True<\/td><td>\u5909\u66f4\u3092\u4fdd\u5b58\u3057\u3066\u304b\u3089\u9589\u3058\u308b<\/td><\/tr>\n<tr><td>wb1.Close\uff08\u5f15\u6570\u7701\u7565\uff09<\/td><td>\u5909\u66f4\u304c\u3042\u308c\u3070\u4fdd\u5b58\u78ba\u8a8d\u30c0\u30a4\u30a2\u30ed\u30b0\u304c\u8868\u793a\u3055\u308c\u308b\uff08\u81ea\u52d5\u51e6\u7406\u3067\u306f\u975e\u63a8\u5968\uff09<\/td><\/tr>\n<\/tbody>\n<\/table>\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;\">\u81ea\u52d5\u51e6\u7406\u3067\u306f\u5f15\u6570\u3092\u5fc5\u305a\u660e\u793a\u3059\u308b<\/strong>\n  <\/div>\n  <p style=\"margin:0;font-size:15px;line-height:1.8;color:#333;\">\u81ea\u52d5\u5316\u30de\u30af\u30ed\u306e\u4e2d\u3067Close\u306e\u5f15\u6570\u3092\u7701\u7565\u3059\u308b\u3068\u3001\u5909\u66f4\u304c\u3042\u3063\u305f\u5834\u5408\u306b\u78ba\u8a8d\u30c0\u30a4\u30a2\u30ed\u30b0\u304c\u8868\u793a\u3055\u308c\u3001\u51e6\u7406\u304c\u305d\u3053\u3067\u6b62\u307e\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002\u30d0\u30c3\u30c1\u51e6\u7406\u30fb\u5b9a\u671f\u5b9f\u884c\u306e\u30de\u30af\u30ed\u3067\u306f\u3001SaveChanges:=True\/False\u3092\u5fc5\u305a\u660e\u793a\u7684\u306b\u6307\u5b9a\u3059\u308b\u306e\u304c\u9244\u5247\u3067\u3059\u3002<\/p>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">4-2. ActiveWorkbook \/ ThisWorkbook \u306e\u9055\u3044<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e2\u3064\u306f\u3088\u304f\u6df7\u540c\u3055\u308c\u308b\u305f\u3081\u3001\u660e\u78ba\u306b\u533a\u5225\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#f8f9fa;border-left:4px solid #6b7280;border-radius:0 8px 8px 0;padding:16px 20px;margin:20px 0;\">\n  <p style=\"margin:0 0 4px;font-size:13px;font-weight:700;color:#6b7280;letter-spacing:1px;\">&#128218; \u7528\u8a9e\u89e3\u8aac<\/p>\n  <p style=\"margin:0;font-size:15px;line-height:1.7;\"><strong>ActiveWorkbook<\/strong>\uff1a\u73fe\u5728\u30a2\u30af\u30c6\u30a3\u30d6\uff08\u6700\u524d\u9762\u3067\u64cd\u4f5c\u4e2d\uff09\u306b\u306a\u3063\u3066\u3044\u308b\u30d6\u30c3\u30af\u3092\u6307\u3059\u3002Workbooks.Open\u3067\u958b\u3044\u305f\u76f4\u5f8c\u306f\u3001\u305d\u306e\u30d6\u30c3\u30af\u304c\u81ea\u52d5\u7684\u306bActiveWorkbook\u306b\u306a\u308b\u3002\u305f\u3060\u3057\u51e6\u7406\u4e2d\u306b\u5225\u306e\u30d6\u30c3\u30af\u306b\u5207\u308a\u66ff\u308f\u308b\u3068\u53c2\u7167\u5148\u3082\u5909\u308f\u308b\u305f\u3081\u3001\u8907\u6570\u30d6\u30c3\u30af\u3092\u64cd\u4f5c\u3059\u308b\u51e6\u7406\u3067\u306f\u6271\u3044\u306b\u6ce8\u610f\u304c\u5fc5\u8981\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>ThisWorkbook<\/strong>\uff1a\u305d\u306eVBA\u30b3\u30fc\u30c9\uff08\u30de\u30af\u30ed\uff09\u304c\u66f8\u304b\u308c\u3066\u3044\u308b\u3001\u30de\u30af\u30ed\u306e\u5b9f\u884c\u5143\u306e\u30d6\u30c3\u30af\u81ea\u8eab\u3092\u6307\u3059\u3002\u4ed6\u306e\u30d6\u30c3\u30af\u3092\u3069\u308c\u3060\u3051\u958b\u3044\u305f\u308a\u5207\u308a\u66ff\u3048\u305f\u308a\u3057\u3066\u3082\u3001ThisWorkbook\u306e\u53c2\u7167\u5148\u306f\u5909\u308f\u3089\u306a\u3044\u3002\u96c6\u7d04\u5148\u306e\u30b7\u30fc\u30c8\u3092\u6307\u5b9a\u3059\u308b\u969b\u306a\u3069\u3001\u78ba\u5b9f\u6027\u304c\u5fc5\u8981\u306a\u5834\u9762\u3067\u306fActiveWorkbook\u3088\u308aThisWorkbook\u3092\u4f7f\u3046\u65b9\u304c\u5b89\u5168\u3002<\/p>\n<\/div>\n\n\n\n<div style=\"background:#fafafa;border-radius:8px;padding:16px 20px;margin:16px 0;border-left:4px solid #dc2626;\">\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span>\u96c6\u7d04\u5148\u30fb\u4fdd\u5b58\u5143\u306e\u30b7\u30fc\u30c8\u3092\u6307\u5b9a\u3059\u308b \u2192 ThisWorkbook\u3067\u56fa\u5b9a\u7684\u306b\u53c2\u7167<\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span>\u300c\u4eca\u958b\u3044\u305f\uff08\u958b\u3044\u3066\u3044\u308b\uff09\u30d6\u30c3\u30af\u300d\u3092\u6307\u3059 \u2192 Open\u306e\u623b\u308a\u5024\u3092Set\u3067\u53d7\u3051\u305f\u5909\u6570\u3092\u4f7f\u3046\uff08ActiveWorkbook\u306f\u907f\u3051\u308b\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>\u8907\u6570\u30d6\u30c3\u30af\u3092\u540c\u6642\u306b\u6271\u3046\u51e6\u7406 \u2192 \u3059\u3079\u3066\u306e\u30d6\u30c3\u30af\u3092\u500b\u5225\u306e\u5909\u6570\u306b\u683c\u7d0d\u3057\u3001ActiveWorkbook\u306f\u4f7f\u308f\u306a\u3044<\/span><\/div>\n\n<\/div>\n\n\n\n<div class=\"balloon-wrap\">\n  <div class=\"balloon-icon\">\n    <img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/04\/ceo-sugasawa.jpg\" alt=\"\u4ee3\u8868\u83c5\u6fa4\">\n    <span class=\"balloon-name\">\u4ee3\u8868\u83c5\u6fa4<\/span>\n  <\/div>\n  <div class=\"balloon-body\">ActiveWorkbook\u306f\u521d\u5fc3\u8005\u307b\u3069\u4f7f\u3044\u305f\u304f\u306a\u308b\u3093\u3067\u3059\u304c\u3001\u8907\u6570\u30d6\u30c3\u30af\u3092\u6271\u3046\u51e6\u7406\u306b\u306a\u3063\u305f\u77ac\u9593\u306b\u30d0\u30b0\u306e\u6e29\u5e8a\u306b\u306a\u308a\u307e\u3059\u3002\u57fa\u672c\u306f\u300cOpen\u3057\u305f\u77ac\u9593\u306b\u5909\u6570\u3067\u53d7\u3051\u53d6\u308b\u300d\u3092\u5fb9\u5e95\u3059\u308b\u306e\u304c\u5b89\u5168\u3067\u3059\u3002<\/div>\n<\/div>\n\n\n<div style=\"margin:48px 0 8px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap;\"><a href=\"https:\/\/aikanri.genai-ai.co.jp\/aibpo\/makase\/blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=vba-workbooks-open&#038;blog_slug=vba-workbooks-open&#038;blog_title=%E3%80%902026%E5%B9%B49%E6%9C%88%E6%9C%80%E6%96%B0%E3%80%91ExcelVBA%E3%81%AEWorkbooks.Open%E3%81%A7%E3%83%96%E3%83%83%E3%82%AF%E3%82%92%E9%96%8B%E3%81%8F%E6%96%B9%E6%B3%95%E5%AE%8C%E5%85%A8%E8%A7%A3%E8%AA%AC%EF%BD%9C%E3%82%A8%E3%83%A9%E3%83%BC%E5%AF%BE%E5%87%A6%E3%81%A8Claude%20Code%E3%81%A7%E3%81%AE%E8%87%AA%E5%8B%95%E5%8C%96%E3%81%BE%E3%81%A7&#038;blog_url=https%3A%2F%2Fgenai-ai.co.jp%2Fai-kanri%2Fblog%2Fvba-workbooks-open%2F&#038;utm_campaign=aibpo_makase\" target=\"_blank\" rel=\"noopener\" aria-label=\"AI\u793e\u54e1AIKATA\uff08\u670830\u4e07\u5186\u3067\u696d\u52d9\u307e\u304b\u305b\u653e\u984c\uff09\u306e\u7121\u6599\u76f8\u8ac7 \u4e88\u7d04\u30da\u30fc\u30b8\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/09\/cta_blog_makase_20260904.jpg\" alt=\"AI\u793e\u54e1AIKATA\uff5c\u670830\u4e07\u5186\u306e\u5b9a\u984d\u3067\u5fa1\u793e\u306e\u696d\u52d9\u3092\u307e\u308b\u3054\u3068\u5dfb\u304d\u53d6\u308a\u307e\u3059\uff08\u7121\u6599\u76f8\u8ac760\u5206\uff09\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><a href=\"https:\/\/aikanri.genai-ai.co.jp\/koteihi-line\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=vba-workbooks-open&#038;blog_slug=vba-workbooks-open&#038;blog_title=%E3%80%902026%E5%B9%B49%E6%9C%88%E6%9C%80%E6%96%B0%E3%80%91ExcelVBA%E3%81%AEWorkbooks.Open%E3%81%A7%E3%83%96%E3%83%83%E3%82%AF%E3%82%92%E9%96%8B%E3%81%8F%E6%96%B9%E6%B3%95%E5%AE%8C%E5%85%A8%E8%A7%A3%E8%AA%AC%EF%BD%9C%E3%82%A8%E3%83%A9%E3%83%BC%E5%AF%BE%E5%87%A6%E3%81%A8Claude%20Code%E3%81%A7%E3%81%AE%E8%87%AA%E5%8B%95%E5%8C%96%E3%81%BE%E3%81%A7&#038;blog_url=https%3A%2F%2Fgenai-ai.co.jp%2Fai-kanri%2Fblog%2Fvba-workbooks-open%2F&#038;utm_campaign=koteihi_shindan\" target=\"_blank\" rel=\"noopener\" aria-label=\"\u516c\u5f0fLINE\u306e\u56fa\u5b9a\u8cbb\u524a\u6e1b\u8a3a\u65ad\uff08\u7121\u6599\u30fb\u7d041\u5206\uff09\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/09\/cta_blog_koteihi_line.jpg\" alt=\"\u5fa1\u793e\u304c\u6e1b\u3089\u305b\u308b\u56fa\u5b9a\u8cbb\u306f\u6708\u3044\u304f\u3089\u304b\uff5c\u516c\u5f0fLINE\u3067\u8cea\u554f\u306b\u7b54\u3048\u308b\u3060\u3051\uff08\u7121\u6599\u30fb\u7d041\u5206\uff09\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><\/div>\n\n\n<div id=\"sec-05\"><\/div>\n<h2 class=\"section-header-img\" style=\"margin:32px 0 24px;border-radius:8px;overflow:hidden;background:linear-gradient(135deg,#1a1a1a 0%,#2a1015 100%);padding:32px 28px;color:#fff;position:relative;border:none;border-left:none;text-align:left;\">\n  <span class=\"section-number\" style=\"display:block;\">05<\/span>\n  <span class=\"section-label\" style=\"display:block;\">GENAI CASE STUDY<\/span>\n  <span class=\"section-title\" style=\"display:block;\">\u3010\u72ec\u81ea\u30c7\u30fc\u30bf\u3011GENAI\u793e\u5185\u306eExcel\u696d\u52d9\u81ea\u52d5\u5316\u5b9f\u7e3e<\/span>\n  <span class=\"section-desc\">VBA\u3092\u66f8\u304f\u6642\u9593\u305d\u306e\u3082\u306e\u3092\u3069\u3046\u524a\u6e1b\u3057\u3066\u3044\u308b\u304b<\/span>\n<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u3053\u307e\u3067VBA\u306eOpen\u30e1\u30bd\u30c3\u30c9\u306e\u4f7f\u3044\u65b9\u3092\u89e3\u8aac\u3057\u3066\u304d\u307e\u3057\u305f\u304c\u3001\u5f0a\u793e\uff08\u682a\u5f0f\u4f1a\u793eGENAI\uff09\u3067\u306f\u3001\u5b9f\u306f\u3053\u3046\u3057\u305fVBA\u30b3\u30fc\u30c9\u3092<strong>\u4eba\u304c\u66f8\u304f\u5834\u9762\u81ea\u4f53\u3092\u5927\u5e45\u306b\u6e1b\u3089\u3057\u3066\u3044\u307e\u3059<\/strong>\u3002\u3053\u3053\u3067\u306f\u3001\u793e\u5185\u306e\u5b9f\u904b\u7528\u30c7\u30fc\u30bf\u3092\u516c\u958b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">5-1. \u5f0a\u793e\u306e\u5951\u7d04\u30d7\u30e9\u30f3\u3068\u5c0e\u5165\u7bc4\u56f2<\/h3>\n\n\n\n<table>\n<thead><tr><th>\u9805\u76ee<\/th><th>\u5185\u5bb9<\/th><\/tr><\/thead>\n<tbody>\n<tr><td>\u5951\u7d04\u30d7\u30e9\u30f3<\/td><td>Claude Max 20x\uff08\u6708\u984d$200 \/ \u7d0430,000\u5186\uff09<\/td><\/tr>\n<tr><td>\u5229\u7528\u958b\u59cb<\/td><td>2025\u5e74\u5f8c\u534a\u301c<\/td><\/tr>\n<tr><td>\u5229\u7528\u90e8\u7f72<\/td><td>\u7d4c\u55b6\u30fb\u55b6\u696d\u30fb\u5e83\u544a\u30fb\u958b\u767a\u30fb\u7d4c\u7406\u30fb\u79d8\u66f8\u696d\u52d9\u30fb\u500b\u4eba\u696d\u52d9\u307e\u3067\u5168\u793e<\/td><\/tr>\n<tr><td>Excel\u95a2\u9023\u306e\u4e3b\u306a\u7528\u9014<\/td><td>\u8907\u6570\u30d6\u30c3\u30af\u96c6\u7d04\u30fb\u8acb\u6c42\u66f8\u30c1\u30a7\u30c3\u30af\u30fb\u7d4c\u8cbb\u4ed5\u8a33\u306eExcel\u30de\u30af\u30ed\u751f\u6210\u30fb\u4fee\u6b63<\/td><\/tr>\n<\/tbody>\n<\/table>\n\n\n\n<p class=\"wp-block-paragraph\">\u5f0a\u793e\u3067\u306f\u300cExcel\u306e\u30d6\u30c3\u30af\u96c6\u7d04\u4f5c\u696d\u300d\u3084\u300c\u8acb\u6c42\u66f8\u30c1\u30a7\u30c3\u30af\u306e\u305f\u3081\u306e\u30de\u30af\u30ed\u300d\u304c\u5fc5\u8981\u306b\u306a\u3063\u305f\u969b\u3001\u62c5\u5f53\u8005\u304cVBA\u306e\u69cb\u6587\u3092\u8abf\u3079\u306a\u304c\u3089\u66f8\u304f\u306e\u3067\u306f\u306a\u304f\u3001<strong>Claude Code\u306b\u696d\u52d9\u5185\u5bb9\u3092\u4f1d\u3048\u3066\u30de\u30af\u30ed\u3092\u751f\u6210\u3055\u305b\u308b<\/strong>\u904b\u7528\u306b\u5207\u308a\u66ff\u3048\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">5-2. \u696d\u52d9\u9818\u57df\u5225\u306e\u524a\u6e1b\u6642\u9593\uff08\u808c\u611f\u30d9\u30fc\u30b9\u30fb2026\u5e749\u6708\u6642\u70b9\uff09<\/h3>\n\n\n\n<table>\n<thead><tr><th>\u696d\u52d9\u9818\u57df<\/th><th>\u4e3b\u306a\u7528\u9014<\/th><th>\u6982\u7b97\u524a\u6e1b\u6642\u9593<\/th><\/tr><\/thead>\n<tbody>\n<tr><td>\u7d4c\u7406<\/td><td>\u8acb\u6c42\u66f8\u30c1\u30a7\u30c3\u30af\u30fb\u7d4c\u8cbb\u4ed5\u8a33\u30fbFreee\u9023\u643a<\/td><td>\u670840h \u2192 \u67085h<\/td><\/tr>\n<tr><td>\u55b6\u696d<\/td><td>\u63d0\u6848\u66f8\u30fb\u898b\u7a4d\u30fb\u9867\u5ba2\u5225\u8cc7\u6599\u306e\u81ea\u52d5\u751f\u6210<\/td><td>\u903120h \u2192 \u90312h<\/td><\/tr>\n<tr><td>\u5e83\u544a\u904b\u7528<\/td><td>\u9031\u6b21\u30ec\u30dd\u30fc\u30c8\u30fbCPA\u5206\u6790\u30fb\u914d\u4fe1\u5185\u5bb9\u8abf\u6574<\/td><td>\u903110h \u2192 \u90311h<\/td><\/tr>\n<tr><td>\u79d8\u66f8\u696d\u52d9<\/td><td>\u65e5\u5831\u751f\u6210\u30fb\u8b70\u4e8b\u9332\u30fb\u30b9\u30b1\u30b8\u30e5\u30fc\u30eb\u8abf\u6574<\/td><td>\u65e52h \u2192 \u65e515\u5206<\/td><\/tr>\n<tr><td>\u958b\u767a\uff08Excel\/VBA\u542b\u3080\uff09<\/td><td>\u30d6\u30c3\u30af\u96c6\u7d04\u30de\u30af\u30ed\u30fb\u30ec\u30dd\u30fc\u30c8\u751f\u6210\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u66f8\u304d\u6368\u3066<\/td><td>\u90fd\u5ea6\u6570\u6642\u9593\u524a\u6e1b<\/td><\/tr>\n<\/tbody>\n<\/table>\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;\">\u6570\u5024\u306e\u6ce8\u610f\u66f8\u304d<\/strong>\n  <\/div>\n  <p style=\"margin:0;font-size:15px;line-height:1.8;color:#333;\">\u4e0a\u8a18\u306f\u5f0a\u793e\u306e\u808c\u611f\u30d9\u30fc\u30b9\u306e\u6570\u5024\u3067\u3042\u308a\u3001\u696d\u7a2e\u30fb\u696d\u614b\u30fb\u62c5\u5f53\u8005\u306e\u30b9\u30ad\u30eb\u306b\u3088\u3063\u3066\u524a\u6e1b\u6642\u9593\u306f\u5909\u52d5\u3057\u307e\u3059\u3002\u300c\u5b8c\u5168\u81ea\u52d5\u5316\u300d\u3067\u306f\u306a\u304f\u3001\u4eba\u306b\u3088\u308b\u30ec\u30d3\u30e5\u30fc\u30fb\u78ba\u8a8d\u5de5\u7a0b\u306f\u6b8b\u3063\u3066\u3044\u308b\u524d\u63d0\u3067\u306e\u6982\u7b97\u5024\u3067\u3059\u3002<\/p>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u7279\u306b\u7d4c\u7406\u9818\u57df\u306e<strong>\u300c\u670840h \u2192 \u67085h\u300d<\/strong>\u3068\u3044\u3046\u524a\u6e1b\u52b9\u679c\u306b\u306f\u3001\u6bce\u6708\u8907\u6570\u306e\u53d6\u5f15\u5148\u304b\u3089\u5c4a\u304f\u8acb\u6c42\u66f8\u30fb\u7d4c\u8cbb\u30c7\u30fc\u30bf\u3092Excel\u306b\u96c6\u7d04\u3059\u308b\u4f5c\u696d\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002\u4ee5\u524d\u306fVBA\u30de\u30af\u30ed\u3092\u4eba\u304c\u4fdd\u5b88\u3057\u3066\u3044\u307e\u3057\u305f\u304c\u3001\u73fe\u5728\u306fClaude Code\u306b\u96c6\u7d04\u30ed\u30b8\u30c3\u30af\u3092\u4f1d\u3048\u308b\u3060\u3051\u3067\u3001\u30d5\u30a9\u30eb\u30c0\u69cb\u6210\u306e\u5909\u5316\u306b\u3082\u305d\u306e\u5834\u3067\u5bfe\u5fdc\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<div class=\"balloon-wrap is-right\">\n  <div class=\"balloon-icon\">\n    <img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/04\/yamazaki-avatar.png\" alt=\"AI\u9b3c\u7ba1\u7406\u5c71\u5d0e\">\n    <span class=\"balloon-name\">AI\u9b3c\u7ba1\u7406\u5c71\u5d0e<\/span>\n  <\/div>\n  <div class=\"balloon-body\">VBA\u30b3\u30fc\u30c9\u81ea\u4f53\u3092\u300c\u66f8\u3051\u308b\u3088\u3046\u306b\u306a\u308b\u300d\u3053\u3068\u306b\u3082\u4fa1\u5024\u306f\u3042\u308a\u307e\u3059\u304c\u3001\u7d4c\u55b6\u8005\u30fb\u7ba1\u7406\u8077\u306e\u7acb\u5834\u3067\u306f\u300c\u6bce\u56de\u306e\u30d6\u30c3\u30af\u96c6\u7d04\u4f5c\u696d\u3092\u8ab0\u304c\u3069\u3046\u56de\u3059\u304b\u300d\u306e\u65b9\u304c\u91cd\u8981\u306a\u554f\u984c\u3067\u3059\u3002\u5f0a\u793e\u3067\u306f\u305d\u306e\u5224\u65ad\u3092\u3001\u30b3\u30fc\u30c9\u3092\u66f8\u3051\u308b\u304b\u3069\u3046\u304b\u3067\u306f\u306a\u304f\u696d\u52d9\u52b9\u7387\u3067\u6c7a\u3081\u3066\u3044\u307e\u3059\u3002<\/div>\n<\/div>\n\n\n<div style=\"margin:48px 0 8px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap;\"><a href=\"https:\/\/aikanri.genai-ai.co.jp\/aibpo\/makase\/blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=vba-workbooks-open&#038;blog_slug=vba-workbooks-open&#038;blog_title=%E3%80%902026%E5%B9%B49%E6%9C%88%E6%9C%80%E6%96%B0%E3%80%91ExcelVBA%E3%81%AEWorkbooks.Open%E3%81%A7%E3%83%96%E3%83%83%E3%82%AF%E3%82%92%E9%96%8B%E3%81%8F%E6%96%B9%E6%B3%95%E5%AE%8C%E5%85%A8%E8%A7%A3%E8%AA%AC%EF%BD%9C%E3%82%A8%E3%83%A9%E3%83%BC%E5%AF%BE%E5%87%A6%E3%81%A8Claude%20Code%E3%81%A7%E3%81%AE%E8%87%AA%E5%8B%95%E5%8C%96%E3%81%BE%E3%81%A7&#038;blog_url=https%3A%2F%2Fgenai-ai.co.jp%2Fai-kanri%2Fblog%2Fvba-workbooks-open%2F&#038;utm_campaign=aibpo_makase\" target=\"_blank\" rel=\"noopener\" aria-label=\"AI\u793e\u54e1AIKATA\uff08\u670830\u4e07\u5186\u3067\u696d\u52d9\u307e\u304b\u305b\u653e\u984c\uff09\u306e\u7121\u6599\u76f8\u8ac7 \u4e88\u7d04\u30da\u30fc\u30b8\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/09\/cta_blog_makase_20260904.jpg\" alt=\"AI\u793e\u54e1AIKATA\uff5c\u670830\u4e07\u5186\u306e\u5b9a\u984d\u3067\u5fa1\u793e\u306e\u696d\u52d9\u3092\u307e\u308b\u3054\u3068\u5dfb\u304d\u53d6\u308a\u307e\u3059\uff08\u7121\u6599\u76f8\u8ac760\u5206\uff09\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><a href=\"https:\/\/aikanri.genai-ai.co.jp\/koteihi-line\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=vba-workbooks-open&#038;blog_slug=vba-workbooks-open&#038;blog_title=%E3%80%902026%E5%B9%B49%E6%9C%88%E6%9C%80%E6%96%B0%E3%80%91ExcelVBA%E3%81%AEWorkbooks.Open%E3%81%A7%E3%83%96%E3%83%83%E3%82%AF%E3%82%92%E9%96%8B%E3%81%8F%E6%96%B9%E6%B3%95%E5%AE%8C%E5%85%A8%E8%A7%A3%E8%AA%AC%EF%BD%9C%E3%82%A8%E3%83%A9%E3%83%BC%E5%AF%BE%E5%87%A6%E3%81%A8Claude%20Code%E3%81%A7%E3%81%AE%E8%87%AA%E5%8B%95%E5%8C%96%E3%81%BE%E3%81%A7&#038;blog_url=https%3A%2F%2Fgenai-ai.co.jp%2Fai-kanri%2Fblog%2Fvba-workbooks-open%2F&#038;utm_campaign=koteihi_shindan\" target=\"_blank\" rel=\"noopener\" aria-label=\"\u516c\u5f0fLINE\u306e\u56fa\u5b9a\u8cbb\u524a\u6e1b\u8a3a\u65ad\uff08\u7121\u6599\u30fb\u7d041\u5206\uff09\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/09\/cta_blog_koteihi_line.jpg\" alt=\"\u5fa1\u793e\u304c\u6e1b\u3089\u305b\u308b\u56fa\u5b9a\u8cbb\u306f\u6708\u3044\u304f\u3089\u304b\uff5c\u516c\u5f0fLINE\u3067\u8cea\u554f\u306b\u7b54\u3048\u308b\u3060\u3051\uff08\u7121\u6599\u30fb\u7d041\u5206\uff09\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><\/div>\n\n\n<div id=\"sec-06\"><\/div>\n<h2 class=\"section-header-img\" style=\"margin:32px 0 24px;border-radius:8px;overflow:hidden;background:linear-gradient(135deg,#1a1a1a 0%,#2a1015 100%);padding:32px 28px;color:#fff;position:relative;border:none;border-left:none;text-align:left;\">\n  <span class=\"section-number\" style=\"display:block;\">06<\/span>\n  <span class=\"section-label\" style=\"display:block;\">OVERCOMING BARRIERS<\/span>\n  <span class=\"section-title\" style=\"display:block;\">\u3010\u72ec\u81ea\u3011\u975e\u30a8\u30f3\u30b8\u30cb\u30a2\u304cVBA\u3067\u30cf\u30de\u308b3\u3064\u306e\u58c1<\/span>\n  <span class=\"section-desc\">\u30b3\u30fc\u30c9\u3092\u66f8\u304f\u524d\u306b\u77e5\u3063\u3066\u304a\u304d\u305f\u3044\u843d\u3068\u3057\u7a74<\/span>\n<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u5f0a\u793e\u304cExcel\u696d\u52d9\u306e\u81ea\u52d5\u5316\u652f\u63f4\u3092\u3059\u308b\u4e2d\u3067\u3001\u975e\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u65b9\u304c\u300cWorkbooks.Open\u300d\u306e\u3088\u3046\u306aVBA\u30b3\u30fc\u30c9\u306b\u89e6\u308c\u308b\u3068\u304d\u3001\u7e70\u308a\u8fd4\u3057\u540c\u3058\u58c1\u306b\u3076\u3064\u304b\u3063\u3066\u3044\u308b\u306e\u3092\u898b\u3066\u304d\u307e\u3057\u305f\u3002\u3053\u3053\u3067\u306f3\u3064\u306e\u58c1\u3068\u3001\u305d\u308c\u305e\u308c\u306e\u8d8a\u3048\u65b9\u3092\u6574\u7406\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">6-1. \u3010\u58c11\u3011\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u306e\u300c\u30d0\u30c3\u30af\u30b9\u30e9\u30c3\u30b7\u30e5\u5730\u7344\u300d<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">VBA\u306e\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u306f<strong>\u30d0\u30c3\u30af\u30b9\u30e9\u30c3\u30b7\u30e5\uff08\\\uff09<\/strong>\u3067\u533a\u5207\u308a\u307e\u3059\u304c\u3001\u30b3\u30d4\u30da\u3057\u305f\u30d1\u30b9\u306b\u30b9\u30e9\u30c3\u30b7\u30e5\uff08\/\uff09\u304c\u6df7\u3056\u3063\u3066\u3044\u305f\u308a\u3001\u672b\u5c3e\u306e\\\u304c\u629c\u3051\u3066\u3044\u305f\u308a\u3057\u3066\u3001\u5730\u5473\u306b\u30a8\u30e9\u30fc\u306e\u539f\u56e0\u306b\u306a\u308a\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;\">\u30d1\u30b9\u306e\u30c8\u30e9\u30d6\u30eb\u3092\u907f\u3051\u308b\u66f8\u304d\u65b9<\/strong>\n  <\/div>\n  <p style=\"margin:0;font-size:15px;line-height:1.8;color:#333;\">\u30d5\u30a9\u30eb\u30c0\u30d1\u30b9\u306e\u672b\u5c3e\u306b\u306f\u5fc5\u305a\\\u3092\u4ed8\u3051\u308b\uff08\"C:\\data\\\" \u3067\u306f\u306a\u304f \"C:\\data\" \u3060\u3068\u30d5\u30a1\u30a4\u30eb\u540d\u3068\u7d50\u5408\u3057\u305f\u969b\u306b\u30d1\u30b9\u304c\u5d29\u308c\u308b\uff09\u3002\u307e\u305f\u3001Windows\u306e\u30a8\u30af\u30b9\u30d7\u30ed\u30fc\u30e9\u30fc\u306e\u30a2\u30c9\u30ec\u30b9\u30d0\u30fc\u304b\u3089\u30d1\u30b9\u3092\u30b3\u30d4\u30fc\u3059\u308b\u3068\u81ea\u52d5\u7684\u306b\u6b63\u3057\u3044\u5f62\u5f0f\u306b\u306a\u308b\u305f\u3081\u3001\u624b\u6253\u3061\u3088\u308a\u30b3\u30d4\u30fc\u3092\u63a8\u5968\u3057\u307e\u3059\u3002<\/p>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">6-2. \u3010\u58c12\u3011\u300c\u52d5\u304f\u30b3\u30fc\u30c9\u300d\u3068\u300c\u5b89\u5168\u306a\u30b3\u30fc\u30c9\u300d\u306e\u9055\u3044\u304c\u5206\u304b\u3089\u306a\u3044<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u30cd\u30c3\u30c8\u4e0a\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3092\u30b3\u30d4\u30da\u3059\u308c\u3070\u3001\u305d\u306e\u5834\u3067\u306f\u52d5\u304f\u3053\u3068\u304c\u591a\u3044\u3067\u3059\u3002\u3057\u304b\u3057\u3001<strong>\u30a8\u30e9\u30fc\u51e6\u7406\u30fb\u5b58\u5728\u78ba\u8a8d\u30fb\u4fdd\u5b58\u78ba\u8a8d<\/strong>\u304c\u7701\u7565\u3055\u308c\u305f\u30b3\u30fc\u30c9\u3092\u305d\u306e\u307e\u307e\u696d\u52d9\u3067\u4f7f\u3046\u3068\u3001\u60f3\u5b9a\u5916\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u4e0a\u66f8\u304d\u3057\u3066\u3057\u307e\u3046\u30fb\u51e6\u7406\u304c\u9014\u4e2d\u3067\u6b62\u307e\u3063\u3066\u6c17\u3065\u304b\u308c\u306a\u3044\u3001\u3068\u3044\u3063\u305f\u4e8b\u6545\u306b\u3064\u306a\u304c\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>ReadOnly:=True \u3092\u4ed8\u3051\u5fd8\u308c\u3066\u3001\u53c2\u7167\u3060\u3051\u306e\u3064\u3082\u308a\u3067\u958b\u3044\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u8aa4\u3063\u3066\u4e0a\u66f8\u304d\u4fdd\u5b58\u3057\u3066\u3057\u307e\u3046<\/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>Dir\u95a2\u6570\u3067\u306e\u5b58\u5728\u78ba\u8a8d\u3092\u7701\u7565\u3057\u3001\u30d5\u30a1\u30a4\u30eb\u79fb\u52d5\u5f8c\u306b\u30a8\u30e9\u30fc\u3067\u51e6\u7406\u304c\u6b62\u307e\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>On Error\u3067\u306e\u30a8\u30e9\u30fc\u30cf\u30f3\u30c9\u30ea\u30f3\u30b0\u304c\u306a\u304f\u3001\u6df1\u591c\u30d0\u30c3\u30c1\u5b9f\u884c\u4e2d\u306b\u30a8\u30e9\u30fc\u3067\u505c\u6b62\u3057\u305f\u307e\u307e\u6c17\u3065\u304b\u308c\u306a\u3044<\/span><\/div>\n\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;\">\u300c\u52d5\u304f\u300d\uff1d\u300c\u5b89\u5168\u300d\u3067\u306f\u306a\u3044<\/strong>\n  <\/div>\n  <p style=\"margin:0;font-size:15px;line-height:1.8;color:#333;\">\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3092\u8a66\u3059\u3068\u304d\u306f\u3001\u307e\u305a\u672c\u756a\u30c7\u30fc\u30bf\u306e\u30b3\u30d4\u30fc\u3067\u52d5\u4f5c\u78ba\u8a8d\u3057\u3066\u304b\u3089\u3001\u5b9f\u969b\u306e\u696d\u52d9\u30d5\u30a1\u30a4\u30eb\u306b\u9069\u7528\u3059\u308b\u3053\u3068\u3092\u5f37\u304f\u63a8\u5968\u3057\u307e\u3059\u3002\u7279\u306b\u96c6\u8a08\u30fb\u96c6\u7d04\u7cfb\u306e\u30de\u30af\u30ed\u306f\u3001\u610f\u56f3\u305b\u305a\u5143\u30c7\u30fc\u30bf\u3092\u66f8\u304d\u63db\u3048\u3066\u3057\u307e\u3046\u30ea\u30b9\u30af\u304c\u5e38\u306b\u3042\u308a\u307e\u3059\u3002<\/p>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">6-3. \u3010\u58c13\u3011\u30de\u30af\u30ed\u306e\u4fdd\u5b88\u3092\u300c\u66f8\u3051\u308b\u4eba\u300d\u306b\u4f9d\u5b58\u3057\u3066\u3057\u307e\u3046<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">3\u3064\u76ee\u306e\u58c1\u306f\u3001\u6280\u8853\u7684\u306a\u58c1\u3067\u306f\u306a\u304f<strong>\u7d44\u7e54\u306e\u58c1<\/strong>\u3067\u3059\u3002VBA\u30de\u30af\u30ed\u30921\u4eba\u306e\u62c5\u5f53\u8005\u304c\u66f8\u3044\u3066\u904b\u7528\u3057\u3066\u3044\u308b\u3068\u3001\u305d\u306e\u62c5\u5f53\u8005\u304c\u7570\u52d5\u30fb\u9000\u8077\u3057\u305f\u77ac\u9593\u306b\u300c\u8ab0\u3082\u76f4\u305b\u306a\u3044\u30d6\u30e9\u30c3\u30af\u30dc\u30c3\u30af\u30b9\u300d\u306b\u306a\u308b\u30b1\u30fc\u30b9\u304c\u975e\u5e38\u306b\u591a\u304f\u898b\u3089\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u30d5\u30a9\u30eb\u30c0\u69cb\u6210\u304c\u5909\u308f\u308b\u30fb\u30d5\u30a1\u30a4\u30eb\u540d\u306e\u30eb\u30fc\u30eb\u304c\u5909\u308f\u308b\u30fb\u65b0\u3057\u3044\u5217\u304c\u8ffd\u52a0\u3055\u308c\u308b\u2014\u2014\u3053\u3046\u3057\u305f\u5c0f\u3055\u306a\u5909\u5316\u306e\u305f\u3073\u306b\u3001\u66f8\u3044\u305f\u672c\u4eba\u4ee5\u5916\u304c\u30b3\u30fc\u30c9\u3092\u4fee\u6b63\u3067\u304d\u305a\u3001\u696d\u52d9\u304c\u6b62\u307e\u3063\u3066\u3057\u307e\u3046\u3002\u3053\u308c\u304cVBA\u904b\u7528\u306e\u6700\u5927\u306e\u843d\u3068\u3057\u7a74\u3067\u3059\u3002<\/p>\n\n\n\n<div class=\"g-flow-row\" style=\"margin:24px 0;\">\n  <div class=\"g-flow-item\"><strong>\u62c5\u5f53\u8005\u304c<br>VBA\u3092\u66f8\u304f<\/strong><br><span style=\"font-size:12px;\">\u5f53\u521d\u306f<br>\u554f\u984c\u306a\u304f\u7a3c\u50cd<\/span><\/div>\n  <div class=\"g-flow-arrow\">&#8594;<\/div>\n  <div class=\"g-flow-item\"><strong>\u696d\u52d9\u8981\u4ef6\u304c<br>\u5909\u5316\u3059\u308b<\/strong><br><span style=\"font-size:12px;\">\u30d5\u30a9\u30eb\u30c0\u69cb\u6210\u30fb<br>\u30d5\u30a1\u30a4\u30eb\u5f62\u5f0f\u306e\u5909\u66f4<\/span><\/div>\n  <div class=\"g-flow-arrow\">&#8594;<\/div>\n  <div class=\"g-flow-item\"><strong>\u62c5\u5f53\u8005\u304c<br>\u7570\u52d5\u30fb\u9000\u8077<\/strong><br><span style=\"font-size:12px;\">\u4fdd\u5b88\u3067\u304d\u308b\u4eba\u304c<br>\u3044\u306a\u304f\u306a\u308b<\/span><\/div>\n  <div class=\"g-flow-arrow\">&#8594;<\/div>\n  <div class=\"g-flow-item\"><strong>\u30de\u30af\u30ed\u304c<br>\u6b62\u307e\u308b<\/strong><br><span style=\"font-size:12px;\">\u5c5e\u4eba\u5316\u3057\u305f\u696d\u52d9\u304c<br>\u30d6\u30e9\u30c3\u30af\u30dc\u30c3\u30af\u30b9\u5316<\/span><\/div>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u300c\u5c5e\u4eba\u5316\u30ea\u30b9\u30af\u300d\u3092\u907f\u3051\u308b\u73fe\u5b9f\u7684\u306a\u65b9\u6cd5\u306e\u4e00\u3064\u304c\u3001<strong>\u30de\u30af\u30ed\u306e\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u305d\u306e\u3082\u306e\u3092AI\u306b\u4efb\u305b\u308b<\/strong>\u4f53\u5236\u306b\u5909\u3048\u308b\u3053\u3068\u3067\u3059\u3002Claude Code\u3067\u3042\u308c\u3070\u300c\u3053\u306e\u30de\u30af\u30ed\u306e\u30d5\u30a9\u30eb\u30c0\u30d1\u30b9\u3092\u65b0\u3057\u3044\u69cb\u6210\u306b\u5408\u308f\u305b\u3066\u76f4\u3057\u3066\u300d\u3068\u81ea\u7136\u306a\u65e5\u672c\u8a9e\u3067\u4f1d\u3048\u308b\u3060\u3051\u3067\u3001\u30b3\u30fc\u30c9\u306e\u610f\u5473\u3092\u7406\u89e3\u3057\u3066\u3044\u306a\u304f\u3066\u3082\u4fee\u6b63\u3092\u4f9d\u983c\u3067\u304d\u307e\u3059\u3002\u62c5\u5f53\u8005\u500b\u4eba\u306e\u77e5\u8b58\u306b\u4f9d\u5b58\u305b\u305a\u3001\u696d\u52d9\u304c\u7d99\u7d9a\u3067\u304d\u308b\u72b6\u614b\u3092\u4f5c\u308c\u308b\u306e\u304c\u5927\u304d\u306a\u5229\u70b9\u3067\u3059\u3002<\/p>\n\n\n\n<div class=\"balloon-wrap\">\n  <div class=\"balloon-icon\">\n    <img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/04\/ceo-sugasawa.jpg\" alt=\"\u4ee3\u8868\u83c5\u6fa4\">\n    <span class=\"balloon-name\">\u4ee3\u8868\u83c5\u6fa4<\/span>\n  <\/div>\n  <div class=\"balloon-body\">\u5f0a\u793e\u3067\u3082\u4ee5\u524d\u306f\u300cVBA\u304c\u66f8\u3051\u308b\u793e\u54e1\u300d\u306b\u4f9d\u5b58\u3057\u3066\u3044\u305f\u6642\u671f\u304c\u3042\u308a\u307e\u3057\u305f\u304c\u3001\u4eca\u306fClaude Code\u306b\u300c\u3053\u306e\u30de\u30af\u30ed\u3092\u76f4\u3057\u3066\u300d\u3068\u983c\u3081\u3070\u6e08\u3080\u306e\u3067\u3001\u62c5\u5f53\u8005\u304c\u5909\u308f\u3063\u3066\u3082\u696d\u52d9\u304c\u6b62\u307e\u3089\u306a\u3044\u4f53\u5236\u306b\u306a\u308a\u307e\u3057\u305f\u3002\u3053\u308c\u306f\u5730\u5473\u3067\u3059\u304c\u7d4c\u55b6\u30ea\u30b9\u30af\u306e\u4f4e\u6e1b\u3068\u3057\u3066\u5927\u304d\u3044\u3067\u3059\u3002<\/div>\n<\/div>\n\n\n<div style=\"margin:48px 0 8px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap;\"><a href=\"https:\/\/aikanri.genai-ai.co.jp\/aibpo\/makase\/blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=vba-workbooks-open&#038;blog_slug=vba-workbooks-open&#038;blog_title=%E3%80%902026%E5%B9%B49%E6%9C%88%E6%9C%80%E6%96%B0%E3%80%91ExcelVBA%E3%81%AEWorkbooks.Open%E3%81%A7%E3%83%96%E3%83%83%E3%82%AF%E3%82%92%E9%96%8B%E3%81%8F%E6%96%B9%E6%B3%95%E5%AE%8C%E5%85%A8%E8%A7%A3%E8%AA%AC%EF%BD%9C%E3%82%A8%E3%83%A9%E3%83%BC%E5%AF%BE%E5%87%A6%E3%81%A8Claude%20Code%E3%81%A7%E3%81%AE%E8%87%AA%E5%8B%95%E5%8C%96%E3%81%BE%E3%81%A7&#038;blog_url=https%3A%2F%2Fgenai-ai.co.jp%2Fai-kanri%2Fblog%2Fvba-workbooks-open%2F&#038;utm_campaign=aibpo_makase\" target=\"_blank\" rel=\"noopener\" aria-label=\"AI\u793e\u54e1AIKATA\uff08\u670830\u4e07\u5186\u3067\u696d\u52d9\u307e\u304b\u305b\u653e\u984c\uff09\u306e\u7121\u6599\u76f8\u8ac7 \u4e88\u7d04\u30da\u30fc\u30b8\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/09\/cta_blog_makase_20260904.jpg\" alt=\"AI\u793e\u54e1AIKATA\uff5c\u670830\u4e07\u5186\u306e\u5b9a\u984d\u3067\u5fa1\u793e\u306e\u696d\u52d9\u3092\u307e\u308b\u3054\u3068\u5dfb\u304d\u53d6\u308a\u307e\u3059\uff08\u7121\u6599\u76f8\u8ac760\u5206\uff09\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><a href=\"https:\/\/aikanri.genai-ai.co.jp\/koteihi-line\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=vba-workbooks-open&#038;blog_slug=vba-workbooks-open&#038;blog_title=%E3%80%902026%E5%B9%B49%E6%9C%88%E6%9C%80%E6%96%B0%E3%80%91ExcelVBA%E3%81%AEWorkbooks.Open%E3%81%A7%E3%83%96%E3%83%83%E3%82%AF%E3%82%92%E9%96%8B%E3%81%8F%E6%96%B9%E6%B3%95%E5%AE%8C%E5%85%A8%E8%A7%A3%E8%AA%AC%EF%BD%9C%E3%82%A8%E3%83%A9%E3%83%BC%E5%AF%BE%E5%87%A6%E3%81%A8Claude%20Code%E3%81%A7%E3%81%AE%E8%87%AA%E5%8B%95%E5%8C%96%E3%81%BE%E3%81%A7&#038;blog_url=https%3A%2F%2Fgenai-ai.co.jp%2Fai-kanri%2Fblog%2Fvba-workbooks-open%2F&#038;utm_campaign=koteihi_shindan\" target=\"_blank\" rel=\"noopener\" aria-label=\"\u516c\u5f0fLINE\u306e\u56fa\u5b9a\u8cbb\u524a\u6e1b\u8a3a\u65ad\uff08\u7121\u6599\u30fb\u7d041\u5206\uff09\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/09\/cta_blog_koteihi_line.jpg\" alt=\"\u5fa1\u793e\u304c\u6e1b\u3089\u305b\u308b\u56fa\u5b9a\u8cbb\u306f\u6708\u3044\u304f\u3089\u304b\uff5c\u516c\u5f0fLINE\u3067\u8cea\u554f\u306b\u7b54\u3048\u308b\u3060\u3051\uff08\u7121\u6599\u30fb\u7d041\u5206\uff09\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><\/div>\n\n\n<div id=\"sec-07\"><\/div>\n<h2 class=\"section-header-img\" style=\"margin:32px 0 24px;border-radius:8px;overflow:hidden;background:linear-gradient(135deg,#1a1a1a 0%,#2a1015 100%);padding:32px 28px;color:#fff;position:relative;border:none;border-left:none;text-align:left;\">\n  <span class=\"section-number\" style=\"display:block;\">07<\/span>\n  <span class=\"section-label\" style=\"display:block;\">QUICK GUIDE<\/span>\n  <span class=\"section-title\" style=\"display:block;\">\u7528\u9014\u5225\u30fb\u4f7f\u3044\u5206\u3051\u65e9\u898b\u8868<\/span>\n  <span class=\"section-desc\">\u300c\u7d50\u5c40\u3069\u3046\u66f8\u3051\u3070\u3044\u3044\u304b\u300d\u30921\u679a\u3067\u78ba\u8a8d\u3059\u308b<\/span>\n<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u3053\u307e\u3067\u306e\u5185\u5bb9\u3092\u3001\u76ee\u7684\u5225\u306b1\u679a\u306e\u65e9\u898b\u8868\u306b\u307e\u3068\u3081\u307e\u3057\u305f\u3002\u81ea\u5206\u306e\u72b6\u6cc1\u306b\u8fd1\u3044\u884c\u3092\u63a2\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<table>\n<thead><tr><th>\u3084\u308a\u305f\u3044\u3053\u3068<\/th><th>\u4f7f\u3046\u3079\u304d\u6307\u5b9a\u30fb\u95a2\u6570<\/th><th>\u6ce8\u610f\u70b9<\/th><\/tr><\/thead>\n<tbody>\n<tr><td>\u96c6\u8a08\u3060\u3051\u3057\u305f\u3044\u3001\u5143\u30d5\u30a1\u30a4\u30eb\u306f\u5909\u66f4\u3057\u306a\u3044<\/td><td>ReadOnly:=True + SaveChanges:=False<\/td><td>\u8aa4\u3063\u3066\u4e0a\u66f8\u304d\u3059\u308b\u30ea\u30b9\u30af\u3092\u30bc\u30ed\u306b\u3067\u304d\u308b<\/td><\/tr>\n<tr><td>\u958b\u304f\u524d\u306b\u30d5\u30a1\u30a4\u30eb\u306e\u6709\u7121\u3092\u78ba\u8a8d\u3057\u305f\u3044<\/td><td>Dir(path) = \"\" \u3067\u5224\u5b9a<\/td><td>\u30a8\u30e9\u30fc1004\u306e\u5927\u534a\u3092\u672a\u7136\u306b\u9632\u3052\u308b<\/td><\/tr>\n<tr><td>\u8907\u6570\u30d6\u30c3\u30af\u30921\u3064\u306b\u96c6\u7d04\u3057\u305f\u3044<\/td><td>Dir\u95a2\u6570\u3067\u30eb\u30fc\u30d7 + Copy\u30e1\u30bd\u30c3\u30c9<\/td><td>DisplayAlerts\u306eOFF\/ON\u5fd8\u308c\u306b\u6ce8\u610f<\/td><\/tr>\n<tr><td>\u30a8\u30e9\u30fc\u3067\u51e6\u7406\u3092\u6b62\u3081\u305f\u304f\u306a\u3044<\/td><td>On Error GoTo + Err.Description<\/td><td>\u30a8\u30e9\u30fc\u30cf\u30f3\u30c9\u30e9\u306e\u6700\u5f8c\u3067On Error GoTo 0\u3092\u5fd8\u308c\u306a\u3044<\/td><\/tr>\n<tr><td>\u30d1\u30b9\u30ef\u30fc\u30c9\u4fdd\u8b77\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u304d\u305f\u3044<\/td><td>Password:=\"xxxx\"\u5f15\u6570<\/td><td>\u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u30b3\u30fc\u30c9\u5185\u76f4\u66f8\u304d\u306f\u907f\u3051\u308b<\/td><\/tr>\n<tr><td>\u81ea\u5206\u3067\u30b3\u30fc\u30c9\u3092\u66f8\u304f\u306e\u304c\u9762\u5012\u30fb\u5c5e\u4eba\u5316\u304c\u4e0d\u5b89<\/td><td>Claude Code\u306b\u696d\u52d9\u5185\u5bb9\u3092\u4f1d\u3048\u3066\u751f\u6210\u30fb\u4fdd\u5b88<\/td><td>\u30b3\u30fc\u30c9\u306e\u610f\u5473\u3092\u7406\u89e3\u3057\u3066\u3044\u306a\u304f\u3066\u3082\u4f9d\u983c\u3067\u304d\u308b<\/td><\/tr>\n<\/tbody>\n<\/table>\n\n\n\n<div class=\"balloon-wrap\">\n  <div class=\"balloon-icon\">\n    <img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/04\/ceo-sugasawa.jpg\" alt=\"\u4ee3\u8868\u83c5\u6fa4\">\n    <span class=\"balloon-name\">\u4ee3\u8868\u83c5\u6fa4<\/span>\n  <\/div>\n  <div class=\"balloon-body\">\u3053\u306e\u8868\u306b\u8ff7\u3063\u305f\u3089\u3001\u307e\u305a\u300c\u5143\u30d5\u30a1\u30a4\u30eb\u3092\u5909\u66f4\u3059\u308b\u304b\u3069\u3046\u304b\u300d\u3067\u5224\u65ad\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u5909\u66f4\u3057\u306a\u3044\u306a\u3089ReadOnly\u3001\u5909\u66f4\u3059\u308b\u306a\u3089\u4fdd\u5b58\u78ba\u8a8d\u3092\u660e\u793a\u3059\u308b\u3002\u3053\u306e2\u629e\u3055\u3048\u62bc\u3055\u3048\u308c\u3070\u3001Open\u30e1\u30bd\u30c3\u30c9\u3067\u5927\u304d\u306a\u4e8b\u6545\u306f\u8d77\u304d\u307e\u305b\u3093\u3002<\/div>\n<\/div>\n\n\n<div style=\"margin:48px 0 8px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap;\"><a href=\"https:\/\/aikanri.genai-ai.co.jp\/aibpo\/makase\/blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=vba-workbooks-open&#038;blog_slug=vba-workbooks-open&#038;blog_title=%E3%80%902026%E5%B9%B49%E6%9C%88%E6%9C%80%E6%96%B0%E3%80%91ExcelVBA%E3%81%AEWorkbooks.Open%E3%81%A7%E3%83%96%E3%83%83%E3%82%AF%E3%82%92%E9%96%8B%E3%81%8F%E6%96%B9%E6%B3%95%E5%AE%8C%E5%85%A8%E8%A7%A3%E8%AA%AC%EF%BD%9C%E3%82%A8%E3%83%A9%E3%83%BC%E5%AF%BE%E5%87%A6%E3%81%A8Claude%20Code%E3%81%A7%E3%81%AE%E8%87%AA%E5%8B%95%E5%8C%96%E3%81%BE%E3%81%A7&#038;blog_url=https%3A%2F%2Fgenai-ai.co.jp%2Fai-kanri%2Fblog%2Fvba-workbooks-open%2F&#038;utm_campaign=aibpo_makase\" target=\"_blank\" rel=\"noopener\" aria-label=\"AI\u793e\u54e1AIKATA\uff08\u670830\u4e07\u5186\u3067\u696d\u52d9\u307e\u304b\u305b\u653e\u984c\uff09\u306e\u7121\u6599\u76f8\u8ac7 \u4e88\u7d04\u30da\u30fc\u30b8\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/09\/cta_blog_makase_20260904.jpg\" alt=\"AI\u793e\u54e1AIKATA\uff5c\u670830\u4e07\u5186\u306e\u5b9a\u984d\u3067\u5fa1\u793e\u306e\u696d\u52d9\u3092\u307e\u308b\u3054\u3068\u5dfb\u304d\u53d6\u308a\u307e\u3059\uff08\u7121\u6599\u76f8\u8ac760\u5206\uff09\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><a href=\"https:\/\/aikanri.genai-ai.co.jp\/koteihi-line\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=vba-workbooks-open&#038;blog_slug=vba-workbooks-open&#038;blog_title=%E3%80%902026%E5%B9%B49%E6%9C%88%E6%9C%80%E6%96%B0%E3%80%91ExcelVBA%E3%81%AEWorkbooks.Open%E3%81%A7%E3%83%96%E3%83%83%E3%82%AF%E3%82%92%E9%96%8B%E3%81%8F%E6%96%B9%E6%B3%95%E5%AE%8C%E5%85%A8%E8%A7%A3%E8%AA%AC%EF%BD%9C%E3%82%A8%E3%83%A9%E3%83%BC%E5%AF%BE%E5%87%A6%E3%81%A8Claude%20Code%E3%81%A7%E3%81%AE%E8%87%AA%E5%8B%95%E5%8C%96%E3%81%BE%E3%81%A7&#038;blog_url=https%3A%2F%2Fgenai-ai.co.jp%2Fai-kanri%2Fblog%2Fvba-workbooks-open%2F&#038;utm_campaign=koteihi_shindan\" target=\"_blank\" rel=\"noopener\" aria-label=\"\u516c\u5f0fLINE\u306e\u56fa\u5b9a\u8cbb\u524a\u6e1b\u8a3a\u65ad\uff08\u7121\u6599\u30fb\u7d041\u5206\uff09\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/09\/cta_blog_koteihi_line.jpg\" alt=\"\u5fa1\u793e\u304c\u6e1b\u3089\u305b\u308b\u56fa\u5b9a\u8cbb\u306f\u6708\u3044\u304f\u3089\u304b\uff5c\u516c\u5f0fLINE\u3067\u8cea\u554f\u306b\u7b54\u3048\u308b\u3060\u3051\uff08\u7121\u6599\u30fb\u7d041\u5206\uff09\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><\/div>\n\n\n<div id=\"sec-08\"><\/div>\n<h2 class=\"section-header-img\" style=\"margin:32px 0 24px;border-radius:8px;overflow:hidden;background:linear-gradient(135deg,#1a1a1a 0%,#2a1015 100%);padding:32px 28px;color:#fff;position:relative;border:none;border-left:none;text-align:left;\">\n  <span class=\"section-number\" style=\"display:block;\">08<\/span>\n  <span class=\"section-label\" style=\"display:block;\">CONCLUSION<\/span>\n  <span class=\"section-title\" style=\"display:block;\">\u307e\u3068\u3081 \u2500\u2500 \u30d6\u30c3\u30af\u3092\u958b\u304f\u4f5c\u696d\u304b\u3089\u89e3\u653e\u3055\u308c\u308b<\/span>\n  <span class=\"section-desc\">\u30b3\u30fc\u30c9\u3092\u899a\u3048\u308b\u3053\u3068\u3088\u308a\u3001\u696d\u52d9\u3092\u6b62\u3081\u306a\u3044\u4ed5\u7d44\u307f\u3092\u4f5c\u308b\u3053\u3068\u304c\u672c\u8cea<\/span>\n<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001ExcelVBA\u306eWorkbooks.Open\u30e1\u30bd\u30c3\u30c9\u306e\u57fa\u672c\u69cb\u6587\u304b\u3089\u3001\u5b9f\u8df5\u7684\u306a\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3001\u4ee3\u8868\u7684\u306a\u30a8\u30e9\u30fc\u3068\u305d\u306e\u5bfe\u51e6\u6cd5\u3001\u95a2\u9023\u30e1\u30bd\u30c3\u30c9\u3001\u305d\u3057\u3066\u5f0a\u793eGENAI\u306e\u5b9f\u904b\u7528\u30c7\u30fc\u30bf\u3068\u975e\u30a8\u30f3\u30b8\u30cb\u30a2\u304c\u9665\u308a\u304c\u3061\u306a3\u3064\u306e\u58c1\u307e\u3067\u3092\u6574\u7406\u3057\u307e\u3057\u305f\u3002\u6700\u5f8c\u306b\u30dd\u30a4\u30f3\u30c8\u3092\u632f\u308a\u8fd4\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>Workbooks.Open\u306f\u300cFilename\u300d\u3092\u5fc5\u9808\u5f15\u6570\u306b\u3001ReadOnly\u30fbPassword\u7b49\u306e\u8ffd\u52a0\u5f15\u6570\u3092\u6301\u3064<\/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>\u958b\u3044\u305f\u30d6\u30c3\u30af\u306f\u5fc5\u305aSet\u6587\u3067\u5909\u6570\u306b\u683c\u7d0d\u3057\u3001ActiveWorkbook\u3078\u306e\u4f9d\u5b58\u3092\u907f\u3051\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>\u30a8\u30e9\u30fc1004\u306e\u5927\u534a\u306fDir\u95a2\u6570\u3067\u306e\u4e8b\u524d\u5b58\u5728\u78ba\u8a8d\u3067\u9632\u3052\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>Open \u2192 \u64cd\u4f5c \u2192 (Save) \u2192 Close \u306e\u6d41\u308c\u3092\u5fb9\u5e95\u3057\u3001Close\u306e\u5f15\u6570\u3092\u7701\u7565\u3057\u306a\u3044<\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span>VBA\u30de\u30af\u30ed\u306e\u5c5e\u4eba\u5316\u306f\u3001\u62c5\u5f53\u8005\u306e\u7570\u52d5\u30fb\u9000\u8077\u3067\u696d\u52d9\u505c\u6b62\u306b\u76f4\u7d50\u3059\u308b\u30ea\u30b9\u30af<\/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>\u5f0a\u793eGENAI\u3067\u306f\u3001Excel\u696d\u52d9\u306e\u30de\u30af\u30ed\u751f\u6210\u30fb\u4fdd\u5b88\u3092Claude Code\u306b\u4efb\u305b\u308b\u3053\u3068\u3067\u62c5\u5f53\u8005\u4f9d\u5b58\u3092\u89e3\u6d88\u3057\u3066\u3044\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>\u7d4c\u7406\u9818\u57df\u3060\u3051\u3067\u670840h\u2192\u67085h\u306e\u524a\u6e1b\u52b9\u679c\uff08\u808c\u611f\u30d9\u30fc\u30b9\uff09\u304c\u51fa\u3066\u3044\u308b<\/span><\/div>\n\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u6700\u3082\u91cd\u8981\u306a\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u304a\u4f1d\u3048\u3057\u307e\u3059\u3002<strong>Workbooks.Open\u306e\u69cb\u6587\u3092\u899a\u3048\u308b\u3053\u3068\u306f\u3001\u3042\u304f\u307e\u3067\u624b\u6bb5\u306e\u4e00\u3064\u306b\u904e\u304e\u307e\u305b\u3093<\/strong>\u3002\u672c\u5f53\u306b\u89e3\u6c7a\u3059\u3079\u304d\u8ab2\u984c\u306f\u3001\u300c\u8907\u6570\u306eExcel\u30d6\u30c3\u30af\u3092\u6271\u3046\u696d\u52d9\u3092\u3001\u62c5\u5f53\u8005\u304c\u5909\u308f\u3063\u3066\u3082\u6b62\u3081\u305a\u306b\u56de\u305b\u308b\u72b6\u614b\u306b\u3059\u308b\u3053\u3068\u300d\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5f0a\u793e\u3067\u306f\u3001Claude Code\u3092\u300c\u30de\u30af\u30ed\u3092\u66f8\u304f\u9053\u5177\u300d\u3067\u306f\u306a\u304f\u300c\u696d\u52d9\u3092\u6b62\u3081\u306a\u3044\u4ed5\u7d44\u307f\u300d\u3068\u3057\u3066\u4f4d\u7f6e\u3065\u3051\u308b\u3053\u3068\u3067\u3001VBA\u30b3\u30fc\u30c9\u306e\u4fdd\u5b88\u8ca0\u62c5\u305d\u306e\u3082\u306e\u3092\u6e1b\u3089\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u8003\u3048\u65b9\u306b\u5171\u611f\u3044\u305f\u3060\u3051\u305f\u65b9\u306f\u3001\u305c\u3072\u4ee5\u4e0b\u306eAI\u9b3c\u7ba1\u7406\u307e\u3067\u304a\u6c17\u8efd\u306b\u3054\u76f8\u8ac7\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<div class=\"balloon-wrap\">\n  <div class=\"balloon-icon\">\n    <img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/04\/ceo-sugasawa.jpg\" alt=\"\u4ee3\u8868\u83c5\u6fa4\">\n    <span class=\"balloon-name\">\u4ee3\u8868\u83c5\u6fa4<\/span>\n  <\/div>\n  <div class=\"balloon-body\">\u5f0a\u793e\u3067\u306f\u300cAI\u9b3c\u7ba1\u7406\u300d\u3068\u3044\u3046\u30b5\u30fc\u30d3\u30b9\u3067\u3001Excel\u30de\u30af\u30ed\u3084VBA\u306e\u4fdd\u5b88\u8ca0\u62c5\u3092\u542b\u3081\u305f\u696d\u52d9\u81ea\u52d5\u5316\u306e\u8a2d\u8a08\u304b\u3089\u4f34\u8d70\u307e\u3067\u652f\u63f4\u3057\u3066\u3044\u307e\u3059\u3002\u300c\u3053\u306e\u30de\u30af\u30ed\u3001\u3082\u3046\u8ab0\u3082\u76f4\u305b\u306a\u3044\u300d\u3068\u3044\u3046\u304a\u60a9\u307f\u304c\u3042\u308c\u3070\u3001\u7121\u6599\u76f8\u8ac7\u3067\u304a\u6c17\u8efd\u306b\u3054\u76f8\u8ac7\u304f\u3060\u3055\u3044\u3002<\/div>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Excel\u30de\u30af\u30ed\u306e\u5c5e\u4eba\u5316\u30fb\u4fdd\u5b88\u8ca0\u62c5\u3092\u3001AI\u9b3c\u7ba1\u7406\u304c\u4e00\u7dd2\u306b\u89e3\u6d88\u3057\u307e\u3059<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u300cVBA\u304c\u66f8\u3051\u308b\u4eba\u300d\u306b\u4f9d\u5b58\u305b\u305a\u3001\u696d\u52d9\u3092\u6b62\u3081\u306a\u3044\u4ed5\u7d44\u307f\u3078\u3002<br>\u5f0a\u793e\u306e\u5b9f\u904b\u7528\u30ce\u30a6\u30cf\u30a6\u3092\u30d9\u30fc\u30b9\u306b\u3001Excel\u696d\u52d9\u81ea\u52d5\u5316\u306e\u500b\u5225\u76f8\u8ac7\u3092\u627f\u308a\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\">\u300c\u30de\u30af\u30ed\u3092\u66f8\u3044\u305f\u62c5\u5f53\u8005\u304c\u7570\u52d5\u3057\u3066\u3057\u307e\u3044\u3001\u8ab0\u3082\u76f4\u305b\u306a\u304f\u306a\u3063\u305f\u300d\u3068\u3044\u3046\u76f8\u8ac7\u3092\u6570\u591a\u304f\u3044\u305f\u3060\u304d\u307e\u3059\u3002\u307e\u305a\u306f\u7121\u6599\u76f8\u8ac7\u3067\u3001\u3042\u306a\u305f\u306e\u4f1a\u793e\u306eExcel\u696d\u52d9\u306e\u4e2d\u3067\u6700\u3082\u30ea\u30b9\u30af\u304c\u9ad8\u3044\u7b87\u6240\u3092\u4e00\u7dd2\u306b\u898b\u3064\u3051\u307e\u3057\u3087\u3046\u3002<\/div>\n<\/div>\n\n\n\n<p>\u3053\u3053\u304b\u3089\u5148\u306e\u9032\u3081\u65b9\u306f\u3001\u5927\u304d\u304f2\u3064\u3042\u308a\u307e\u3059\u3002<\/p>\n<p><strong>\u81ea\u793e\u3067\u56de\u305b\u308b\u3088\u3046\u306b\u306a\u308a\u305f\u3044\u65b9<\/strong>\u306f\u3001<strong>AI\u9b3c\u7ba1\u7406<\/strong>\u3067Claude Code\uff0fCodex\u306e\u4f7f\u3044\u65b9\u304b\u3089\u696d\u52d9\u8a2d\u8a08\u30fb\u793e\u5185\u5b9a\u7740\u307e\u3067\u4f34\u8d70\u3092\u53d7\u3051\u306a\u304c\u3089\u3001\u793e\u5185\u306b\u4ed5\u7d44\u307f\u3092\u4f5c\u308b\u9053\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p><strong>\u899a\u3048\u308b\u3088\u308a\u4efb\u305b\u305f\u3044\u65b9<\/strong>\u306f\u3001<strong>AI\u793e\u54e1AIKATA<\/strong>\u3067\u3053\u306e\u8a18\u4e8b\u306e\u3088\u3046\u306a\u5b9a\u578b\u696d\u52d9\u3092\u4e38\u3054\u3068\u9810\u3051\u308b\u9053\u304c\u3042\u308a\u307e\u3059\u3002\u6599\u91d1\u306f\u670830\u4e07\u5186\u306e\u6708\u984d\u5b9a\u984d\u3001\u8ffd\u52a0\u8cbb\u7528\u306f0\u5186\u3067\u3059\u3002<\/p>\n<p>\u3069\u3061\u3089\u304c\u5408\u3046\u304b\u306f\u3001\u696d\u52d9\u91cf\u3068\u793e\u5185\u4f53\u5236\u6b21\u7b2c\u3067\u3059\u3002\u7121\u6599\u76f8\u8ac7\u30fb\u7121\u6599\u9069\u5408\u8a3a\u65ad\u3067\u3001\u8cb4\u793e\u306e\u5834\u5408\u306f\u3069\u3061\u3089\u304c\u5411\u304f\u304b\u304b\u3089\u3054\u76f8\u8ac7\u3044\u305f\u3060\u3051\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#fff;border:2px solid #eee;border-radius:16px;padding:32px 20px;margin:48px 0 16px;\">\n  <p style=\"text-align:center;font-size:13px;font-weight:700;color:#dc2626;letter-spacing:2px;margin:0 0 12px;\">NEXT STEP<\/p>\n  <p style=\"text-align:center;font-size:22px;font-weight:800;line-height:1.5;color:#1a1a1a;margin:0 0 24px;\">\u3053\u306e\u8a18\u4e8b\u306e\u5185\u5bb9\u3092\u3001\u3042\u306a\u305f\u306e\u30d3\u30b8\u30cd\u30b9\u3067<br>\u5b9f\u8df5\u3057\u3066\u307f\u307e\u305b\u3093\u304b\uff1f<\/p>\n  <div style=\"display:flex;gap:16px;flex-wrap:wrap;justify-content:center;\">\n    <div style=\"flex:1 1 300px;max-width:560px;background:#fafafa;border:1px solid #eee;border-radius:12px;overflow:hidden;display:flex;flex-direction:column;\">\n      <img src=\"https:\/\/genai-ai.co.jp\/img\/flagship-onikanri.png\" alt=\"AI\u9b3c\u7ba1\u7406 \u2014 Claude Code\u5c0e\u5165\u652f\u63f4\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0\" loading=\"lazy\" decoding=\"async\" style=\"width:100%;height:auto;aspect-ratio:16\/9;object-fit:cover;display:block;\">\n      <div style=\"padding:20px 20px 24px;display:flex;flex-direction:column;flex:1;\">\n        <p style=\"font-size:13px;color:#dc2626;font-weight:700;margin:0 0 8px;\">AI\u6d3b\u7528\u3092\u81ea\u793e\u3067\u56de\u305b\u308b\u3088\u3046\u306b\u306a\u308a\u305f\u3044\u65b9\u3078<\/p>\n        <p style=\"font-size:20px;font-weight:800;color:#1a1a1a;margin:0 0 12px;\">AI\u9b3c\u7ba1\u7406<\/p>\n        <p style=\"font-size:14px;color:#555;margin:0 0 20px;line-height:1.7;\">Claude Code\u30fbCowork\u5c0e\u5165\u652f\u63f4\u304b\u3089\u696d\u52d9\u8a2d\u8a08\u30fb\u793e\u5185\u6d78\u900f\u307e\u3067\u5b9f\u8df5\u30d9\u30fc\u30b9\u3067\u4f34\u8d70\u3002\u300c\u81ea\u793e\u3067\u56de\u305b\u308b\u7d44\u7e54\u300d\u309290\u65e5\u3067\u4f5c\u308b\u7d4c\u55b6\u8005\u5411\u3051\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0\u3002<\/p>\n        <div style=\"text-align:center;margin-top:auto;\">\n          <a href=\"https:\/\/aikanri.genai-ai.co.jp\/?utm_source=blog&utm_medium=article&utm_campaign=vba-workbooks-open&utm_content=next-step-cta\" target=\"_blank\" rel=\"noopener\" style=\"display:inline-block;background:#dc2626;color:#fff;font-weight:700;font-size:15px;padding:14px 32px;border-radius:30px;text-decoration:none;\">AI\u9b3c\u7ba1\u7406\u3092\u8a73\u3057\u304f\u898b\u308b \u2192<\/a>\n        <\/div>\n      <\/div>\n    <\/div>\n    <div style=\"flex:1 1 300px;max-width:560px;background:#fafafa;border:1px solid #eee;border-radius:12px;overflow:hidden;display:flex;flex-direction:column;\">\n      <img src=\"https:\/\/genai-ai.co.jp\/img\/flagship-aibpo.png\" alt=\"AI\u793e\u54e1AIKATA \u2014 \u5b9a\u578b\u696d\u52d9\u306e\u4e38\u3054\u3068\u4ee3\u884c\" loading=\"lazy\" decoding=\"async\" style=\"width:100%;height:auto;aspect-ratio:16\/9;object-fit:cover;display:block;\">\n      <div style=\"padding:20px 20px 24px;display:flex;flex-direction:column;flex:1;\">\n        <p style=\"font-size:13px;color:#dc2626;font-weight:700;margin:0 0 8px;\">\u696d\u52d9\u3092\u4e38\u3054\u3068\u4efb\u305b\u305f\u3044\u65b9\u3078<\/p>\n        <p style=\"font-size:20px;font-weight:800;color:#1a1a1a;margin:0 0 12px;\">AI\u793e\u54e1AIKATA<\/p>\n        <p style=\"font-size:14px;color:#555;margin:0 0 20px;line-height:1.7;\">\u8acb\u6c42\u51e6\u7406\u30fb\u30c7\u30fc\u30bf\u5165\u529b\u30fb\u554f\u3044\u5408\u308f\u305b\u5bfe\u5fdc\u306a\u3069\u306e\u5b9a\u578b\u696d\u52d9\u3092\u3001AI\u00d7\u4eba\u306e\u54c1\u8cea\u7ba1\u7406\u4f53\u5236\u3067\u4e38\u3054\u3068\u4ee3\u884c\u3002\u670830\u4e07\u5186\u306e\u5b9a\u984d\u3067\u307e\u304b\u305b\u653e\u984c\u3001\u65e5\u3005\u306f\u6210\u679c\u7269\u3092\u627f\u8a8d\u3059\u308b\u3060\u3051\u3002<\/p>\n        <div style=\"text-align:center;margin-top:auto;\">\n          <a href=\"https:\/\/genai-ai.co.jp\/ai-kanri\/ai-bpo\/?utm_source=blog&utm_medium=article&utm_campaign=vba-workbooks-open&utm_content=next-step-cta-bpo\" target=\"_blank\" rel=\"noopener\" style=\"display:inline-block;background:#dc2626;color:#fff;font-weight:700;font-size:15px;padding:14px 32px;border-radius:30px;text-decoration:none;\">AI\u793e\u54e1AIKATA\u3092\u8a73\u3057\u304f\u898b\u308b \u2192<\/a>\n        <\/div>\n      <\/div>\n    <\/div>\n  <\/div>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"faq\">\u3088\u304f\u3042\u308b\u8cea\u554f<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Q. Workbooks.Open\u3067\u958b\u3044\u305f\u30d5\u30a1\u30a4\u30eb\u304c\u898b\u3064\u304b\u3089\u306a\u3044\u3068\u30a8\u30e9\u30fc\u306b\u306a\u308a\u307e\u3059\u3002\u4f55\u3092\u78ba\u8a8d\u3059\u308c\u3070\u3044\u3044\u3067\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A. \u307e\u305a\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u306e\u6587\u5b57\u5217\u3092\u7591\u3063\u3066\u304f\u3060\u3055\u3044\u3002\u5168\u89d2\u30b9\u30da\u30fc\u30b9\u306e\u6df7\u5165\u3001\u62e1\u5f35\u5b50\u306e\u9055\u3044\uff08.xlsx\/.xlsm\uff09\u3001\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30c9\u30e9\u30a4\u30d6\u306e\u30d1\u30b9\u5909\u66f4\u304c\u5178\u578b\u7684\u306a\u539f\u56e0\u3067\u3059\u3002Dir(path) = \"\" \u3067\u4e8b\u524d\u306b\u5b58\u5728\u78ba\u8a8d\u3092\u3059\u308b\u51e6\u7406\u3092\u5165\u308c\u308b\u3068\u3001\u30a8\u30e9\u30fc\u306e\u767a\u751f\u81ea\u4f53\u3092\u9632\u3052\u307e\u3059\u3002\u30d1\u30b9\u3092Debug.Print\u3067\u51fa\u529b\u3057\u3001\u5b9f\u969b\u306e\u5024\u3092\u76ee\u8996\u78ba\u8a8d\u3059\u308b\u306e\u3082\u6709\u52b9\u306a\u5207\u308a\u5206\u3051\u65b9\u6cd5\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q. ReadOnly:=True\u3092\u6307\u5b9a\u3057\u3066\u3082\u3001\u3046\u3063\u304b\u308a\u4fdd\u5b58\u3057\u3066\u3057\u307e\u3046\u3053\u3068\u306f\u3042\u308a\u307e\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A. ReadOnly:=True\u3067\u958b\u3044\u305f\u30d6\u30c3\u30af\u306f\u3001\u901a\u5e38\u306e\u4e0a\u66f8\u304d\u4fdd\u5b58\uff08Ctrl+S\uff09\u3092\u5b9f\u884c\u3057\u3066\u3082\u4fdd\u5b58\u3067\u304d\u305a\u3001\u5225\u540d\u4fdd\u5b58\u3092\u4fc3\u3059\u30c0\u30a4\u30a2\u30ed\u30b0\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002\u305f\u3060\u3057\u30de\u30af\u30ed\u5185\u3067wb.Save\u7b49\u3092\u660e\u793a\u7684\u306b\u547c\u3073\u51fa\u3057\u305f\u5834\u5408\u306f\u30a8\u30e9\u30fc\u306b\u306a\u308b\u305f\u3081\u3001\u96c6\u8a08\u5c02\u7528\u306e\u51e6\u7406\u3067\u3042\u308c\u3070SaveChanges:=False\u3067\u9589\u3058\u308b\u51e6\u7406\u3082\u5408\u308f\u305b\u3066\u5165\u308c\u3066\u304a\u304f\u306e\u304c\u5b89\u5168\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q. Workbooks.Open\u3067\u958b\u3044\u305f\u30d6\u30c3\u30af\u3092\u9589\u3058\u5fd8\u308c\u308b\u3068\u3001\u3069\u3093\u306a\u554f\u984c\u304c\u8d77\u304d\u307e\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A. Excel\u306e\u30e1\u30e2\u30ea\u4e0a\u306b\u30d6\u30c3\u30af\u304c\u6b8b\u308a\u7d9a\u3051\u3001\u8907\u6570\u30d5\u30a1\u30a4\u30eb\u3092\u9023\u7d9a\u51e6\u7406\u3059\u308b\u30de\u30af\u30ed\u3067\u306f\u5f90\u3005\u306b\u52d5\u4f5c\u304c\u91cd\u304f\u306a\u308a\u307e\u3059\u3002\u307e\u305f\u3001\u540c\u3058\u30d5\u30a1\u30a4\u30eb\u540d\u306e\u30d6\u30c3\u30af\u3092\u4e8c\u91cd\u306b\u958b\u3053\u3046\u3068\u3057\u3066\u30a8\u30e9\u30fc\u306b\u306a\u308b\u30b1\u30fc\u30b9\u3082\u3042\u308a\u307e\u3059\u3002\u51e6\u7406\u306e\u7d42\u308f\u308a\u306b\u5fc5\u305aClose\u30e1\u30bd\u30c3\u30c9\u3092\u547c\u3076\u304b\u3001\u30a8\u30e9\u30fc\u767a\u751f\u6642\u306b\u3082\u78ba\u5b9f\u306b\u9589\u3058\u308b\u51e6\u7406\uff08On Error\u3068\u306e\u7d44\u307f\u5408\u308f\u305b\uff09\u3092\u5165\u308c\u308b\u3053\u3068\u3092\u63a8\u5968\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q. \u30d5\u30a9\u30eb\u30c0\u5185\u306eExcel\u30d5\u30a1\u30a4\u30eb\u3092\u4e00\u62ec\u3067\u958b\u3044\u3066\u51e6\u7406\u3057\u305f\u3044\u5834\u5408\u3001\u3069\u3046\u66f8\u3051\u3070\u3044\u3044\u3067\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A. \u672c\u8a18\u4e8b\u306e\u300c\u30b5\u30f3\u30d7\u30eb2\uff1a\u8907\u6570\u30d6\u30c3\u30af\u306e\u30c7\u30fc\u30bf\u30921\u3064\u306b\u96c6\u7d04\u3059\u308b\u300d\u3067\u7d39\u4ecb\u3057\u305f\u901a\u308a\u3001Dir\u95a2\u6570\u3067\u30d5\u30a9\u30eb\u30c0\u5185\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u30921\u3064\u305a\u3064\u53d6\u5f97\u3057\u306a\u304c\u3089\u30eb\u30fc\u30d7\u51e6\u7406\u3059\u308b\u306e\u304c\u57fa\u672c\u30d1\u30bf\u30fc\u30f3\u3067\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u540d\u306e\u30d1\u30bf\u30fc\u30f3\uff08\u4f8b\uff1a\"\u58f2\u4e0a_*.xlsx\"\uff09\u3092\u6307\u5b9a\u3059\u308c\u3070\u3001\u7279\u5b9a\u6761\u4ef6\u306e\u30d5\u30a1\u30a4\u30eb\u3060\u3051\u306b\u7d5e\u3063\u3066\u51e6\u7406\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q. VBA\u306eWorkbooks.Open\u3068\u3001Python\u3067\u306e\u30d5\u30a1\u30a4\u30eb\u8aad\u307f\u8fbc\u307f\u306f\u3069\u3061\u3089\u3092\u4f7f\u3046\u3079\u304d\u3067\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A. \u65e2\u306bExcel\u30de\u30af\u30ed\u306e\u8cc7\u7523\u304c\u3042\u308a\u3001Excel\u5185\u3067\u306e\u64cd\u4f5c\uff08\u6570\u5f0f\u30fb\u66f8\u5f0f\u542b\u3080\uff09\u304c\u5fc5\u8981\u306a\u3089VBA\u304c\u9069\u3057\u3066\u3044\u307e\u3059\u3002\u4e00\u65b9\u3001\u5927\u91cf\u30d5\u30a1\u30a4\u30eb\u306e\u51e6\u7406\u3084Excel\u4ee5\u5916\u306e\u30b7\u30b9\u30c6\u30e0\u3068\u306e\u9023\u643a\u304c\u5fc5\u8981\u306a\u5834\u5408\u306fPython\u306e\u65b9\u304c\u67d4\u8edf\u3067\u3059\u3002\u3069\u3061\u3089\u3092\u9078\u3076\u304b\u8ff7\u3046\u5834\u5408\u306f\u3001Claude Code\u306b\u696d\u52d9\u5185\u5bb9\u3092\u4f1d\u3048\u308c\u3070\u3001\u305d\u306e\u5834\u3067\u3069\u3061\u3089\u306e\u8a00\u8a9e\u3067\u66f8\u304f\u3079\u304d\u304b\u3082\u542b\u3081\u3066\u63d0\u6848\u3057\u3066\u3082\u3089\u3048\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q. VBA\u3092\u66f8\u3051\u306a\u3044\u62c5\u5f53\u8005\u3067\u3082\u3001Excel\u306e\u30d6\u30c3\u30af\u96c6\u7d04\u4f5c\u696d\u3092\u81ea\u52d5\u5316\u3067\u304d\u307e\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A. \u3067\u304d\u307e\u3059\u3002Claude Code\u306a\u3069\u306eAI\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u306b\u300c\u3053\u306e\u30d5\u30a9\u30eb\u30c0\u5185\u306eExcel\u30d5\u30a1\u30a4\u30eb\u30921\u3064\u306b\u96c6\u7d04\u3057\u305f\u3044\u300d\u3068\u65e5\u672c\u8a9e\u3067\u4f1d\u3048\u308b\u3060\u3051\u3067\u3001VBA\u30b3\u30fc\u30c9\u3084Python\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u751f\u6210\u30fb\u5b9f\u884c\u3057\u3066\u3082\u3089\u3048\u307e\u3059\u3002\u30b3\u30fc\u30c9\u306e\u69cb\u6587\u3092\u7406\u89e3\u3057\u3066\u3044\u306a\u304f\u3066\u3082\u3001\u696d\u52d9\u5185\u5bb9\u3092\u5177\u4f53\u7684\u306b\u4f1d\u3048\u3089\u308c\u308c\u3070\u5341\u5206\u306b\u81ea\u52d5\u5316\u3092\u9032\u3081\u3089\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q. Workbooks.Open\u3067Excel\u4ee5\u5916\u306e\u5f62\u5f0f\u306e\u30d5\u30a1\u30a4\u30eb\uff08CSV\u7b49\uff09\u3092\u958b\u304f\u3053\u3068\u306f\u3067\u304d\u307e\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A. CSV\u30d5\u30a1\u30a4\u30eb\u3082Workbooks.Open\u3067\u958b\u304f\u3053\u3068\u304c\u3067\u304d\u3001Excel\u304c\u81ea\u52d5\u7684\u306b\u30ab\u30f3\u30de\u533a\u5207\u308a\u3068\u3057\u3066\u8aad\u307f\u8fbc\u307f\u307e\u3059\u3002\u305f\u3060\u3057\u6587\u5b57\u30b3\u30fc\u30c9\u3084\u5217\u306e\u578b\uff08\u5148\u982d\u306b0\u304c\u3042\u308b\u90f5\u4fbf\u756a\u53f7\u306a\u3069\uff09\u304c\u610f\u56f3\u901a\u308a\u306b\u8a8d\u8b58\u3055\u308c\u306a\u3044\u30b1\u30fc\u30b9\u304c\u3042\u308b\u305f\u3081\u3001Workbooks.OpenText\u3092\u4f7f\u3063\u3066\u533a\u5207\u308a\u6587\u5b57\u3084\u6587\u5b57\u30b3\u30fc\u30c9\u3092\u660e\u793a\u7684\u306b\u6307\u5b9a\u3059\u308b\u65b9\u6cd5\u304c\u3088\u308a\u78ba\u5b9f\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\": \"Workbooks.Open\u3067\u958b\u3044\u305f\u30d5\u30a1\u30a4\u30eb\u304c\u898b\u3064\u304b\u3089\u306a\u3044\u3068\u30a8\u30e9\u30fc\u306b\u306a\u308a\u307e\u3059\u3002\u4f55\u3092\u78ba\u8a8d\u3059\u308c\u3070\u3044\u3044\u3067\u3059\u304b\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"\u307e\u305a\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u306e\u6587\u5b57\u5217\u3092\u7591\u3063\u3066\u304f\u3060\u3055\u3044\u3002\u5168\u89d2\u30b9\u30da\u30fc\u30b9\u306e\u6df7\u5165\u3001\u62e1\u5f35\u5b50\u306e\u9055\u3044\uff08.xlsx\/.xlsm\uff09\u3001\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30c9\u30e9\u30a4\u30d6\u306e\u30d1\u30b9\u5909\u66f4\u304c\u5178\u578b\u7684\u306a\u539f\u56e0\u3067\u3059\u3002Dir(path) = \\\"\\\" \u3067\u4e8b\u524d\u306b\u5b58\u5728\u78ba\u8a8d\u3092\u3059\u308b\u51e6\u7406\u3092\u5165\u308c\u308b\u3068\u3001\u30a8\u30e9\u30fc\u306e\u767a\u751f\u81ea\u4f53\u3092\u9632\u3052\u307e\u3059\u3002\u30d1\u30b9\u3092Debug.Print\u3067\u51fa\u529b\u3057\u3001\u5b9f\u969b\u306e\u5024\u3092\u76ee\u8996\u78ba\u8a8d\u3059\u308b\u306e\u3082\u6709\u52b9\u306a\u5207\u308a\u5206\u3051\u65b9\u6cd5\u3067\u3059\u3002\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"ReadOnly:=True\u3092\u6307\u5b9a\u3057\u3066\u3082\u3001\u3046\u3063\u304b\u308a\u4fdd\u5b58\u3057\u3066\u3057\u307e\u3046\u3053\u3068\u306f\u3042\u308a\u307e\u3059\u304b\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"ReadOnly:=True\u3067\u958b\u3044\u305f\u30d6\u30c3\u30af\u306f\u3001\u901a\u5e38\u306e\u4e0a\u66f8\u304d\u4fdd\u5b58\uff08Ctrl+S\uff09\u3092\u5b9f\u884c\u3057\u3066\u3082\u4fdd\u5b58\u3067\u304d\u305a\u3001\u5225\u540d\u4fdd\u5b58\u3092\u4fc3\u3059\u30c0\u30a4\u30a2\u30ed\u30b0\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002\u305f\u3060\u3057\u30de\u30af\u30ed\u5185\u3067wb.Save\u7b49\u3092\u660e\u793a\u7684\u306b\u547c\u3073\u51fa\u3057\u305f\u5834\u5408\u306f\u30a8\u30e9\u30fc\u306b\u306a\u308b\u305f\u3081\u3001\u96c6\u8a08\u5c02\u7528\u306e\u51e6\u7406\u3067\u3042\u308c\u3070SaveChanges:=False\u3067\u9589\u3058\u308b\u51e6\u7406\u3082\u5408\u308f\u305b\u3066\u5165\u308c\u3066\u304a\u304f\u306e\u304c\u5b89\u5168\u3067\u3059\u3002\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"Workbooks.Open\u3067\u958b\u3044\u305f\u30d6\u30c3\u30af\u3092\u9589\u3058\u5fd8\u308c\u308b\u3068\u3001\u3069\u3093\u306a\u554f\u984c\u304c\u8d77\u304d\u307e\u3059\u304b\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"Excel\u306e\u30e1\u30e2\u30ea\u4e0a\u306b\u30d6\u30c3\u30af\u304c\u6b8b\u308a\u7d9a\u3051\u3001\u8907\u6570\u30d5\u30a1\u30a4\u30eb\u3092\u9023\u7d9a\u51e6\u7406\u3059\u308b\u30de\u30af\u30ed\u3067\u306f\u5f90\u3005\u306b\u52d5\u4f5c\u304c\u91cd\u304f\u306a\u308a\u307e\u3059\u3002\u307e\u305f\u3001\u540c\u3058\u30d5\u30a1\u30a4\u30eb\u540d\u306e\u30d6\u30c3\u30af\u3092\u4e8c\u91cd\u306b\u958b\u3053\u3046\u3068\u3057\u3066\u30a8\u30e9\u30fc\u306b\u306a\u308b\u30b1\u30fc\u30b9\u3082\u3042\u308a\u307e\u3059\u3002\u51e6\u7406\u306e\u7d42\u308f\u308a\u306b\u5fc5\u305aClose\u30e1\u30bd\u30c3\u30c9\u3092\u547c\u3076\u304b\u3001\u30a8\u30e9\u30fc\u767a\u751f\u6642\u306b\u3082\u78ba\u5b9f\u306b\u9589\u3058\u308b\u51e6\u7406\uff08On Error\u3068\u306e\u7d44\u307f\u5408\u308f\u305b\uff09\u3092\u5165\u308c\u308b\u3053\u3068\u3092\u63a8\u5968\u3057\u307e\u3059\u3002\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"\u30d5\u30a9\u30eb\u30c0\u5185\u306eExcel\u30d5\u30a1\u30a4\u30eb\u3092\u4e00\u62ec\u3067\u958b\u3044\u3066\u51e6\u7406\u3057\u305f\u3044\u5834\u5408\u3001\u3069\u3046\u66f8\u3051\u3070\u3044\u3044\u3067\u3059\u304b\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"\u672c\u8a18\u4e8b\u306e\u300c\u30b5\u30f3\u30d7\u30eb2\uff1a\u8907\u6570\u30d6\u30c3\u30af\u306e\u30c7\u30fc\u30bf\u30921\u3064\u306b\u96c6\u7d04\u3059\u308b\u300d\u3067\u7d39\u4ecb\u3057\u305f\u901a\u308a\u3001Dir\u95a2\u6570\u3067\u30d5\u30a9\u30eb\u30c0\u5185\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u30921\u3064\u305a\u3064\u53d6\u5f97\u3057\u306a\u304c\u3089\u30eb\u30fc\u30d7\u51e6\u7406\u3059\u308b\u306e\u304c\u57fa\u672c\u30d1\u30bf\u30fc\u30f3\u3067\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u540d\u306e\u30d1\u30bf\u30fc\u30f3\uff08\u4f8b\uff1a\\\"\u58f2\u4e0a_*.xlsx\\\"\uff09\u3092\u6307\u5b9a\u3059\u308c\u3070\u3001\u7279\u5b9a\u6761\u4ef6\u306e\u30d5\u30a1\u30a4\u30eb\u3060\u3051\u306b\u7d5e\u3063\u3066\u51e6\u7406\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"VBA\u306eWorkbooks.Open\u3068\u3001Python\u3067\u306e\u30d5\u30a1\u30a4\u30eb\u8aad\u307f\u8fbc\u307f\u306f\u3069\u3061\u3089\u3092\u4f7f\u3046\u3079\u304d\u3067\u3059\u304b\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"\u65e2\u306bExcel\u30de\u30af\u30ed\u306e\u8cc7\u7523\u304c\u3042\u308a\u3001Excel\u5185\u3067\u306e\u64cd\u4f5c\uff08\u6570\u5f0f\u30fb\u66f8\u5f0f\u542b\u3080\uff09\u304c\u5fc5\u8981\u306a\u3089VBA\u304c\u9069\u3057\u3066\u3044\u307e\u3059\u3002\u4e00\u65b9\u3001\u5927\u91cf\u30d5\u30a1\u30a4\u30eb\u306e\u51e6\u7406\u3084Excel\u4ee5\u5916\u306e\u30b7\u30b9\u30c6\u30e0\u3068\u306e\u9023\u643a\u304c\u5fc5\u8981\u306a\u5834\u5408\u306fPython\u306e\u65b9\u304c\u67d4\u8edf\u3067\u3059\u3002\u3069\u3061\u3089\u3092\u9078\u3076\u304b\u8ff7\u3046\u5834\u5408\u306f\u3001Claude Code\u306b\u696d\u52d9\u5185\u5bb9\u3092\u4f1d\u3048\u308c\u3070\u3001\u305d\u306e\u5834\u3067\u3069\u3061\u3089\u306e\u8a00\u8a9e\u3067\u66f8\u304f\u3079\u304d\u304b\u3082\u542b\u3081\u3066\u63d0\u6848\u3057\u3066\u3082\u3089\u3048\u307e\u3059\u3002\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"VBA\u3092\u66f8\u3051\u306a\u3044\u62c5\u5f53\u8005\u3067\u3082\u3001Excel\u306e\u30d6\u30c3\u30af\u96c6\u7d04\u4f5c\u696d\u3092\u81ea\u52d5\u5316\u3067\u304d\u307e\u3059\u304b\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"\u3067\u304d\u307e\u3059\u3002Claude Code\u306a\u3069\u306eAI\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u306b\u300c\u3053\u306e\u30d5\u30a9\u30eb\u30c0\u5185\u306eExcel\u30d5\u30a1\u30a4\u30eb\u30921\u3064\u306b\u96c6\u7d04\u3057\u305f\u3044\u300d\u3068\u65e5\u672c\u8a9e\u3067\u4f1d\u3048\u308b\u3060\u3051\u3067\u3001VBA\u30b3\u30fc\u30c9\u3084Python\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u751f\u6210\u30fb\u5b9f\u884c\u3057\u3066\u3082\u3089\u3048\u307e\u3059\u3002\u30b3\u30fc\u30c9\u306e\u69cb\u6587\u3092\u7406\u89e3\u3057\u3066\u3044\u306a\u304f\u3066\u3082\u3001\u696d\u52d9\u5185\u5bb9\u3092\u5177\u4f53\u7684\u306b\u4f1d\u3048\u3089\u308c\u308c\u3070\u5341\u5206\u306b\u81ea\u52d5\u5316\u3092\u9032\u3081\u3089\u308c\u307e\u3059\u3002\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"Workbooks.Open\u3067Excel\u4ee5\u5916\u306e\u5f62\u5f0f\u306e\u30d5\u30a1\u30a4\u30eb\uff08CSV\u7b49\uff09\u3092\u958b\u304f\u3053\u3068\u306f\u3067\u304d\u307e\u3059\u304b\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"CSV\u30d5\u30a1\u30a4\u30eb\u3082Workbooks.Open\u3067\u958b\u304f\u3053\u3068\u304c\u3067\u304d\u3001Excel\u304c\u81ea\u52d5\u7684\u306b\u30ab\u30f3\u30de\u533a\u5207\u308a\u3068\u3057\u3066\u8aad\u307f\u8fbc\u307f\u307e\u3059\u3002\u305f\u3060\u3057\u6587\u5b57\u30b3\u30fc\u30c9\u3084\u5217\u306e\u578b\uff08\u5148\u982d\u306b0\u304c\u3042\u308b\u90f5\u4fbf\u756a\u53f7\u306a\u3069\uff09\u304c\u610f\u56f3\u901a\u308a\u306b\u8a8d\u8b58\u3055\u308c\u306a\u3044\u30b1\u30fc\u30b9\u304c\u3042\u308b\u305f\u3081\u3001Workbooks.OpenText\u3092\u4f7f\u3063\u3066\u533a\u5207\u308a\u6587\u5b57\u3084\u6587\u5b57\u30b3\u30fc\u30c9\u3092\u660e\u793a\u7684\u306b\u6307\u5b9a\u3059\u308b\u65b9\u6cd5\u304c\u3088\u308a\u78ba\u5b9f\u3067\u3059\u3002\"\n      }\n    }\n  ]\n}\n<\/script>\n\n\n","protected":false},"excerpt":{"rendered":"<p>ExcelVBA\u306eWorkbooks.Open\u30e1\u30bd\u30c3\u30c9\u306e\u4f7f\u3044\u65b9\u3092\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u4ed8\u304d\u3067\u89e3\u8aac\u3002\u30d6\u30c3\u30af\u304c\u958b\u3051\u306a\u3044\u30a8\u30e9\u30fc\u306e\u539f\u56e0\u30fb\u5bfe\u51e6\u6cd5\u3001Close\/Save\u3068\u306e\u7d44\u307f\u5408\u308f\u305b\u3001\u975e\u30a8\u30f3\u30b8\u30cb\u30a2\u304c\u30de\u30af\u30ed\u3092\u66f8\u304b\u305a\u306bAI\u3067\u81ea\u52d5\u5316\u3059\u308b\u65b9\u6cd5\u307e\u3067\u3001\u5f0a\u793e\u306e\u5b9f\u904b\u7528\u30c7\u30fc\u30bf\u3092\u3082\u3068\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n","protected":false},"author":1,"featured_media":47539,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"sitemap_hide":"","_veu_custom_css":"","vkexunit_cta_each_option":"","_lightning_design_setting":[],"footnotes":"","rank_math_description":"ExcelVBA\u306eWorkbooks.Open\u30e1\u30bd\u30c3\u30c9\u306e\u4f7f\u3044\u65b9\u3092\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u4ed8\u304d\u3067\u89e3\u8aac\u3002\u30d6\u30c3\u30af\u304c\u958b\u3051\u306a\u3044\u30a8\u30e9\u30fc\u306e\u539f\u56e0\u30fb\u5bfe\u51e6\u6cd5\u3001Close\/Save\u3068\u306e\u7d44\u307f\u5408\u308f\u305b\u3001\u975e\u30a8\u30f3\u30b8\u30cb\u30a2\u304c\u30de\u30af\u30ed\u3092\u66f8\u304b\u305a\u306bAI\u3067\u81ea\u52d5\u5316\u3059\u308b\u65b9\u6cd5\u307e\u3067\u3001\u5f0a\u793e\u306e\u5b9f\u904b\u7528\u30c7\u30fc\u30bf\u3092\u3082\u3068\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002","rank_math_focus_keyword":"VBA Workbooks.Open","rank_math_title":"\u30102026\u5e749\u6708\u6700\u65b0\u3011ExcelVBA\u306eWorkbooks.Open\u3067\u30d6\u30c3\u30af\u3092\u958b\u304f\u65b9\u6cd5\u5b8c\u5168\u89e3\u8aac\uff5c\u30a8\u30e9\u30fc\u5bfe\u51e6\u3068Claude Code\u3067\u306e\u81ea\u52d5\u5316\u307e\u3067","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-47537","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\/47537","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=47537"}],"version-history":[{"count":3,"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/posts\/47537\/revisions"}],"predecessor-version":[{"id":48144,"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/posts\/47537\/revisions\/48144"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/media\/47539"}],"wp:attachment":[{"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/media?parent=47537"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/categories?post=47537"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/tags?post=47537"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}