{"id":25314,"date":"2026-08-01T03:02:26","date_gmt":"2026-07-31T18:02:26","guid":{"rendered":"https:\/\/genai-ai.co.jp\/ai-kanri\/?p=25314"},"modified":"2026-08-03T09:24:19","modified_gmt":"2026-08-03T00:24:19","slug":"cc-vba-sleep-wait","status":"publish","type":"post","link":"https:\/\/genai-ai.co.jp\/ai-kanri\/blog\/cc-vba-sleep-wait\/","title":{"rendered":"\u30102026\u5e748\u6708\u6700\u65b0\u3011VBA\u306eSleep\u95a2\u6570(API)\u3068Application.Wait\u3067\u51e6\u7406\u3092\u6b62\u3081\u308b\u65b9\u6cd5\uff5c32bit\/64bit\u5bfe\u5fdc\u306e\u6b63\u3057\u3044\u66f8\u304d\u65b9"},"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=\"background:#f8f9fa;border-radius:12px;padding:24px 28px;margin:0 0 32px;border-left:4px solid #dc2626;\">\n  <p style=\"font-size:15px;font-weight:700;color:#1a1a1a;margin:0 0 16px;\">\u3053\u306e\u8a18\u4e8b\u306e\u5185\u5bb9<\/p>\n  <ol style=\"margin:0;padding-left:20px;font-size:14px;line-height:2.2;list-style:none;\">\n    <li><a href=\"#sec-01\" style=\"color:#495057;text-decoration:none;\"><span style=\"color:#dc2626;font-weight:700;margin-right:8px;\">01<\/span>VBA\u3067\u300c\u51e6\u7406\u3092\u6b62\u3081\u305f\u3044\u300d\u304c\u767a\u751f\u3059\u308b\u5834\u9762<\/a><\/li>\n    <li><a href=\"#sec-02\" style=\"color:#495057;text-decoration:none;\"><span style=\"color:#dc2626;font-weight:700;margin-right:8px;\">02<\/span>Sleep\u95a2\u6570\uff08Windows API\u5ba3\u8a00\uff09\u306e\u6b63\u3057\u3044\u66f8\u304d\u65b9<\/a><\/li>\n    <li><a href=\"#sec-03\" style=\"color:#495057;text-decoration:none;\"><span style=\"color:#dc2626;font-weight:700;margin-right:8px;\">03<\/span>Application.Wait\u30e1\u30bd\u30c3\u30c9\u306e\u4f7f\u3044\u65b9<\/a><\/li>\n    <li><a href=\"#sec-04\" style=\"color:#495057;text-decoration:none;\"><span style=\"color:#dc2626;font-weight:700;margin-right:8px;\">04<\/span>Sleep \u3068 Wait\u3001\u7d50\u5c40\u3069\u3061\u3089\u3092\u4f7f\u3046\u3079\u304d\u304b<\/a><\/li>\n    <li><a href=\"#sec-05\" style=\"color:#495057;text-decoration:none;\"><span style=\"color:#dc2626;font-weight:700;margin-right:8px;\">05<\/span>\u73fe\u5834\u3067\u30cf\u30de\u308a\u3084\u3059\u30445\u3064\u306e\u843d\u3068\u3057\u7a74<\/a><\/li>\n    <li><a href=\"#sec-06\" style=\"color:#495057;text-decoration:none;\"><span style=\"color:#dc2626;font-weight:700;margin-right:8px;\">06<\/span>\u3010\u72ec\u81ea\u30c7\u30fc\u30bf\u3011\u5f85\u6a5f\u51e6\u7406\u306e\u5c5e\u4eba\u5316\u30ea\u30b9\u30af\u3068\u81ea\u52d5\u5316\u306e\u5b9f\u614b<\/a><\/li>\n    <li><a href=\"#sec-07\" style=\"color:#495057;text-decoration:none;\"><span style=\"color:#dc2626;font-weight:700;margin-right:8px;\">07<\/span>\u3010\u72ec\u81ea\u3011\u975e\u30a8\u30f3\u30b8\u30cb\u30a2\u304c\u300cVBA\u6cbc\u300d\u304b\u3089\u629c\u3051\u51fa\u3059\u30eb\u30fc\u30c8<\/a><\/li>\n    <li><a href=\"#sec-08\" style=\"color:#495057;text-decoration:none;\"><span style=\"color:#dc2626;font-weight:700;margin-right:8px;\">08<\/span>\u76ee\u7684\u5225\u30fb\u72b6\u6cc1\u5225\u306e\u65e9\u898b\u8868<\/a><\/li>\n    <li><a href=\"#sec-09\" style=\"color:#495057;text-decoration:none;\"><span style=\"color:#dc2626;font-weight:700;margin-right:8px;\">09<\/span>\u307e\u3068\u3081 \u2500\u2500 \u300c\u51e6\u7406\u3092\u6b62\u3081\u308b\u300d\u3067\u6d88\u8017\u3057\u306a\u3044\u50cd\u304d\u65b9\u3078<\/a><\/li>\n    <li><a href=\"#faq\" style=\"color:#495057;text-decoration:none;\"><span style=\"color:#dc2626;font-weight:700;margin-right:8px;\">FAQ<\/span>\u3088\u304f\u3042\u308b\u8cea\u554f<\/a><\/li>\n  <\/ol>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u300cVBA\u306e\u30de\u30af\u30ed\u3092\u7d44\u3093\u3060\u3051\u3069\u3001\u6b21\u306e\u51e6\u7406\u304c\u65e9\u3059\u304e\u3066\u524d\u306e\u51e6\u7406\u304c\u7d42\u308f\u308b\u524d\u306b\u8d70\u3063\u3066\u3057\u307e\u3046\u300d\u300c\u5916\u90e8\u30b7\u30b9\u30c6\u30e0\u3078\u306e\u66f8\u304d\u8fbc\u307f\u304c\u7d42\u308f\u308b\u524d\u306bExcel\u5074\u304c\u5148\u306b\u9032\u3093\u3067\u30a8\u30e9\u30fc\u306b\u306a\u308b\u300d\u2014\u2014\u3053\u3046\u3057\u305f<strong>\u51e6\u7406\u901f\u5ea6\u306e\u30ba\u30ec<\/strong>\u306b\u60a9\u3093\u3067\u3001\u3053\u306e\u8a18\u4e8b\u306b\u305f\u3069\u308a\u7740\u3044\u305f\u65b9\u306f\u591a\u3044\u306f\u305a\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">VBA\u3067\u306f\u3001\u610f\u56f3\u7684\u306b\u51e6\u7406\u3092\u4e00\u6642\u505c\u6b62\u3055\u305b\u308b\u65b9\u6cd5\u3068\u3057\u3066<strong>Sleep\u95a2\u6570\uff08Windows API\u306e\u547c\u3073\u51fa\u3057\uff09<\/strong>\u3068<strong>Application.Wait\u30e1\u30bd\u30c3\u30c9<\/strong>\u306e2\u3064\u304c\u3088\u304f\u4f7f\u308f\u308c\u307e\u3059\u3002\u305f\u3060\u3057\u3053\u306e2\u3064\u3001\u66f8\u304d\u65b9\u3092\u5c11\u3057\u3067\u3082\u9593\u9055\u3048\u308b\u3068\u300c64bit\u74b0\u5883\u3067\u30b3\u30f3\u30d1\u30a4\u30eb\u30a8\u30e9\u30fc\u306b\u306a\u308b\u300d\u300c\u79d2\u6570\u306e\u6307\u5b9a\u3092\u8aa4\u3063\u30661\u65e5\u5f85\u3063\u3066\u3057\u307e\u3046\u300d\u3068\u3044\u3063\u305f\u3001\u5730\u5473\u306b\u5384\u4ecb\u306a\u30c8\u30e9\u30d6\u30eb\u3092\u5f15\u304d\u8d77\u3053\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5b9f\u969b\u3001VBA\u306eSleep\/Wait\u5468\u308a\u306f<strong>\u30cd\u30c3\u30c8\u4e0a\u306e\u89e3\u8aac\u3067\u3082\u60c5\u5831\u304c\u53e4\u304b\u3063\u305f\u308a\u300132bit\/64bit\u5bfe\u5fdc\u306e\u8a18\u8ff0\u304c\u629c\u3051\u3066\u3044\u305f\u308a\u3059\u308b\u30b1\u30fc\u30b9\u304c\u5c11\u306a\u304f\u3042\u308a\u307e\u305b\u3093<\/strong>\u3002\u3053\u306e\u8a18\u4e8b\u3067\u306f\u30012026\u5e74\u6642\u70b9\u306eOffice\u74b0\u5883\u3092\u524d\u63d0\u306b\u3001\u5ba3\u8a00\u65b9\u6cd5\u30fb\u4f7f\u3044\u65b9\u30fb\u5b9f\u52d9\u3067\u306e\u30cf\u30de\u308a\u3069\u3053\u308d\u3092\u6b63\u78ba\u306b\u6574\u7406\u3057\u307e\u3059\u3002\u3042\u308f\u305b\u3066\u3001\u305d\u3082\u305d\u3082\u300cVBA\u3092\u81ea\u5206\u3067\u66f8\u304b\u305a\u306b\u540c\u3058\u3053\u3068\u3092\u5b9f\u73fe\u3059\u308b\u300d\u3068\u3044\u3046\u975e\u30a8\u30f3\u30b8\u30cb\u30a2\u5411\u3051\u306e\u9078\u629e\u80a2\u306b\u3064\u3044\u3066\u3082\u3001\u8a18\u4e8b\u5f8c\u534a\u3067\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"balloon-wrap\">\n  <div class=\"balloon-icon\">\n    <img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/04\/ceo-sugasawa.jpg\" alt=\"\u4ee3\u8868\u83c5\u6fa4\">\n    <span class=\"balloon-name\">\u4ee3\u8868\u83c5\u6fa4<\/span>\n  <\/div>\n  <div class=\"balloon-body\">VBA\u306eSleep\u95a2\u6570\u3063\u3066\u3001\u5b9f\u306f\u66f8\u304d\u65b9\u3092\u4e00\u3064\u9593\u9055\u3048\u308b\u3060\u3051\u3067\u300c64bit\u306eOffice\u3060\u3068\u52d5\u304b\u306a\u3044\u300d\u3068\u3044\u3046\u76f8\u8ac7\u3092\u4eca\u3067\u3082\u3088\u304f\u3044\u305f\u3060\u304d\u307e\u3059\u3002\u4eca\u65e5\u306f\u3053\u3053\u3092\u6b63\u78ba\u306b\u3001\u304b\u3064\u5b9f\u52d9\u76ee\u7dda\u3067\u6574\u7406\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/div>\n<\/div>\n\n\n\n<div class=\"balloon-wrap is-right\">\n  <div class=\"balloon-icon\">\n    <img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/04\/yamazaki-avatar.png\" alt=\"AI\u9b3c\u7ba1\u7406\u5c71\u5d0e\">\n    <span class=\"balloon-name\">AI\u9b3c\u7ba1\u7406\u5c71\u5d0e<\/span>\n  <\/div>\n  <div class=\"balloon-body\">\u6280\u8853\u7684\u306a\u6b63\u78ba\u3055\u3092\u6700\u512a\u5148\u3057\u3064\u3064\u3001\u300c\u7d50\u5c40\u3069\u3063\u3061\u3092\u4f7f\u3048\u3070\u3044\u3044\u306e\u304b\u300d\u300c\u975e\u30a8\u30f3\u30b8\u30cb\u30a2\u306f\u3069\u3046\u4ed8\u304d\u5408\u3048\u3070\u3044\u3044\u306e\u304b\u300d\u307e\u3067\u3001\u5b9f\u52d9\u306b\u843d\u3068\u3057\u8fbc\u3093\u3067\u89e3\u8aac\u3057\u3066\u3044\u304d\u307e\u3059\u306d\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>Sleep\u95a2\u6570<\/strong>\u309232bit\/64bit\u4e21\u65b9\u306eOffice\u3067\u52d5\u304f\u3088\u3046\u306b\u5ba3\u8a00\u3059\u308b\u6b63\u3057\u3044\u66f8\u304d\u65b9<\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span><strong>Application.Wait<\/strong>\u30e1\u30bd\u30c3\u30c9\u306e\u6b63\u3057\u3044\u5f15\u6570\u306e\u6307\u5b9a\u65b9\u6cd5\uff08\u79d2\u6307\u5b9a\u30fb\u6642\u523b\u6307\u5b9a\u306e\u8003\u3048\u65b9\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>Sleep\u3068Wait\u3001<strong>\u3069\u3061\u3089\u3092\u4f7f\u3046\u3079\u304d\u304b<\/strong>\u306e\u5224\u65ad\u57fa\u6e96<\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span>\u73fe\u5834\u3067\u5b9f\u969b\u306b\u8d77\u304d\u305f<strong>\u30cf\u30de\u308a\u3069\u3053\u308d5\u3064<\/strong>\u3068\u305d\u306e\u56de\u907f\u7b56<\/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\u52d9\u30c7\u30fc\u30bf<\/strong>\u304b\u3089\u898b\u3048\u308b\u300c\u5f85\u6a5f\u51e6\u7406\u300d\u306e\u5c5e\u4eba\u5316\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>VBA\u3092\u66f8\u3051\u306a\u304f\u3066\u3082<strong>\u540c\u3058\u8abf\u6574\u3092AI\u306b\u4efb\u305b\u308b<\/strong>\u3068\u3044\u3046\u975e\u30a8\u30f3\u30b8\u30cb\u30a2\u5411\u3051\u306e\u9078\u629e\u80a2<\/span><\/div>\n\n<\/div>\n\n\n<div style=\"margin:48px 0 8px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap;\"><a href=\"https:\/\/aikanri.genai-ai.co.jp\/seminar2-blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=cc-vba-sleep-wait&#038;blog_slug=cc-vba-sleep-wait\" target=\"_blank\" rel=\"noopener\" aria-label=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff08\u7121\u6599\u30fb1on1\u30fb60\u5206\uff09\u306e\u4e88\u7d04\u753b\u9762\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_seminar_claude_code_2026.jpg\" alt=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff5c\u7d4c\u55b6\u8005\u30fb\u4f1a\u793e\u5f79\u54e1\u5c02\u7528 1on1 60\u5206 \u7121\u6599\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><a href=\"https:\/\/aikanri.genai-ai.co.jp\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_campaign=cc-vba-sleep-wait&#038;utm_content=h2-banner-kanri\" target=\"_blank\" rel=\"noopener\" aria-label=\"AI\u9b3c\u7ba1\u7406 \u516c\u5f0f\u30b5\u30a4\u30c8\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_blog_1to1.jpg\" alt=\"Claude Code\u3092\u7d4c\u55b6\u306b\u6d3b\u304b\u3057\u305f\u3044\u65b9\u3078 \u2014 AI\u9b3c\u7ba1\u7406\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><\/div>\n\n\n<div id=\"sec-01\"><\/div>\n<h2 class=\"section-header-img\" style=\"margin:32px 0 24px;border-radius:8px;overflow:hidden;background:linear-gradient(135deg,#1a1a1a 0%,#2a1015 100%);padding:32px 28px;color:#fff;position:relative;border:none;border-left:none;text-align:left;\">\n  <span class=\"section-number\" style=\"display:block;\">01<\/span>\n  <span class=\"section-label\" style=\"display:block;\">WHY WAIT<\/span>\n  <span class=\"section-title\" style=\"display:block;\">VBA\u3067\u300c\u51e6\u7406\u3092\u6b62\u3081\u305f\u3044\u300d\u304c\u767a\u751f\u3059\u308b\u5834\u9762<\/span>\n  <span class=\"section-desc\">\u306a\u305c\u30de\u30af\u30ed\u306b\u5f85\u3061\u6642\u9593\u306e\u8abf\u6574\u304c\u5fc5\u8981\u306b\u306a\u308b\u306e\u304b<\/span>\n<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u307e\u305a\u524d\u63d0\u3092\u63c3\u3048\u3066\u304a\u304d\u307e\u3059\u3002VBA\uff08Visual Basic for Applications\uff09\u306f\u3001Excel\u30fbWord\u30fbAccess\u306a\u3069Microsoft Office\u306b\u7d44\u307f\u8fbc\u307e\u308c\u3066\u3044\u308b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u3067\u3059\u3002\u30de\u30af\u30ed\u3092\u7d44\u3093\u3067\u65e5\u3005\u306e\u5b9a\u578b\u4f5c\u696d\u3092\u81ea\u52d5\u5316\u3057\u3066\u3044\u308b\u7d4c\u7406\u62c5\u5f53\u30fb\u55b6\u696d\u4e8b\u52d9\u30fb\u7dcf\u52d9\u62c5\u5f53\u306e\u65b9\u306f\u591a\u3044\u3068\u601d\u3044\u307e\u3059\u304c\u3001\u305d\u306e\u4e2d\u3067\u983b\u7e41\u306b\u76f8\u8ac7\u3092\u53d7\u3051\u308b\u306e\u304c\u300c<strong>\u51e6\u7406\u3092\u4e00\u6642\u7684\u306b\u6b62\u3081\u305f\u3044<\/strong>\u300d\u3068\u3044\u3046\u30cb\u30fc\u30ba\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>VBA (Visual Basic for Applications)<\/strong>\uff1aMicrosoft Office\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\uff08Excel\u30fbWord\u30fbAccess\u7b49\uff09\u306b\u7d44\u307f\u8fbc\u307e\u308c\u305f\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u3002\u300c\u30de\u30af\u30ed\u306e\u8a18\u9332\u300d\u6a5f\u80fd\u3067\u81ea\u52d5\u751f\u6210\u3055\u308c\u305f\u30b3\u30fc\u30c9\u3092\u7de8\u96c6\u3057\u305f\u308a\u3001\u30bc\u30ed\u304b\u3089\u696d\u52d9\u81ea\u52d5\u5316\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u66f8\u3044\u305f\u308a\u3059\u308b\u306e\u306b\u4f7f\u308f\u308c\u307e\u3059\u3002<\/p>\n<\/div>\n\n\n\n<div style=\"background:#f8f9fa;border-left:4px solid #6b7280;border-radius:0 8px 8px 0;padding:16px 20px;margin:20px 0;\">\n  <p style=\"margin:0 0 4px;font-size:13px;font-weight:700;color:#6b7280;letter-spacing:1px;\">&#128218; \u7528\u8a9e\u89e3\u8aac<\/p>\n  <p style=\"margin:0;font-size:15px;line-height:1.7;\"><strong>\u30de\u30af\u30ed<\/strong>\uff1aVBA\u3067\u66f8\u304b\u308c\u305f\u4e00\u9023\u306e\u51e6\u7406\u624b\u9806\u3092\u6307\u3059\u8a00\u8449\u3002\u300c\u6bce\u65e5\u6c7a\u307e\u3063\u305f\u64cd\u4f5c\u3092\u81ea\u52d5\u3067\u3084\u3063\u3066\u304f\u308c\u308b\u30dc\u30bf\u30f3\u300d\u306e\u3088\u3046\u306a\u30a4\u30e1\u30fc\u30b8\u3067\u6349\u3048\u308b\u3068\u5206\u304b\u308a\u3084\u3059\u3044\u3067\u3059\u3002\u30dc\u30bf\u30f3\u4e00\u3064\u3067VBA\u30b3\u30fc\u30c9\u304c\u9806\u756a\u306b\u5b9f\u884c\u3055\u308c\u3001\u5b9a\u578b\u696d\u52d9\u3092\u4ee3\u884c\u3057\u3066\u304f\u308c\u307e\u3059\u3002<\/p>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">1-1. \u300c\u51e6\u7406\u304c\u65e9\u3059\u304e\u3066\u8ffd\u3044\u3064\u304b\u306a\u3044\u300d\u3068\u3044\u3046\u5178\u578b\u30d1\u30bf\u30fc\u30f3<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u5177\u4f53\u7684\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u5834\u9762\u3067\u300c\u51e6\u7406\u3092\u6b62\u3081\u308b\u300d\u5fc5\u8981\u304c\u51fa\u3066\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#fafafa;border-radius:8px;padding:16px 20px;margin:16px 0;border-left:4px solid #dc2626;\">\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span>\u5225\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\uff08\u30d6\u30e9\u30a6\u30b6\u30fb\u4ed6\u306eExcel\u30d5\u30a1\u30a4\u30eb\u7b49\uff09\u3092\u958b\u3044\u305f\u76f4\u5f8c\u306b\u3001\u307e\u3060\u8d77\u52d5\u3057\u304d\u3063\u3066\u3044\u306a\u3044\u72b6\u614b\u3067\u6b21\u306e\u64cd\u4f5c\u30b3\u30fc\u30c9\u304c\u8d70\u3063\u3066\u30a8\u30e9\u30fc\u306b\u306a\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>\u5916\u90e8\u30b7\u30b9\u30c6\u30e0\u3084\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3078\u306e\u66f8\u304d\u8fbc\u307f\u51e6\u7406\u306e\u76f4\u5f8c\u3001\u53cd\u6620\u304c\u7d42\u308f\u308b\u524d\u306b\u8aad\u307f\u8fbc\u307f\u51e6\u7406\u3092\u5b9f\u884c\u3057\u3066\u3057\u307e\u3044\u3001\u53e4\u3044\u30c7\u30fc\u30bf\u3092\u62fe\u3063\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>\u30d5\u30a1\u30a4\u30eb\u306e\u4fdd\u5b58\u30fb\u5909\u63db\u51e6\u7406\u304c\u5b8c\u4e86\u3059\u308b\u524d\u306b\u3001\u305d\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u3053\u3046\u3068\u3057\u3066\u30a8\u30e9\u30fc\u306b\u306a\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>\u5927\u91cf\u30c7\u30fc\u30bf\u30921\u4ef6\u305a\u3064API\u3084Web\u30b5\u30a4\u30c8\u306b\u9001\u4fe1\u3059\u308b\u51e6\u7406\u3067\u3001\u9001\u4fe1\u9593\u9694\u3092\u7a7a\u3051\u306a\u3044\u3068\u76f8\u624b\u5074\u304b\u3089\u63a5\u7d9a\u3092\u62d2\u5426\u3055\u308c\u308b\uff08\u30ec\u30fc\u30c8\u5236\u9650\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>\u30e1\u30c3\u30bb\u30fc\u30b8\u30dc\u30c3\u30af\u30b9\u3092\u4e00\u5b9a\u6642\u9593\u3060\u3051\u81ea\u52d5\u7684\u306b\u8868\u793a\u3057\u3066\u3001\u81ea\u52d5\u3067\u6d88\u3057\u305f\u3044<\/span><\/div>\n\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u308c\u3089\u306f\u3059\u3079\u3066\u3001<strong>\u300cExcel\u5074\u306e\u51e6\u7406\u901f\u5ea6\u300d\u3068\u300c\u5916\u90e8\u306e\u51e6\u7406\u304c\u5b8c\u4e86\u3059\u308b\u30bf\u30a4\u30df\u30f3\u30b0\u300d\u304c\u30ba\u30ec\u3066\u3044\u308b<\/strong>\u3053\u3068\u304c\u539f\u56e0\u3067\u3059\u3002VBA\u306f\u57fa\u672c\u7684\u306b\u300c\u4e0a\u304b\u3089\u4e0b\u3078\u3001\u3067\u304d\u308b\u9650\u308a\u901f\u304f\u300d\u5b9f\u884c\u3055\u308c\u308b\u305f\u3081\u3001\u610f\u56f3\u7684\u306b\u300c\u3053\u3053\u3067\u5c11\u3057\u5f85\u3064\u300d\u3068\u3044\u3046\u6307\u793a\u3092\u5165\u308c\u3066\u3042\u3052\u306a\u3044\u3068\u3001\u5916\u90e8\u51e6\u7406\u306e\u5b8c\u4e86\u3092\u5f85\u305f\u305a\u306b\u7a81\u3063\u8d70\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#f0fdf4;border:1px solid #22c55e;border-radius:8px;padding:20px 24px;margin:24px 0;\">\n  <div style=\"display:flex;align-items:center;gap:8px;margin-bottom:12px;\">\n    <span style=\"font-size:18px;\">&#128161;<\/span>\n    <strong style=\"color:#16a34a;font-size:15px;\">\u5f85\u6a5f\u51e6\u7406\u304c\u5fc5\u8981\u304b\u3069\u3046\u304b\u306e\u898b\u6975\u3081\u65b9<\/strong>\n  <\/div>\n  <p style=\"margin:0;font-size:15px;line-height:1.8;color:#333;\">\u300c\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u306e\u5185\u5bb9\u304c\u300e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u300f\u300e\u30d5\u30a1\u30a4\u30eb\u304c\u4f7f\u7528\u4e2d\u3067\u3059\u300f\u300e\u63a5\u7d9a\u304c\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u3057\u307e\u3057\u305f\u300f\u306e\u3044\u305a\u308c\u304b\u306b\u8a72\u5f53\u3059\u308b\u300d\u5834\u5408\u3001\u51e6\u7406\u901f\u5ea6\u306e\u30ba\u30ec\u304c\u539f\u56e0\u3067\u3042\u308b\u53ef\u80fd\u6027\u304c\u9ad8\u3044\u3067\u3059\u3002\u307e\u305a\u306f\u7591\u308f\u3057\u3044\u51e6\u7406\u306e\u76f4\u524d\u306b\u6570\u79d2\u306e\u5f85\u6a5f\u3092\u5165\u308c\u3066\u307f\u3066\u3001\u30a8\u30e9\u30fc\u304c\u89e3\u6d88\u3059\u308b\u304b\u691c\u8a3c\u3059\u308b\u306e\u304c\u5b9a\u77f3\u3067\u3059\u3002<\/p>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">1-2. VBA\u3067\u300c\u51e6\u7406\u3092\u6b62\u3081\u308b\u300d\u305f\u3081\u306e2\u3064\u306e\u65b9\u6cd5<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">VBA\u3067\u51e6\u7406\u3092\u610f\u56f3\u7684\u306b\u6b62\u3081\u308b\u65b9\u6cd5\u306f\u3001\u5927\u304d\u304f\u5206\u3051\u30662\u3064\u3042\u308a\u307e\u3059\u30021\u3064\u306f<strong>Windows API\u306eSleep\u95a2\u6570<\/strong>\u3092\u547c\u3073\u51fa\u3059\u65b9\u6cd5\u3001\u3082\u30461\u3064\u306fExcel\u306b\u6a19\u6e96\u642d\u8f09\u3055\u308c\u3066\u3044\u308b<strong>Application.Wait\u30e1\u30bd\u30c3\u30c9<\/strong>\u3092\u4f7f\u3046\u65b9\u6cd5\u3067\u3059\u3002\u6b21\u7ae0\u304b\u3089\u3001\u305d\u308c\u305e\u308c\u306e\u6b63\u3057\u3044\u66f8\u304d\u65b9\u3092\u9806\u756a\u306b\u89e3\u8aac\u3057\u3066\u3044\u304d\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\">\u30cd\u30c3\u30c8\u4e0a\u306e\u89e3\u8aac\u8a18\u4e8b\u306e\u4e2d\u306b\u306f\u300164bit\u7248Office\u3067\u306f\u52d5\u304b\u306a\u3044\u53e4\u3044\u66f8\u304d\u65b9\u3092\u305d\u306e\u307e\u307e\u8f09\u305b\u3066\u3044\u308b\u3082\u306e\u3082\u898b\u304b\u3051\u307e\u3059\u3002\u307e\u305a\u306f\u6b63\u78ba\u306a\u5ba3\u8a00\u65b9\u6cd5\u304b\u3089\u62bc\u3055\u3048\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/div>\n<\/div>\n\n\n<div style=\"margin:48px 0 8px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap;\"><a href=\"https:\/\/aikanri.genai-ai.co.jp\/seminar2-blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=cc-vba-sleep-wait&#038;blog_slug=cc-vba-sleep-wait\" target=\"_blank\" rel=\"noopener\" aria-label=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff08\u7121\u6599\u30fb1on1\u30fb60\u5206\uff09\u306e\u4e88\u7d04\u753b\u9762\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_seminar_claude_code_2026.jpg\" alt=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff5c\u7d4c\u55b6\u8005\u30fb\u4f1a\u793e\u5f79\u54e1\u5c02\u7528 1on1 60\u5206 \u7121\u6599\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><a href=\"https:\/\/aikanri.genai-ai.co.jp\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_campaign=cc-vba-sleep-wait&#038;utm_content=h2-banner-kanri\" target=\"_blank\" rel=\"noopener\" aria-label=\"AI\u9b3c\u7ba1\u7406 \u516c\u5f0f\u30b5\u30a4\u30c8\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_blog_1to1.jpg\" alt=\"Claude Code\u3092\u7d4c\u55b6\u306b\u6d3b\u304b\u3057\u305f\u3044\u65b9\u3078 \u2014 AI\u9b3c\u7ba1\u7406\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><\/div>\n\n\n<div id=\"sec-02\"><\/div>\n<h2 class=\"section-header-img\" style=\"margin:32px 0 24px;border-radius:8px;overflow:hidden;background:linear-gradient(135deg,#1a1a1a 0%,#2a1015 100%);padding:32px 28px;color:#fff;position:relative;border:none;border-left:none;text-align:left;\">\n  <span class=\"section-number\" style=\"display:block;\">02<\/span>\n  <span class=\"section-label\" style=\"display:block;\">SLEEP FUNCTION<\/span>\n  <span class=\"section-title\" style=\"display:block;\">Sleep\u95a2\u6570\uff08Windows API\u5ba3\u8a00\uff09\u306e\u6b63\u3057\u3044\u66f8\u304d\u65b9<\/span>\n  <span class=\"section-desc\">32bit\/64bit Office\u3069\u3061\u3089\u3067\u3082\u52d5\u304f\u5ba3\u8a00\u65b9\u6cd5<\/span>\n<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Sleep\u95a2\u6570\u306f\u3001VBA\u81ea\u4f53\u306e\u6a19\u6e96\u6a5f\u80fd\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002Windows\u306e\u4e2d\u6838\u90e8\u5206\uff08kernel32.dll\uff09\u304c\u63d0\u4f9b\u3057\u3066\u3044\u308b\u6a5f\u80fd\u3092\u3001VBA\u304b\u3089\u547c\u3073\u51fa\u3057\u3066\u4f7f\u3046\u5f62\u306b\u306a\u308a\u307e\u3059\u3002\u3053\u308c\u3092<strong>Windows API\uff08Application Programming Interface\uff09\u306e\u547c\u3073\u51fa\u3057<\/strong>\u3068\u547c\u3073\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>Windows API \/ kernel32.dll<\/strong>\uff1aWindows OS\u304c\u6a19\u6e96\u3067\u63d0\u4f9b\u3057\u3066\u3044\u308b\u6a5f\u80fd\uff08\u30d5\u30a1\u30a4\u30eb\u64cd\u4f5c\u30fb\u30e1\u30e2\u30ea\u7ba1\u7406\u30fb\u30bf\u30a4\u30de\u30fc\u51e6\u7406\u306a\u3069\uff09\u306e\u547c\u3073\u51fa\u3057\u7a93\u53e3\u3002kernel32.dll\u306f\u305d\u306e\u4e2d\u3067\u3082\u6700\u3082\u57fa\u672c\u7684\u306a\u6a5f\u80fd\u3092\u53ce\u3081\u305f\u30d5\u30a1\u30a4\u30eb\u3067\u3001Sleep\u3084GetTickCount\u3068\u3044\u3063\u305f\u95a2\u6570\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002VBA\u304b\u3089\u306f\u300cDeclare\u300d\u3068\u3044\u3046\u5ba3\u8a00\u6587\u3092\u4f7f\u3063\u3066\u3053\u308c\u3089\u306e\u95a2\u6570\u3092\u547c\u3073\u51fa\u305b\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">2-1. 32bit\/64bit\u4e21\u5bfe\u5fdc\u306eDeclare\u6587<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Sleep\u95a2\u6570\u3092\u4f7f\u3046\u306b\u306f\u3001\u30b3\u30fc\u30c9\u306e\u5148\u982d\uff08\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u5ba3\u8a00\u30bb\u30af\u30b7\u30e7\u30f3\uff09\u3067\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5ba3\u8a00\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u30dd\u30a4\u30f3\u30c8\u306f\u3001<strong>32bit\u7248Office\u3068Office\u3068\u3067\u5ba3\u8a00\u306e\u66f8\u304d\u65b9\u304c\u7570\u306a\u308b<\/strong>\u305f\u3081\u3001\u4e21\u65b9\u306b\u5bfe\u5fdc\u3055\u305b\u308b\u6761\u4ef6\u5206\u5c90\u3092\u5165\u308c\u308b\u3053\u3068\u3067\u3059\u3002<\/p>\n\n\n\n<pre style=\"background:#1e1e1e;color:#d4d4d4;padding:18px 22px;border-radius:8px;overflow-x:auto;font-size:13.5px;line-height:1.7;\"><code>#If VBA7 Then\n    Private Declare PtrSafe Sub Sleep Lib &quot;kernel32&quot; (ByVal dwMilliseconds As Long)\n#Else\n    Private Declare Sub Sleep Lib &quot;kernel32&quot; (ByVal dwMilliseconds As Long)\n#End If\n\nSub SleepSample()\n    Sleep 3000    &#x27; 3000\u30df\u30ea\u79d2 = 3\u79d2\u9593\u3001\u51e6\u7406\u3092\u6b62\u3081\u308b\n    MsgBox &quot;3\u79d2\u5f85\u3061\u307e\u3057\u305f&quot;\nEnd Sub<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u66f8\u304d\u65b9\u304c\u6b63\u3057\u3044\u7406\u7531\u3092\u8aac\u660e\u3057\u307e\u3059\u3002<strong>VBA7<\/strong>\u306f\u3001Office 2010\u4ee5\u964d\u3067\u5c0e\u5165\u3055\u308c\u305fVBA\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u5b9a\u6570\u3067\u3059\u3002Office 2010\u4ee5\u964d\uff0864bit\u7248\u3092\u542b\u3080\uff09\u3067\u306f\u3001API\u5ba3\u8a00\u306b<strong>PtrSafe\u30ad\u30fc\u30ef\u30fc\u30c9<\/strong>\u3092\u4ed8\u3051\u308b\u3053\u3068\u304c\u5fc5\u9808\u306b\u306a\u308a\u307e\u3057\u305f\u3002\u4e00\u65b9\u3001\u305d\u308c\u3088\u308a\u53e4\u3044Office\uff08VBA7\u975e\u5bfe\u5fdc\u306e\u74b0\u5883\uff09\u3067\u306f\u3001PtrSafe\u3068\u3044\u3046\u30ad\u30fc\u30ef\u30fc\u30c9\u81ea\u4f53\u304c\u5b58\u5728\u3057\u306a\u3044\u305f\u3081\u3001\u3053\u308c\u3092\u66f8\u304f\u3068\u30a8\u30e9\u30fc\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#f8f9fa;border-left:4px solid #6b7280;border-radius:0 8px 8px 0;padding:16px 20px;margin:20px 0;\">\n  <p style=\"margin:0 0 4px;font-size:13px;font-weight:700;color:#6b7280;letter-spacing:1px;\">&#128218; \u7528\u8a9e\u89e3\u8aac<\/p>\n  <p style=\"margin:0;font-size:15px;line-height:1.7;\"><strong>PtrSafe<\/strong>\uff1aVBA7\uff08Office 2010\u4ee5\u964d\uff09\u3067\u8ffd\u52a0\u3055\u308c\u305f\u5ba3\u8a00\u30ad\u30fc\u30ef\u30fc\u30c9\u3002\u300c\u3053\u306eAPI\u5ba3\u8a00\u306f64bit\u74b0\u5883\u3067\u3082\u5b89\u5168\u306b\u52d5\u4f5c\u3057\u307e\u3059\u300d\u3068\u3044\u3046\u610f\u5473\u3092\u793a\u3059\u305f\u3081\u306b\u3001Declare\u6587\u306b\u4ed8\u4e0e\u3057\u307e\u3059\u3002VBA7\u672a\u6e80\u306e\u53e4\u3044Office\u306b\u306f\u3053\u306e\u30ad\u30fc\u30ef\u30fc\u30c9\u81ea\u4f53\u304c\u5b58\u5728\u3057\u306a\u3044\u305f\u3081\u3001\u6761\u4ef6\u5206\u5c90\uff08#If VBA7 Then\uff09\u3067\u74b0\u5883\u3054\u3068\u306b\u5ba3\u8a00\u3092\u51fa\u3057\u5206\u3051\u307e\u3059\u3002<\/p>\n<\/div>\n\n\n\n<div style=\"background:#f8f9fa;border-left:4px solid #6b7280;border-radius:0 8px 8px 0;padding:16px 20px;margin:20px 0;\">\n  <p style=\"margin:0 0 4px;font-size:13px;font-weight:700;color:#6b7280;letter-spacing:1px;\">&#128218; \u7528\u8a9e\u89e3\u8aac<\/p>\n  <p style=\"margin:0;font-size:15px;line-height:1.7;\"><strong>ByVal<\/strong>\uff1a\u300c\u5024\u6e21\u3057\u300d\u3092\u610f\u5473\u3059\u308bVBA\u306e\u30ad\u30fc\u30ef\u30fc\u30c9\u3002\u5f15\u6570\u306e\u5b9f\u4f53\uff08\u30b3\u30d4\u30fc\uff09\u3092\u6e21\u3059\u3068\u3044\u3046\u610f\u5473\u3067\u3001\u547c\u3073\u51fa\u3057\u305f\u95a2\u6570\u5074\u3067\u305d\u306e\u5024\u3092\u66f8\u304d\u63db\u3048\u3066\u3082\u3001\u547c\u3073\u51fa\u3057\u5143\u306e\u5909\u6570\u306b\u306f\u5f71\u97ff\u3057\u307e\u305b\u3093\u3002Sleep\u95a2\u6570\u306e\u5f15\u6570dwMilliseconds\uff08\u5f85\u6a5f\u30df\u30ea\u79d2\u6570\uff09\u306fByVal\u3067\u6e21\u3059\u4ed5\u69d8\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u3064\u307e\u308a<code style=\"background:#f1f3f4;padding:2px 6px;border-radius:4px;\">#If VBA7 Then \u301c #Else \u301c #End If<\/code>\u3068\u3044\u3046\u6761\u4ef6\u5206\u5c90\u3092\u4f7f\u3046\u3053\u3068\u3067\u3001<strong>\u3069\u3061\u3089\u306e\u74b0\u5883\u3067\u30b3\u30fc\u30c9\u3092\u958b\u3044\u3066\u3082\u3001\u8a72\u5f53\u3059\u308b\u5074\u306e\u5ba3\u8a00\u3060\u3051\u304c\u6709\u52b9\u306b\u306a\u308b<\/strong>\u3068\u3044\u3046\u4ed5\u7d44\u307f\u3067\u3059\u3002VBA7\u306b\u5bfe\u5fdc\u3057\u3066\u3044\u306a\u3044\u53e4\u3044\u74b0\u5883\u3067\u306f\u3001\u305d\u3082\u305d\u3082\u300c#If VBA7\u300d\u306e\u5224\u5b9a\u304cFalse\u306b\u306a\u308b\u305f\u3081\u3001PtrSafe\u3068\u3044\u3046\u672a\u77e5\u306e\u30ad\u30fc\u30ef\u30fc\u30c9\u304c\u66f8\u304b\u308c\u305f\u884c\u81ea\u4f53\u304c\u7121\u8996\u3055\u308c\u308b\u3001\u3068\u3044\u3046\u7406\u5c48\u3067\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;\">PtrSafe\u3092\u4ed8\u3051\u5fd8\u308c\u305f\u5834\u5408\u306b\u8d77\u304d\u308b\u3053\u3068<\/strong>\n  <\/div>\n  <p style=\"margin:0;font-size:15px;line-height:1.8;color:#333;\">64bit\u7248Office\u3067\u300cPrivate Declare Sub Sleep Lib \"kernel32\" (ByVal dwMilliseconds As Long)\u300d\u3068PtrSafe\u306a\u3057\u3067\u5ba3\u8a00\u3059\u308b\u3068\u3001\u30b3\u30f3\u30d1\u30a4\u30eb\u6642\u306b\u300c\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u304c\u7121\u52b9\u3067\u3059\u3002\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u306b\u306f PtrSafe \u5c5e\u6027\u304c\u5fc5\u8981\u3067\u3059\u300d\u3068\u3044\u3063\u305f\u8da3\u65e8\u306e\u30a8\u30e9\u30fc\u304c\u51fa\u307e\u3059\u3002\u300c\u6614\u306e\u30de\u30af\u30ed\u3092\u793e\u5185\u306e\u65b0\u3057\u3044PC\u306b\u79fb\u3057\u305f\u3089\u6025\u306b\u30a8\u30e9\u30fc\u304c\u51fa\u305f\u300d\u3068\u3044\u3046\u76f8\u8ac7\u306e\u591a\u304f\u306f\u3001\u3053\u306e\u5ba3\u8a00\u306e\u66f8\u304d\u65b9\u304c\u539f\u56e0\u3067\u3059\u3002<\/p>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">2-2. \u306a\u305cdwMilliseconds\u306fLong\u306e\u307e\u307e\u3067\u3088\u3044\u306e\u304b<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">64bit\u5bfe\u5fdc\u3068\u3044\u3046\u3068\u300c\u5909\u6570\u306e\u578b\u3082LongPtr\u306b\u5909\u3048\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u306e\u3067\u306f\uff1f\u300d\u3068\u601d\u3046\u65b9\u3082\u3044\u307e\u3059\u304c\u3001Sleep\u95a2\u6570\u306e\u5f15\u6570<strong>dwMilliseconds\uff08\u5f85\u6a5f\u3059\u308b\u30df\u30ea\u79d2\u6570\uff09<\/strong>\u306b\u3064\u3044\u3066\u306f\u3001<strong>Long\u578b\u306e\u307e\u307e\u3067\u554f\u984c\u3042\u308a\u307e\u305b\u3093<\/strong>\u3002LongPtr\u578b\u3078\u306e\u5909\u66f4\u304c\u5fc5\u8981\u306b\u306a\u308b\u306e\u306f\u3001\u30e1\u30e2\u30ea\u30a2\u30c9\u30ec\u30b9\u3084\u30a6\u30a3\u30f3\u30c9\u30a6\u30cf\u30f3\u30c9\u30eb\u306e\u3088\u3046\u306b\u300c\u30dd\u30a4\u30f3\u30bf\u30b5\u30a4\u30ba\uff0832bit\u74b0\u5883\u306864bit\u74b0\u5883\u3067\u9577\u3055\u304c\u5909\u308f\u308b\u5024\uff09\u300d\u3092\u6271\u3046\u5f15\u6570\u306e\u5834\u5408\u3067\u3059\u3002\u5f85\u6a5f\u6642\u9593\u306f\u3042\u304f\u307e\u3067\u6570\u5024\uff08\u30df\u30ea\u79d2\u6570\uff09\u3067\u3042\u308a\u3001\u30dd\u30a4\u30f3\u30bf\u3067\u306f\u306a\u3044\u305f\u3081\u3001\u578b\u81ea\u4f53\u3092\u5909\u3048\u308b\u5fc5\u8981\u306f\u306a\u304f\u3001\u5909\u66f4\u304c\u5fc5\u8981\u306a\u306e\u306f\u5ba3\u8a00\u306e\u5148\u982d\u306b\u4ed8\u3051\u308bPtrSafe\u306e\u307f\u3001\u3068\u3044\u3046\u70b9\u3092\u6b63\u78ba\u306b\u62bc\u3055\u3048\u3066\u304a\u3044\u3066\u304f\u3060\u3055\u3044\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;\">\u8ff7\u3063\u305f\u3089\u5ba3\u8a00\u90e8\u5206\u3092\u305d\u306e\u307e\u307e\u30b3\u30d4\u30fc\u3057\u3066\u4f7f\u3046<\/strong>\n  <\/div>\n  <p style=\"margin:0;font-size:15px;line-height:1.8;color:#333;\">Sleep\u95a2\u6570\u306e\u5ba3\u8a00\u306f\u6bce\u56de\u81ea\u5206\u3067\u8003\u3048\u308b\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u672c\u8a18\u4e8b\u306e\u300c#If VBA7 Then\u301c\u300d\u306e\u30d6\u30ed\u30c3\u30af\u3092\u305d\u306e\u307e\u307e\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u5148\u982d\u306b\u8cbc\u308a\u4ed8\u3051\u308c\u3070\u300132bit\u30fb64bit\u3069\u3061\u3089\u306eOffice\u74b0\u5883\u3067\u3082\u52d5\u4f5c\u3057\u307e\u3059\u3002\u547c\u3073\u51fa\u3057\u90e8\u5206\uff08Sleep 3000 \u7b49\uff09\u3060\u3051\u3092\u81ea\u5206\u306e\u51e6\u7406\u306b\u5408\u308f\u305b\u3066\u66f8\u304d\u63db\u3048\u308c\u3070\u5341\u5206\u3067\u3059\u3002<\/p>\n<\/div>\n\n\n\n<div class=\"balloon-wrap\">\n  <div class=\"balloon-icon\">\n    <img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/04\/ceo-sugasawa.jpg\" alt=\"\u4ee3\u8868\u83c5\u6fa4\">\n    <span class=\"balloon-name\">\u4ee3\u8868\u83c5\u6fa4<\/span>\n  <\/div>\n  <div class=\"balloon-body\">\u6b63\u76f4\u3001\u3053\u306e\u5ba3\u8a00\u90e8\u5206\u3092\u6bce\u56de\u624b\u6253\u3061\u3057\u3066\u3044\u308b\u7d4c\u7406\u62c5\u5f53\u306e\u65b9\u3092\u4f55\u4eba\u3082\u898b\u3066\u304d\u307e\u3057\u305f\u3002\u3053\u3053\u306f\u30b3\u30d4\u30da\u3067\u56fa\u5b9a\u3057\u3066\u3044\u3044\u90e8\u5206\u306a\u306e\u3067\u3001\u5909\u6570\u540d\u3084\u5f85\u6a5f\u6642\u9593\u3060\u3051\u8abf\u6574\u3059\u308c\u3070\u5341\u5206\u3067\u3059\u3002<\/div>\n<\/div>\n\n\n<div style=\"margin:48px 0 8px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap;\"><a href=\"https:\/\/aikanri.genai-ai.co.jp\/seminar2-blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=cc-vba-sleep-wait&#038;blog_slug=cc-vba-sleep-wait\" target=\"_blank\" rel=\"noopener\" aria-label=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff08\u7121\u6599\u30fb1on1\u30fb60\u5206\uff09\u306e\u4e88\u7d04\u753b\u9762\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_seminar_claude_code_2026.jpg\" alt=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff5c\u7d4c\u55b6\u8005\u30fb\u4f1a\u793e\u5f79\u54e1\u5c02\u7528 1on1 60\u5206 \u7121\u6599\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><a href=\"https:\/\/aikanri.genai-ai.co.jp\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_campaign=cc-vba-sleep-wait&#038;utm_content=h2-banner-kanri\" target=\"_blank\" rel=\"noopener\" aria-label=\"AI\u9b3c\u7ba1\u7406 \u516c\u5f0f\u30b5\u30a4\u30c8\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_blog_1to1.jpg\" alt=\"Claude Code\u3092\u7d4c\u55b6\u306b\u6d3b\u304b\u3057\u305f\u3044\u65b9\u3078 \u2014 AI\u9b3c\u7ba1\u7406\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><\/div>\n\n\n<div id=\"sec-03\"><\/div>\n<h2 class=\"section-header-img\" style=\"margin:32px 0 24px;border-radius:8px;overflow:hidden;background:linear-gradient(135deg,#1a1a1a 0%,#2a1015 100%);padding:32px 28px;color:#fff;position:relative;border:none;border-left:none;text-align:left;\">\n  <span class=\"section-number\" style=\"display:block;\">03<\/span>\n  <span class=\"section-label\" style=\"display:block;\">APPLICATION.WAIT<\/span>\n  <span class=\"section-title\" style=\"display:block;\">Application.Wait\u30e1\u30bd\u30c3\u30c9\u306e\u4f7f\u3044\u65b9<\/span>\n  <span class=\"section-desc\">Excel\u6a19\u6e96\u6a5f\u80fd\u3060\u3051\u3067\u5f85\u6a5f\u51e6\u7406\u3092\u7d44\u3080\u65b9\u6cd5<\/span>\n<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u3082\u3046\u4e00\u3064\u306e\u65b9\u6cd5\u304c<strong>Application.Wait<\/strong>\u3067\u3059\u3002\u3053\u3061\u3089\u306fWindows API\u3092\u547c\u3073\u51fa\u3059\u5fc5\u8981\u304c\u306a\u304f\u3001<strong>Excel\u306e\u6a19\u6e96\u6a5f\u80fd\u3060\u3051\u3067\u5b8c\u7d50\u3059\u308b<\/strong>\u3068\u3044\u3046\u5927\u304d\u306a\u30e1\u30ea\u30c3\u30c8\u304c\u3042\u308a\u307e\u3059\u3002API\u5ba3\u8a00\u306e\u3088\u3046\u306aDeclare\u6587\u304c\u4e0d\u8981\u306a\u306e\u3067\u3001\u30b3\u30fc\u30c9\u304c\u30b7\u30f3\u30d7\u30eb\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">3-1. Application.Wait\u306e\u57fa\u672c\u69cb\u6587<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Application.Wait\u306f\u300c<strong>\u3044\u3064\u307e\u3067\u5f85\u3064\u304b\uff08\u518d\u958b\u3059\u308b\u6642\u523b\uff09<\/strong>\u300d\u3092\u6307\u5b9a\u3059\u308b\u4ed5\u7d44\u307f\u3067\u3059\u3002\u300c\u4f55\u79d2\u5f85\u3064\u304b\u300d\u3068\u3044\u3046<strong>\u671f\u9593<\/strong>\u3092\u76f4\u63a5\u6e21\u3059\u306e\u3067\u306f\u306a\u304f\u3001\u300c\u3053\u306e\u6642\u523b\u306b\u306a\u3063\u305f\u3089\u51e6\u7406\u3092\u518d\u958b\u3059\u308b\u300d\u3068\u3044\u3046<strong>\u6642\u523b\uff08Date\u578b\u306e\u5024\uff09<\/strong>\u3092\u6e21\u3059\u70b9\u304c\u3001Sleep\u95a2\u6570\u3068\u306e\u5927\u304d\u306a\u9055\u3044\u3067\u3059\u3002<\/p>\n\n\n\n<pre style=\"background:#1e1e1e;color:#d4d4d4;padding:18px 22px;border-radius:8px;overflow-x:auto;font-size:13.5px;line-height:1.7;\"><code>Sub WaitSample()\n    &#x27; \u73fe\u5728\u6642\u523b\u304b\u30893\u79d2\u5f8c\u307e\u3067\u5f85\u6a5f\u3059\u308b\n    Application.Wait Now + TimeValue(&quot;00:00:03&quot;)\n    MsgBox &quot;3\u79d2\u5f85\u3061\u307e\u3057\u305f&quot;\nEnd Sub<\/code><\/pre>\n\n\n\n<div style=\"background:#f8f9fa;border-left:4px solid #6b7280;border-radius:0 8px 8px 0;padding:16px 20px;margin:20px 0;\">\n  <p style=\"margin:0 0 4px;font-size:13px;font-weight:700;color:#6b7280;letter-spacing:1px;\">&#128218; \u7528\u8a9e\u89e3\u8aac<\/p>\n  <p style=\"margin:0;font-size:15px;line-height:1.7;\"><strong>TimeValue<\/strong>\uff1a\"00:00:03\" \u306e\u3088\u3046\u306a\u6642\u523b\u3092\u8868\u3059\u6587\u5b57\u5217\u3092\u3001VBA\u304c\u8a08\u7b97\u306b\u4f7f\u3048\u308b\u6642\u523b\u30c7\u30fc\u30bf\uff08\u30b7\u30ea\u30a2\u30eb\u5024\uff09\u306b\u5909\u63db\u3059\u308b\u95a2\u6570\u3002Application.Wait\u306b\u300c\u3042\u3068\u4f55\u79d2\u5f85\u3064\u304b\u300d\u3092\u4f1d\u3048\u308b\u305f\u3081\u306b\u3001\u73fe\u5728\u6642\u523b\uff08Now\uff09\u306bTimeValue\u3067\u4f5c\u3063\u305f\u6642\u9593\u5dee\u3092\u8db3\u3057\u7b97\u3059\u308b\u5f62\u3067\u4f7f\u3046\u306e\u304c\u57fa\u672c\u30d1\u30bf\u30fc\u30f3\u3067\u3059\u3002<\/p>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e0a\u8a18\u306e\u30b3\u30fc\u30c9\u306f\u3001\u300c\u73fe\u5728\u6642\u523b\uff08Now\uff09\u300d\u306b\u300c3\u79d2\uff08TimeValue(\"00:00:03\")\uff09\u300d\u3092\u8db3\u3057\u305f\u6642\u523b\u3092\u8a08\u7b97\u3057\u3001<strong>\u305d\u306e\u6642\u523b\u306b\u306a\u308b\u307e\u3067\u30de\u30af\u30ed\u306e\u5b9f\u884c\u3092\u6b62\u3081\u308b<\/strong>\u3068\u3044\u3046\u610f\u5473\u306b\u306a\u308a\u307e\u3059\u3002\u300c3\u79d2\u9593\u300d\u3068\u3044\u3046\u671f\u9593\u305d\u306e\u3082\u306e\u3092\u6e21\u3057\u3066\u3044\u308b\u306e\u3067\u306f\u306a\u304f\u3001\u300c\u305d\u306e\u6642\u523b\u304c\u6765\u308b\u307e\u3067\u300d\u3068\u3044\u3046\u5230\u9054\u76ee\u6a19\u3092\u6e21\u3057\u3066\u3044\u308b\u70b9\u3092\u6b63\u78ba\u306b\u7406\u89e3\u3057\u3066\u304a\u304f\u3068\u3001\u5fdc\u7528\u304c\u52b9\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">3-2. \u5206\u30fb\u6642\u9593\u5358\u4f4d\u3067\u5f85\u305f\u305b\u305f\u3044\u5834\u5408<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">TimeValue\u306e\u6587\u5b57\u5217\u90e8\u5206\u3092\u5909\u3048\u308b\u3060\u3051\u3067\u3001\u5f85\u6a5f\u6642\u9593\u3092\u81ea\u7531\u306b\u8abf\u6574\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<pre style=\"background:#1e1e1e;color:#d4d4d4;padding:18px 22px;border-radius:8px;overflow-x:auto;font-size:13.5px;line-height:1.7;\"><code>Sub WaitVariations()\n    Application.Wait Now + TimeValue(&quot;00:00:10&quot;)   &#x27; 10\u79d2\u5f85\u3064\n    Application.Wait Now + TimeValue(&quot;00:01:00&quot;)   &#x27; 1\u5206\u5f85\u3064\n    Application.Wait Now + TimeValue(&quot;00:30:00&quot;)   &#x27; 30\u5206\u5f85\u3064\n    Application.Wait Now + TimeValue(&quot;01:00:00&quot;)   &#x27; 1\u6642\u9593\u5f85\u3064\nEnd Sub<\/code><\/pre>\n\n\n\n<div style=\"background:#fef2f2;border:2px solid #dc2626;border-radius:8px;padding:20px 24px;margin:24px 0;\">\n  <div style=\"display:flex;align-items:center;gap:8px;margin-bottom:12px;\">\n    <span style=\"font-size:20px;\">&#9888;&#65039;<\/span>\n    <strong style=\"color:#dc2626;font-size:16px;\">TimeValue\u306f1\u79d2\u672a\u6e80\u3092\u6b63\u3057\u304f\u89e3\u91c8\u3067\u304d\u306a\u3044<\/strong>\n  <\/div>\n  <p style=\"margin:0;font-size:15px;line-height:1.8;color:#333;\">TimeValue(\"00:00:00.5\")\u306e\u3088\u3046\u306b\u5c0f\u6570\u70b9\u30670.5\u79d2\u3092\u6307\u5b9a\u3057\u3088\u3046\u3068\u3057\u3066\u3082\u3001\u6587\u5b57\u5217\u3068\u3057\u3066\u6b63\u3057\u304f\u89e3\u91c8\u3055\u308c\u306a\u3044\u30fb\u610f\u56f3\u901a\u308a\u306b\u52d5\u304b\u306a\u3044\u30b1\u30fc\u30b9\u304c\u3042\u308a\u307e\u3059\u30021\u79d2\u672a\u6e80\u306e\u7d30\u304b\u3044\u5f85\u6a5f\u3092\u78ba\u5b9f\u306b\u884c\u3044\u305f\u3044\u5834\u5408\u306f\u3001\u5f8c\u8ff0\u306eSleep\u95a2\u6570\u3092\u4f7f\u3046\u304b\u3001Now\u95a2\u6570\u306b\u76f4\u63a5\u30b7\u30ea\u30a2\u30eb\u5024\uff081\u65e5\u309286400\u79d2\u3068\u3057\u3066\u8a08\u7b97\u3057\u305f\u5206\u6570\uff09\u3092\u8db3\u3057\u7b97\u3059\u308b\u65b9\u6cd5\u3092\u691c\u8a0e\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u4e2d\u9014\u534a\u7aef\u306a\u81ea\u5df1\u6d41\u306e\u79d2\u6570\u6307\u5b9a\u306f\u3001\u74b0\u5883\u306b\u3088\u3063\u3066\u6319\u52d5\u304c\u5909\u308f\u308b\u30ea\u30b9\u30af\u304c\u3042\u308b\u305f\u3081\u3001\u78ba\u4fe1\u304c\u6301\u3066\u306a\u3044\u5834\u5408\u306f\u300c1\u79d2\u4ee5\u4e0a\u306e\u5358\u4f4d\u3067\u4e38\u3081\u308b\u300d\u306e\u304c\u5b89\u5168\u3067\u3059\u3002<\/p>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">3-3. Application.Wait\u306e\u898b\u843d\u3068\u3057\u304c\u3061\u306a\u4ed5\u69d8<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Application.Wait\u3067\u7279\u306b\u6ce8\u610f\u3057\u305f\u3044\u306e\u304c\u3001<strong>\u300c\u6642\u523b\u300d\u3092\u6e21\u3059\u4ed5\u7d44\u307f\u3067\u3042\u308b\u4ee5\u4e0a\u3001\u6307\u5b9a\u3057\u305f\u6642\u523b\u304c\u3059\u3067\u306b\u904e\u53bb\u306b\u306a\u3063\u3066\u3044\u308b\u3068\u3001\u5b9f\u8cea\u7684\u306b\u5f85\u6a5f\u305b\u305a\u305d\u306e\u307e\u307e\u51e6\u7406\u304c\u9032\u3080<\/strong>\u3068\u3044\u3046\u70b9\u3067\u3059\u3002\u4f8b\u3048\u3070\u300cNow\u300d\u3092\u8a08\u7b97\u3059\u308b\u30bf\u30a4\u30df\u30f3\u30b0\u3068\u5b9f\u969b\u306b\u30b3\u30fc\u30c9\u304c\u5b9f\u884c\u3055\u308c\u308b\u30bf\u30a4\u30df\u30f3\u30b0\u304c\u30ba\u30ec\u3066\u3044\u305f\u308a\u3001PC\u306e\u6642\u523b\u8a2d\u5b9a\u304c\u304a\u304b\u3057\u304b\u3063\u305f\u308a\u3059\u308b\u3068\u3001\u610f\u56f3\u3057\u305f\u5f85\u6a5f\u6642\u9593\u306b\u306a\u3089\u306a\u3044\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u5b89\u5b9a\u3057\u3066\u52d5\u304b\u3059\u306b\u306f\u3001Application.Wait\u3092\u547c\u3073\u51fa\u3059\u76f4\u524d\u306b\u6642\u523b\u3092\u53d6\u5f97\u3057\u3001\u305d\u306e\u5834\u3067\u5f85\u6a5f\u6642\u9593\u3092\u8a08\u7b97\u3059\u308b\u66f8\u304d\u65b9\u3092\u5fb9\u5e95\u3059\u308b\u3053\u3068\u304c\u5927\u5207\u3067\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#f0fdf4;border:1px solid #22c55e;border-radius:8px;padding:20px 24px;margin:24px 0;\">\n  <div style=\"display:flex;align-items:center;gap:8px;margin-bottom:12px;\">\n    <span style=\"font-size:18px;\">&#128161;<\/span>\n    <strong style=\"color:#16a34a;font-size:15px;\">Application.Wait\u306e\u30e1\u30ea\u30c3\u30c8\u306f\u300c\u5ba3\u8a00\u4e0d\u8981\u300d<\/strong>\n  <\/div>\n  <p style=\"margin:0;font-size:15px;line-height:1.8;color:#333;\">Sleep\u95a2\u6570\u306e\u3088\u3046\u306a#If VBA7\u301c\u306eDeclare\u6587\u304c\u4e00\u5207\u4e0d\u8981\u3067\u3001Excel\u304c\u52d5\u304f\u74b0\u5883\u3067\u3042\u308c\u3070\u8ffd\u52a0\u8a2d\u5b9a\u306a\u3057\u306b\u305d\u306e\u307e\u307e\u4f7f\u3048\u307e\u3059\u3002\u300c\u305d\u3082\u305d\u3082API\u5ba3\u8a00\u3068\u3044\u3046\u6982\u5ff5\u306b\u4e0d\u5b89\u304c\u3042\u308b\u300d\u3068\u3044\u3046\u65b9\u306f\u3001\u307e\u305aApplication.Wait\u304b\u3089\u8a66\u3059\u306e\u304c\u304a\u3059\u3059\u3081\u3067\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\">Application.Wait\u306f\u300c\u6642\u523b\u3092\u6e21\u3059\u300d\u3068\u3044\u3046\u767a\u60f3\u304cSleep\u3068\u9055\u3046\u306e\u3067\u3001\u6700\u521d\u306f\u3053\u3053\u3067\u3064\u307e\u305a\u304f\u65b9\u304c\u591a\u3044\u3067\u3059\u3002\u300c\u79d2\u6570\u3092\u6e21\u3057\u3066\u3044\u308b\u300d\u306e\u3067\u306f\u306a\u304f\u300c\u3044\u3064\u306b\u306a\u3063\u305f\u3089\u518d\u958b\u3059\u308b\u304b\u300d\u3092\u6e21\u3057\u3066\u3044\u308b\u3001\u3068\u899a\u3048\u3066\u304a\u304f\u3068\u8ff7\u3044\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\/seminar2-blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=cc-vba-sleep-wait&#038;blog_slug=cc-vba-sleep-wait\" target=\"_blank\" rel=\"noopener\" aria-label=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff08\u7121\u6599\u30fb1on1\u30fb60\u5206\uff09\u306e\u4e88\u7d04\u753b\u9762\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_seminar_claude_code_2026.jpg\" alt=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff5c\u7d4c\u55b6\u8005\u30fb\u4f1a\u793e\u5f79\u54e1\u5c02\u7528 1on1 60\u5206 \u7121\u6599\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><a href=\"https:\/\/aikanri.genai-ai.co.jp\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_campaign=cc-vba-sleep-wait&#038;utm_content=h2-banner-kanri\" target=\"_blank\" rel=\"noopener\" aria-label=\"AI\u9b3c\u7ba1\u7406 \u516c\u5f0f\u30b5\u30a4\u30c8\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_blog_1to1.jpg\" alt=\"Claude Code\u3092\u7d4c\u55b6\u306b\u6d3b\u304b\u3057\u305f\u3044\u65b9\u3078 \u2014 AI\u9b3c\u7ba1\u7406\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><\/div>\n\n\n<div id=\"sec-04\"><\/div>\n<h2 class=\"section-header-img\" style=\"margin:32px 0 24px;border-radius:8px;overflow:hidden;background:linear-gradient(135deg,#1a1a1a 0%,#2a1015 100%);padding:32px 28px;color:#fff;position:relative;border:none;border-left:none;text-align:left;\">\n  <span class=\"section-number\" style=\"display:block;\">04<\/span>\n  <span class=\"section-label\" style=\"display:block;\">SLEEP VS WAIT<\/span>\n  <span class=\"section-title\" style=\"display:block;\">Sleep \u3068 Wait\u3001\u7d50\u5c40\u3069\u3061\u3089\u3092\u4f7f\u3046\u3079\u304d\u304b<\/span>\n  <span class=\"section-desc\">\u7528\u9014\u5225\u306e\u5224\u65ad\u57fa\u6e96\u3092\u6574\u7406\u3059\u308b<\/span>\n<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u3053\u307e\u3067Sleep\u95a2\u6570\u3068Application.Wait\u306e\u66f8\u304d\u65b9\u3092\u898b\u3066\u304d\u307e\u3057\u305f\u304c\u3001\u300c\u7d50\u5c40\u3069\u3061\u3089\u3092\u4f7f\u3048\u3070\u3044\u3044\u306e\u304b\u300d\u3092\u6574\u7406\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<table>\n<thead><tr><th>\u89b3\u70b9<\/th><th>Sleep\u95a2\u6570\uff08API\uff09<\/th><th>Application.Wait<\/th><\/tr><\/thead>\n<tbody>\n<tr><td>\u4e8b\u524d\u6e96\u5099<\/td><td>Declare\u6587\u306e\u5ba3\u8a00\u304c\u5fc5\u8981\uff0832bit\/64bit\u5206\u5c90\uff09<\/td><td>\u5ba3\u8a00\u4e0d\u8981\u3001\u305d\u306e\u307e\u307e\u4f7f\u3048\u308b<\/td><\/tr>\n<tr><td>\u5f15\u6570\u306e\u8003\u3048\u65b9<\/td><td>\u30df\u30ea\u79d2\u5358\u4f4d\u306e\u300c\u671f\u9593\u300d\u3092\u76f4\u63a5\u6307\u5b9a<\/td><td>\u300c\u518d\u958b\u3059\u308b\u6642\u523b\u300d\u3092\u8a08\u7b97\u3057\u3066\u6307\u5b9a<\/td><\/tr>\n<tr><td>\u6700\u5c0f\u5358\u4f4d\u306e\u7cbe\u5ea6<\/td><td>\u30df\u30ea\u79d2\u5358\u4f4d\u3067\u7d30\u304b\u304f\u6307\u5b9a\u3067\u304d\u308b<\/td><td>\u5b9f\u52d9\u4e0a\u306f1\u79d2\u5358\u4f4d\u304c\u5b89\u5168<\/td><\/tr>\n<tr><td>\u5bfe\u5fdcOS<\/td><td>Windows\u7248Excel\u306e\u307f\uff08kernel32.dll\u4f9d\u5b58\uff09<\/td><td>Windows\u7248\u30fbMac\u7248\u3069\u3061\u3089\u3067\u3082\u5229\u7528\u53ef<\/td><\/tr>\n<tr><td>\u30b3\u30fc\u30c9\u306e\u898b\u305f\u76ee<\/td><td>\u30b7\u30f3\u30d7\u30eb\u306a1\u884c\u547c\u3073\u51fa\u3057<\/td><td>\u6642\u523b\u8a08\u7b97\u3092\u542b\u3080\u305f\u3081\u3084\u3084\u9577\u304f\u306a\u308b<\/td><\/tr>\n<\/tbody>\n<\/table>\n\n\n\n<p class=\"wp-block-paragraph\">\u8868\u304b\u3089\u3082\u5206\u304b\u308b\u901a\u308a\u3001<strong>\u30df\u30ea\u79d2\u5358\u4f4d\u306e\u7d30\u304b\u3044\u8abf\u6574\u304c\u3057\u305f\u3044\u304b\u3001Mac\u7248Excel\u3068\u306e\u4e92\u63db\u6027\u3092\u4fdd\u3061\u305f\u3044\u304b<\/strong>\u3067\u9078\u629e\u304c\u5909\u308f\u308a\u307e\u3059\u3002\u5b9f\u52d9\u3067\u4f7f\u3046\u983b\u5ea6\u304c\u9ad8\u3044\u306e\u306f\u3001\u793e\u5185\u3067\u5b8c\u7d50\u3059\u308b\u79d2\u5358\u4f4d\u301c\u5206\u5358\u4f4d\u306e\u5f85\u6a5f\u3067\u3042\u308c\u3070<strong>Application.Wait<\/strong>\u3001\u5916\u90e8\u30b7\u30b9\u30c6\u30e0\u3068\u306e\u30bf\u30a4\u30df\u30f3\u30b0\u8abf\u6574\u3067\u30df\u30ea\u79d2\u5358\u4f4d\u306e\u7cbe\u5ea6\u304c\u5fc5\u8981\u306a\u5834\u5408\u306f<strong>Sleep\u95a2\u6570<\/strong>\u3001\u3068\u3044\u3046\u4f4f\u307f\u5206\u3051\u3067\u3059\u3002<\/p>\n\n\n\n<div class=\"g-flow-row\" style=\"margin:24px 0;\">\n  <div class=\"g-flow-item\"><strong>Mac\u7248\u3067\u3082<br>\u52d5\u304b\u3057\u305f\u3044\uff1f<\/strong><br><span style=\"font-size:12px;\">YES\u306a\u3089<br>Application.Wait<\/span><\/div>\n  <div class=\"g-flow-arrow\">&#8594;<\/div>\n  <div class=\"g-flow-item\"><strong>\u30df\u30ea\u79d2\u5358\u4f4d\u306e<br>\u7cbe\u5ea6\u304c\u5fc5\u8981\uff1f<\/strong><br><span style=\"font-size:12px;\">YES\u306a\u3089<br>Sleep\u95a2\u6570<\/span><\/div>\n  <div class=\"g-flow-arrow\">&#8594;<\/div>\n  <div class=\"g-flow-item\"><strong>\u5ba3\u8a00\u306a\u3057\u3067<br>\u3059\u3050\u8a66\u3057\u305f\u3044\uff1f<\/strong><br><span style=\"font-size:12px;\">YES\u306a\u3089<br>Application.Wait<\/span><\/div>\n  <div class=\"g-flow-arrow\">&#8594;<\/div>\n  <div class=\"g-flow-item\"><strong>\u7d50\u8ad6<\/strong><br><span style=\"font-size:12px;\">\u7528\u9014\u306b\u5fdc\u3058\u3066<br>\u4f7f\u3044\u5206\u3051\u308b<\/span><\/div>\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;\">\u4e21\u65b9\u3068\u3082UI\u3092\u30d6\u30ed\u30c3\u30af\u3059\u308b\u70b9\u306f\u5171\u901a<\/strong>\n  <\/div>\n  <p style=\"margin:0;font-size:15px;line-height:1.8;color:#333;\">Sleep\u3082Application.Wait\u3082\u3001\u5f85\u6a5f\u4e2d\u306fVBA\u306e\u5b9f\u884c\u30b9\u30ec\u30c3\u30c9\u304c\u6b62\u307e\u308b\u305f\u3081\u3001\u305d\u306e\u9593Excel\u306e\u753b\u9762\u64cd\u4f5c\u304c\u3067\u304d\u306a\u304f\u306a\u308b\u70b9\u306f\u5171\u901a\u3067\u3059\u3002\u9577\u6642\u9593\uff08\u6570\u5341\u79d2\u4ee5\u4e0a\uff09\u306e\u5f85\u6a5f\u3092\u631f\u3080\u51e6\u7406\u3067\u306f\u3001\u30e6\u30fc\u30b6\u30fc\u304b\u3089\u898b\u3066\u300cExcel\u304c\u56fa\u307e\u3063\u305f\u300d\u3088\u3046\u306b\u898b\u3048\u3001\u6700\u60aa\u306e\u5834\u5408\u300c\u5fdc\u7b54\u306a\u3057\u300d\u3068\u8868\u793a\u3055\u308c\u3066\u5f37\u5236\u7d42\u4e86\u306e\u5224\u65ad\u3092\u3055\u308c\u3066\u3057\u307e\u3046\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u6570\u79d2\u3092\u8d85\u3048\u308b\u5f85\u6a5f\u3092\u631f\u3080\u5834\u5408\u306f\u3001\u5f85\u6a5f\u7406\u7531\u3092\u30e1\u30c3\u30bb\u30fc\u30b8\u30dc\u30c3\u30af\u30b9\u7b49\u3067\u5148\u306b\u4f1d\u3048\u3066\u304a\u304f\u3053\u3068\u3092\u63a8\u5968\u3057\u307e\u3059\u3002<\/p>\n<\/div>\n\n\n\n<div class=\"balloon-wrap\">\n  <div class=\"balloon-icon\">\n    <img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/04\/ceo-sugasawa.jpg\" alt=\"\u4ee3\u8868\u83c5\u6fa4\">\n    <span class=\"balloon-name\">\u4ee3\u8868\u83c5\u6fa4<\/span>\n  <\/div>\n  <div class=\"balloon-body\">\u300c\u3069\u3063\u3061\u304c\u6b63\u89e3\u304b\u300d\u3088\u308a\u300c\u81ea\u5206\u306e\u74b0\u5883\u3068\u7528\u9014\u306b\u3069\u3061\u3089\u304c\u5408\u3063\u3066\u3044\u308b\u304b\u300d\u3067\u9078\u3076\u306e\u304c\u6b63\u3057\u3044\u8003\u3048\u65b9\u3067\u3059\u3002Mac\u7248Excel\u3092\u793e\u5185\u306e\u4e00\u90e8\u304c\u4f7f\u3063\u3066\u3044\u308b\u306a\u3089\u3001\u8ff7\u308f\u305aApplication.Wait\u4e00\u629e\u3067\u3059\u306d\u3002<\/div>\n<\/div>\n\n\n<div style=\"margin:48px 0 8px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap;\"><a href=\"https:\/\/aikanri.genai-ai.co.jp\/seminar2-blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=cc-vba-sleep-wait&#038;blog_slug=cc-vba-sleep-wait\" target=\"_blank\" rel=\"noopener\" aria-label=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff08\u7121\u6599\u30fb1on1\u30fb60\u5206\uff09\u306e\u4e88\u7d04\u753b\u9762\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_seminar_claude_code_2026.jpg\" alt=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff5c\u7d4c\u55b6\u8005\u30fb\u4f1a\u793e\u5f79\u54e1\u5c02\u7528 1on1 60\u5206 \u7121\u6599\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><a href=\"https:\/\/aikanri.genai-ai.co.jp\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_campaign=cc-vba-sleep-wait&#038;utm_content=h2-banner-kanri\" target=\"_blank\" rel=\"noopener\" aria-label=\"AI\u9b3c\u7ba1\u7406 \u516c\u5f0f\u30b5\u30a4\u30c8\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_blog_1to1.jpg\" alt=\"Claude Code\u3092\u7d4c\u55b6\u306b\u6d3b\u304b\u3057\u305f\u3044\u65b9\u3078 \u2014 AI\u9b3c\u7ba1\u7406\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><\/div>\n\n\n<div id=\"sec-05\"><\/div>\n<h2 class=\"section-header-img\" style=\"margin:32px 0 24px;border-radius:8px;overflow:hidden;background:linear-gradient(135deg,#1a1a1a 0%,#2a1015 100%);padding:32px 28px;color:#fff;position:relative;border:none;border-left:none;text-align:left;\">\n  <span class=\"section-number\" style=\"display:block;\">05<\/span>\n  <span class=\"section-label\" style=\"display:block;\">PITFALLS<\/span>\n  <span class=\"section-title\" style=\"display:block;\">\u73fe\u5834\u3067\u30cf\u30de\u308a\u3084\u3059\u30445\u3064\u306e\u843d\u3068\u3057\u7a74<\/span>\n  <span class=\"section-desc\">\u30b5\u30dd\u30fc\u30c8\u73fe\u5834\u3067\u3088\u304f\u76f8\u8ac7\u3055\u308c\u308b\u5b9f\u4f8b\u30d9\u30fc\u30b9\u306e\u6ce8\u610f\u70b9<\/span>\n<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u3053\u3067\u306f\u3001VBA\u306eSleep\/Wait\u95a2\u9023\u3067\u5b9f\u969b\u306b\u3088\u304f\u767a\u751f\u3059\u308b\u30c8\u30e9\u30d6\u30eb\u30925\u3064\u306b\u6574\u7406\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">5-1. \u3010\u843d\u3068\u3057\u7a741\u3011\u5f85\u6a5f\u4e2d\u306bExcel\u304c\u300c\u5fdc\u7b54\u306a\u3057\u300d\u3068\u8868\u793a\u3055\u308c\u308b<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u5f85\u6a5f\u6642\u9593\u304c\u9577\u3044\uff08\u76ee\u5b89\u3068\u3057\u3066\u6570\u5341\u79d2\u4ee5\u4e0a\uff09\u5834\u5408\u3001Windows\u304c\u300c\u3053\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306f\u5fdc\u7b54\u3057\u3066\u3044\u307e\u305b\u3093\u300d\u3068\u3044\u3046\u8da3\u65e8\u306e\u8868\u793a\u3092\u51fa\u3059\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u306f\u7570\u5e38\u3067\u306f\u306a\u304f\u3001\u5f85\u6a5f\u4e2d\u306f\u6b63\u5e38\u306a\u52d5\u4f5c\u3068\u3057\u3066Excel\u306e\u753b\u9762\u66f4\u65b0\u304c\u6b62\u307e\u3063\u3066\u3044\u308b\u305f\u3081\u306b\u8d77\u304d\u308b\u8868\u793a\u3067\u3059\u3002\u305f\u3060\u3057\u3001\u3053\u308c\u3092\u898b\u305f\u5229\u7528\u8005\u304c\u614c\u3066\u3066\u5f37\u5236\u7d42\u4e86\u3057\u3066\u3057\u307e\u3046\u30b1\u30fc\u30b9\u304c\u5f8c\u3092\u7d76\u3061\u307e\u305b\u3093\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>DoEvents<\/strong>\uff1aVBA\u306e\u5b9f\u884c\u4e2d\u306b\u3001OS\u5074\u306b\u4e00\u6642\u7684\u306b\u5236\u5fa1\u3092\u623b\u3057\u3066\u4ed6\u306e\u64cd\u4f5c\uff08\u753b\u9762\u63cf\u753b\u30fb\u30ad\u30fc\u5165\u529b\u306e\u53d7\u4ed8\u306a\u3069\uff09\u3092\u51e6\u7406\u3055\u305b\u308b\u305f\u3081\u306e\u547d\u4ee4\u3002\u9577\u3044\u5f85\u6a5f\u3084\u30eb\u30fc\u30d7\u51e6\u7406\u306e\u9014\u4e2d\u306bDoEvents\u3092\u631f\u3080\u3068\u3001Excel\u304c\u300c\u5fdc\u7b54\u306a\u3057\u300d\u306b\u898b\u3048\u306b\u304f\u304f\u306a\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u304c\u3001Sleep\u95a2\u6570\u3084Application.Wait\u81ea\u4f53\u306e\u5f85\u6a5f\u4e2d\u306fDoEvents\u3092\u631f\u3093\u3067\u3082\u30bf\u30a4\u30de\u30fc\u81ea\u4f53\u306f\u5909\u308f\u3089\u305a\u7d4c\u904e\u3057\u307e\u3059\u3002<\/p>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">5-2. \u3010\u843d\u3068\u3057\u7a742\u301164bit\u74b0\u5883\u3078\u306e\u79fb\u884c\u3067\u6025\u306b\u30a8\u30e9\u30fc\u304c\u51fa\u308b<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u524d\u7ae0\u3067\u89e6\u308c\u305f\u901a\u308a\u3001<strong>PtrSafe\u30ad\u30fc\u30ef\u30fc\u30c9\u306e\u4ed8\u3051\u5fd8\u308c<\/strong>\u306f\u975e\u5e38\u306b\u3088\u304f\u3042\u308b\u4e8b\u6545\u3067\u3059\u3002\u7279\u306b\u300cWindows 7\u30fb32bit Office\u6642\u4ee3\u306b\u4f5c\u3089\u308c\u305f\u30de\u30af\u30ed\u8cc7\u7523\u3092\u3001\u65b0\u3057\u3044PC\uff0864bit Office\uff09\u306b\u79fb\u3057\u305f\u300d\u3068\u3044\u3046\u30bf\u30a4\u30df\u30f3\u30b0\u3067\u8868\u9762\u5316\u3057\u307e\u3059\u3002\u793e\u5185\u306ePC\u5165\u308c\u66ff\u3048\u6642\u671f\u306b\u300c\u6628\u65e5\u307e\u3067\u52d5\u3044\u3066\u3044\u305f\u30de\u30af\u30ed\u304c\u52d5\u304b\u306a\u3044\u300d\u3068\u3044\u3046\u76f8\u8ac7\u304c\u96c6\u4e2d\u3059\u308b\u306e\u306f\u3001\u5927\u534a\u304c\u3053\u306e\u30d1\u30bf\u30fc\u30f3\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">5-3. \u3010\u843d\u3068\u3057\u7a743\u3011TimeValue\u306e\u79d2\u6570\u6307\u5b9a\u3092\u8aa4\u3063\u3066\u9577\u6642\u9593\u5f85\u3063\u3066\u3057\u307e\u3046<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">TimeValue(\"00:00:03\")\u3068\u66f8\u304f\u3079\u304d\u3068\u3053\u308d\u3092\u3001\u3046\u3063\u304b\u308aTimeValue(\"03:00:00\")\uff083\u6642\u9593\uff09\u3068\u66f8\u304d\u9593\u9055\u3048\u308b\u3088\u3046\u306a\u30b1\u30fc\u30b9\u3067\u3059\u3002\u6642:\u5206:\u79d2\u306e\u9806\u5e8f\u3092\u52d8\u9055\u3044\u3057\u305f\u307e\u307e\u5b9f\u88c5\u3057\u3001\u30c6\u30b9\u30c8\u74b0\u5883\u3067\u306f\u6c17\u3065\u304b\u305a\u3001\u672c\u756a\u904b\u7528\u3067\u300c\u306a\u305c\u304b\u30de\u30af\u30ed\u304c\u5168\u7136\u7d42\u308f\u3089\u306a\u3044\u300d\u3068\u3044\u3046\u4e8b\u614b\u306b\u306a\u3063\u305f\u3001\u3068\u3044\u3046\u76f8\u8ac7\u3082\u5b9f\u969b\u306b\u3042\u308a\u307e\u3057\u305f\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;\">\u79d2\u6570\u6307\u5b9a\u306f\u5fc5\u305a\u30c6\u30b9\u30c8\u74b0\u5883\u3067\u76ee\u8996\u78ba\u8a8d\u3059\u308b<\/strong>\n  <\/div>\n  <p style=\"margin:0;font-size:15px;line-height:1.8;color:#333;\">Application.Wait\u306e\u6642\u523b\u6307\u5b9a\u306f\u3001\u6841\u3092\u9593\u9055\u3048\u3066\u3082\u6587\u6cd5\u30a8\u30e9\u30fc\u306b\u306f\u306a\u3089\u305a\u300c\u610f\u56f3\u3057\u306a\u3044\u9577\u3055\u3067\u5f85\u3064\u3060\u3051\u300d\u3068\u3044\u3046\u5f62\u3067\u554f\u984c\u304c\u8868\u9762\u5316\u3057\u306b\u304f\u3044\u306e\u304c\u5384\u4ecb\u306a\u70b9\u3067\u3059\u3002\u5b9f\u88c5\u5f8c\u306f\u5fc5\u305a\u4e00\u5ea6\u3001\u5b9f\u969b\u306b\u5f85\u6a5f\u6642\u9593\u3092\u30b9\u30c8\u30c3\u30d7\u30a6\u30a9\u30c3\u30c1\u7b49\u3067\u8a08\u6e2c\u3057\u3001\u610f\u56f3\u901a\u308a\u306e\u79d2\u6570\u306b\u306a\u3063\u3066\u3044\u308b\u304b\u3092\u76ee\u8996\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">5-4. \u3010\u843d\u3068\u3057\u7a744\u3011Mac\u7248Excel\u3067\u52d5\u304b\u305a\u300ckernel32\u304c\u898b\u3064\u304b\u3089\u306a\u3044\u300d\u30a8\u30e9\u30fc<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Sleep\u95a2\u6570\u306fWindows\u306ekernel32.dll\u306b\u4f9d\u5b58\u3057\u3066\u3044\u308b\u305f\u3081\u3001<strong>Mac\u7248\u306eExcel\u3067\u306f\u52d5\u4f5c\u3057\u307e\u305b\u3093<\/strong>\u3002\u793e\u5185\u306b\u4e00\u90e8Mac\u30e6\u30fc\u30b6\u30fc\u304c\u3044\u308b\u74b0\u5883\u3067\u3001Windows\u5c02\u7528\u306e\u66f8\u304d\u65b9\u3092\u305d\u306e\u307e\u307e\u914d\u5e03\u3057\u3066\u3057\u307e\u3044\u3001Mac\u30e6\u30fc\u30b6\u30fc\u3060\u3051\u30a8\u30e9\u30fc\u306b\u306a\u308b\u3001\u3068\u3044\u3046\u4e8b\u6545\u304c\u3057\u3070\u3057\u3070\u8d77\u304d\u307e\u3059\u3002Mac\u4e92\u63db\u6027\u304c\u5fc5\u8981\u306a\u5834\u5408\u306f\u3001Application.Wait\u3092\u4f7f\u3046\u304b\u3001Mac\u7528\u306e\u5ba3\u8a00\u65b9\u6cd5\u3092\u5225\u9014\u7528\u610f\u3059\u308b\u5bfe\u5fdc\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">5-5. \u3010\u843d\u3068\u3057\u7a745\u3011\u5f85\u6a5f\u4e2d\u306b\u5f37\u5236\u7d42\u4e86\u3055\u308c\u3001\u4fdd\u5b58\u524d\u306e\u30c7\u30fc\u30bf\u304c\u6d88\u3048\u308b<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u5f85\u6a5f\u4e2d\u306b\u300c\u5fdc\u7b54\u306a\u3057\u300d\u3068\u8868\u793a\u3055\u308c\u305fExcel\u3092\u30e6\u30fc\u30b6\u30fc\u304c\u5f37\u5236\u7d42\u4e86\u3057\u3066\u3057\u307e\u3046\u3068\u3001\u305d\u306e\u6642\u70b9\u3067\u4fdd\u5b58\u3057\u3066\u3044\u306a\u3044\u4f5c\u696d\u5185\u5bb9\u306f\u5931\u308f\u308c\u307e\u3059\u3002\u7279\u306b\u3001\u5f85\u6a5f\u51e6\u7406\u3092\u542b\u3080\u30de\u30af\u30ed\u306e\u5b9f\u884c\u524d\u306b\u624b\u52d5\u3067\u3053\u307e\u3081\u306a\u4fdd\u5b58\u3092\u884c\u3063\u3066\u3044\u306a\u3044\u3068\u3001\u88ab\u5bb3\u304c\u5927\u304d\u304f\u306a\u308a\u304c\u3061\u3067\u3059\u3002\u5f85\u6a5f\u3092\u542b\u3080\u81ea\u52d5\u5316\u51e6\u7406\u3092\u7d44\u3080\u969b\u306f\u3001<strong>\u51e6\u7406\u306e\u7bc0\u76ee\u3067\u3053\u307e\u3081\u306b\u81ea\u52d5\u4fdd\u5b58\u3092\u631f\u3080<\/strong>\u8a2d\u8a08\u306b\u3057\u3066\u304a\u304f\u3053\u3068\u3092\u63a8\u5968\u3057\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>\u5f85\u6a5f\u3092\u631f\u3080\u51e6\u7406\u306e\u524d\u5f8c\u306b\u3001\u9032\u884c\u72b6\u6cc1\u304c\u5206\u304b\u308b\u30e1\u30c3\u30bb\u30fc\u30b8\u3084\u30b9\u30c6\u30fc\u30bf\u30b9\u30d0\u30fc\u8868\u793a\u3092\u5165\u308c\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>\u6570\u5341\u79d2\u3092\u8d85\u3048\u308b\u5f85\u6a5f\u30921\u56de\u3067\u5165\u308c\u305a\u3001\u77ed\u3044\u5f85\u6a5f\u3068\u30c1\u30a7\u30c3\u30af\u51e6\u7406\u3092\u7e70\u308a\u8fd4\u3059\u8a2d\u8a08\u306b\u5206\u5272\u3059\u308b<\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span>64bit\/32bit\u4e21\u5bfe\u5fdc\u306eDeclare\u6587\u3092\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u5316\u3057\u3001\u30b3\u30d4\u30da\u30df\u30b9\u3092\u9632\u3050<\/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>Mac\u7248\u5229\u7528\u8005\u304c\u3044\u308b\u5834\u5408\u306f\u3001\u4e8b\u524d\u306bApplication.Wait\u65b9\u5f0f\u3067\u7d71\u4e00\u3059\u308b\u304b\u52d5\u4f5c\u78ba\u8a8d\u3092\u53d6\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>\u5f85\u6a5f\u3092\u542b\u3080\u30de\u30af\u30ed\u3092\u672c\u756a\u6295\u5165\u3059\u308b\u524d\u306b\u3001\u5fc5\u305a\u79d2\u6570\u306e\u76ee\u8996\u78ba\u8a8d\u3092\u884c\u3046<\/span><\/div>\n\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\">\u3053\u306e5\u3064\u306f\u3001\u3044\u305a\u308c\u3082\u300c\u77e5\u3063\u3066\u3044\u308c\u3070\u9632\u3052\u305f\u300d\u30c8\u30e9\u30d6\u30eb\u3070\u304b\u308a\u3067\u3059\u3002\u9006\u306b\u8a00\u3048\u3070\u3001\u6b63\u3057\u3044\u66f8\u304d\u65b9\u3055\u3048\u62bc\u3055\u3048\u308c\u3070\u3001Sleep\/Wait\u306f\u305d\u3053\u307e\u3067\u96e3\u3057\u3044\u6a5f\u80fd\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/div>\n<\/div>\n\n\n\n<div class=\"balloon-wrap\">\n  <div class=\"balloon-icon\">\n    <img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/04\/ceo-sugasawa.jpg\" alt=\"\u4ee3\u8868\u83c5\u6fa4\">\n    <span class=\"balloon-name\">\u4ee3\u8868\u83c5\u6fa4<\/span>\n  <\/div>\n  <div class=\"balloon-body\">\u4e00\u65b9\u3067\u3001\u3053\u3046\u3057\u305f\u7d30\u304b\u3044\u4ed5\u69d8\u3092\u90fd\u5ea6\u8abf\u3079\u306a\u304c\u3089VBA\u3092\u66f8\u304d\u7d9a\u3051\u308b\u306e\u306f\u3001\u975e\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u7d4c\u55b6\u8005\u3084\u7ba1\u7406\u8077\u306b\u3068\u3063\u3066\u6b63\u76f4\u304b\u306a\u308a\u306e\u8ca0\u62c5\u3067\u3059\u3002\u6b21\u306e\u7ae0\u3067\u306f\u3001\u5f0a\u793e\u306e\u5b9f\u52d9\u30c7\u30fc\u30bf\u3082\u4ea4\u3048\u306a\u304c\u3089\u3001\u3053\u306e\u8ca0\u62c5\u305d\u306e\u3082\u306e\u3092\u3069\u3046\u89e3\u6d88\u3059\u308b\u304b\u3092\u304a\u8a71\u3057\u3057\u307e\u3059\u3002<\/div>\n<\/div>\n\n\n<div style=\"margin:48px 0 8px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap;\"><a href=\"https:\/\/aikanri.genai-ai.co.jp\/seminar2-blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=cc-vba-sleep-wait&#038;blog_slug=cc-vba-sleep-wait\" target=\"_blank\" rel=\"noopener\" aria-label=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff08\u7121\u6599\u30fb1on1\u30fb60\u5206\uff09\u306e\u4e88\u7d04\u753b\u9762\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_seminar_claude_code_2026.jpg\" alt=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff5c\u7d4c\u55b6\u8005\u30fb\u4f1a\u793e\u5f79\u54e1\u5c02\u7528 1on1 60\u5206 \u7121\u6599\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><a href=\"https:\/\/aikanri.genai-ai.co.jp\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_campaign=cc-vba-sleep-wait&#038;utm_content=h2-banner-kanri\" target=\"_blank\" rel=\"noopener\" aria-label=\"AI\u9b3c\u7ba1\u7406 \u516c\u5f0f\u30b5\u30a4\u30c8\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_blog_1to1.jpg\" alt=\"Claude Code\u3092\u7d4c\u55b6\u306b\u6d3b\u304b\u3057\u305f\u3044\u65b9\u3078 \u2014 AI\u9b3c\u7ba1\u7406\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><\/div>\n\n\n<div id=\"sec-06\"><\/div>\n<h2 class=\"section-header-img\" style=\"margin:32px 0 24px;border-radius:8px;overflow:hidden;background:linear-gradient(135deg,#1a1a1a 0%,#2a1015 100%);padding:32px 28px;color:#fff;position:relative;border:none;border-left:none;text-align:left;\">\n  <span class=\"section-number\" style=\"display:block;\">06<\/span>\n  <span class=\"section-label\" style=\"display:block;\">GENAI DATA<\/span>\n  <span class=\"section-title\" style=\"display:block;\">\u3010\u72ec\u81ea\u30c7\u30fc\u30bf\u3011\u5f85\u6a5f\u51e6\u7406\u306e\u5c5e\u4eba\u5316\u30ea\u30b9\u30af\u3068\u81ea\u52d5\u5316\u306e\u5b9f\u614b<\/span>\n  <span class=\"section-desc\">Claude Code\u3092\u5168\u793e\u5c0e\u5165\u3057\u305f\u4f1a\u793e\u304c\u898b\u3048\u3066\u304d\u305f\u3053\u3068<\/span>\n<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u3053\u304b\u3089\u306f\u5f0a\u793e\uff08\u682a\u5f0f\u4f1a\u793eGENAI\uff09\u306e\u5b9f\u52d9\u30c7\u30fc\u30bf\u3092\u3082\u3068\u306b\u3001VBA\u306e\u3088\u3046\u306a\u300c\u7d30\u304b\u3044\u8abf\u6574\u304c\u5fc5\u8981\u306a\u81ea\u52d5\u5316\u51e6\u7406\u300d\u3068\u3001AI\u3092\u4f7f\u3063\u305f\u81ea\u52d5\u5316\u306e\u5b9f\u614b\u3092\u6bd4\u8f03\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">6-1. \u5f0a\u793e\u306e\u5c0e\u5165\u72b6\u6cc1<\/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$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\u307e\u3067\u5168\u793e<\/td><\/tr>\n<\/tbody>\n<\/table>\n\n\n\n<p class=\"wp-block-paragraph\">\u5f0a\u793e\u3067\u306f\u3001VBA\u306eSleep\/Wait\u306e\u3088\u3046\u306a\u300c\u51e6\u7406\u901f\u5ea6\u306e\u30ba\u30ec\u3092\u5fae\u8abf\u6574\u3059\u308b\u300d\u30bf\u30a4\u30d7\u306e\u4f5c\u696d\u3092\u542b\u3081\u3001\u793e\u5185\u306e\u30de\u30af\u30ed\u30fb\u30b9\u30af\u30ea\u30d7\u30c8\u30fb\u81ea\u52d5\u5316\u51e6\u7406\u3092Claude Code\u306b\u4efb\u305b\u308b\u904b\u7528\u3092\u9032\u3081\u3066\u3044\u307e\u3059\u3002\u3053\u3053\u3067\u898b\u3048\u3066\u304d\u305f\u306e\u304c\u3001<strong>\u300c\u5f85\u6a5f\u6642\u9593\u306e\u8abf\u6574\u300d\u81ea\u4f53\u304c\u5c5e\u4eba\u5316\u3057\u3084\u3059\u3044<\/strong>\u3068\u3044\u3046\u554f\u984c\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">6-2. \u300c\u5f85\u6a5f\u6642\u9593\u306e\u8abf\u6574\u300d\u304c\u5c5e\u4eba\u5316\u3059\u308b\u7406\u7531<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">VBA\u306eSleep\u95a2\u6570\u3084Application.Wait\u306e\u79d2\u6570\u8a2d\u5b9a\u306f\u3001\u591a\u304f\u306e\u5834\u5408\u3001\u62c5\u5f53\u8005\u304c\u8a66\u884c\u932f\u8aa4\u3057\u306a\u304c\u3089\u300c\u3068\u308a\u3042\u3048\u305a3\u79d2\u306b\u3057\u305f\u3089\u52d5\u3044\u305f\u300d\u3068\u3044\u3046\u5f62\u3067\u6c7a\u3081\u3089\u308c\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u6570\u5024\u306e\u6839\u62e0\u304c\u5f15\u304d\u7d99\u304e\u8cc7\u6599\u306b\u6b8b\u3063\u3066\u3044\u306a\u3044\u30b1\u30fc\u30b9\u304c\u5927\u534a\u3067\u3001\u62c5\u5f53\u8005\u304c\u7570\u52d5\u30fb\u9000\u8077\u3059\u308b\u3068\u300c\u306a\u305c\u3053\u306e\u79d2\u6570\u306a\u306e\u304b\u8ab0\u3082\u5206\u304b\u3089\u306a\u3044\u304c\u3001\u5909\u66f4\u3059\u308b\u3068\u58ca\u308c\u305d\u3046\u3067\u89e6\u308c\u306a\u3044\u300d\u3068\u3044\u3046\u30d6\u30e9\u30c3\u30af\u30dc\u30c3\u30af\u30b9\u5316\u304c\u8d77\u304d\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;\">\u6570\u5024\u306e\u6ce8\u610f\u66f8\u304d<\/strong>\n  <\/div>\n  <p style=\"margin:0;font-size:15px;line-height:1.8;color:#333;\">\u672c\u30bb\u30af\u30b7\u30e7\u30f3\u306e\u524a\u6e1b\u6642\u9593\u30fb\u5de5\u6570\u306e\u6570\u5024\u306f\u3001\u5f0a\u793e\u306e\u808c\u611f\u30d9\u30fc\u30b9\u306e\u6982\u7b97\u3067\u3042\u308a\u3001\u696d\u7a2e\u30fb\u696d\u614b\u30fb\u62c5\u5f53\u8005\u306e\u30b9\u30ad\u30eb\u306b\u3088\u3063\u3066\u5909\u52d5\u3057\u307e\u3059\u3002\u300cClaude Max 20x\u30d7\u30e9\u30f3\u3092\u5168\u793e\u3067\u4f7f\u3044\u5012\u3059\u3068\u3069\u306e\u7a0b\u5ea6\u306e\u81ea\u52d5\u5316\u304c\u9032\u3080\u304b\u300d\u306e\u53c2\u8003\u60c5\u5831\u3068\u3057\u3066\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/p>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u5f0a\u793e\u306e\u5b9f\u904b\u7528\u3067\u3082\u3001\u55b6\u696d\uff08\u63d0\u6848\u66f8\u30fb\u898b\u7a4d\u4f5c\u6210\uff09\u306f\u903120\u6642\u9593\u304b\u3089\u90312\u6642\u9593\u3078\u3001\u7d4c\u7406\uff08\u8acb\u6c42\u66f8\u30c1\u30a7\u30c3\u30af\u30fb\u7d4c\u8cbb\u4ed5\u8a33\uff09\u306f\u670840\u6642\u9593\u304b\u3089\u67085\u6642\u9593\u3078\u3001\u30d6\u30ed\u30b0\u8a18\u4e8b\u57f7\u7b46\u306f1\u672c8\u6642\u9593\u304b\u30891\u672c1\u6642\u9593\u3078\u3068\u3001\u696d\u52d9\u9818\u57df\u3054\u3068\u306b\u5927\u5e45\u306a\u5de5\u6570\u524a\u6e1b\u304c\u9032\u3093\u3060\u808c\u611f\u304c\u3042\u308a\u307e\u3059\u3002VBA\u306e\u3088\u3046\u306a\u300c\u4e00\u5ea6\u4f5c\u3063\u305f\u3089\u8ab0\u3082\u89e6\u308c\u306a\u3044\u81ea\u52d5\u5316\u300d\u3067\u306f\u306a\u304f\u3001<strong>\u90fd\u5ea6AI\u306b\u81ea\u7136\u306a\u8a00\u8449\u3067\u76f8\u8ac7\u3057\u306a\u304c\u3089\u5fae\u8abf\u6574\u3067\u304d\u308b\u81ea\u52d5\u5316<\/strong>\u306b\u7f6e\u304d\u63db\u3048\u308b\u3053\u3068\u3067\u3001\u62c5\u5f53\u8005\u306e\u7570\u52d5\u3084\u9000\u8077\u306b\u5de6\u53f3\u3055\u308c\u306b\u304f\u3044\u696d\u52d9\u4f53\u5236\u3092\u4f5c\u308c\u3066\u3044\u308b\u5b9f\u611f\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">6-3. \u300c\u5c5e\u4eba\u5316\u3057\u305f\u5f85\u6a5f\u51e6\u7406\u300d\u3092\u53ef\u8996\u5316\u3059\u308b\u3068\u3069\u3046\u306a\u308b\u304b<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u5f0a\u793e\u3067\u304a\u5ba2\u69d8\u306e\u696d\u52d9\u81ea\u52d5\u5316\u3092\u652f\u63f4\u3059\u308b\u4e2d\u3067\u898b\u3048\u3066\u304d\u305f\u306e\u304c\u3001\u300c\u306a\u305c\u3053\u306e\u79d2\u6570\u3092\u5f85\u3063\u3066\u3044\u308b\u306e\u304b\u300d\u3092\u8aac\u660e\u3067\u304d\u308b\u62c5\u5f53\u8005\u304c\u3001\u793e\u5185\u306b1\u4eba\u3082\u3044\u306a\u3044\u30b1\u30fc\u30b9\u304c\u73cd\u3057\u304f\u306a\u3044\u3068\u3044\u3046\u4e8b\u5b9f\u3067\u3059\u3002VBA\u306eSleep\/Wait\u8a2d\u5b9a\u306f\u3001\u4e00\u898b\u5730\u5473\u306a\u90e8\u5206\u3067\u3059\u304c\u3001\u5b9f\u306f<strong>\u5c5e\u4eba\u5316\u30ea\u30b9\u30af\u306e\u6e29\u5e8a<\/strong>\u306b\u306a\u308a\u3084\u3059\u3044\u7b87\u6240\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\">\u304a\u5ba2\u69d8\u5148\u3067\u300c\u3053\u306e\u30de\u30af\u30ed\u306eSleep(5000)\u306e5000\u3063\u3066\u4f55\u306e\u610f\u5473\u304c\u3042\u308b\u3093\u3067\u3059\u304b\u300d\u3068\u805e\u3044\u3066\u3082\u3001\u8ab0\u3082\u7b54\u3048\u3089\u308c\u306a\u3044\u3068\u3044\u3046\u5834\u9762\u306b\u4f55\u5ea6\u3082\u906d\u9047\u3057\u3066\u3044\u307e\u3059\u3002\u5c5e\u4eba\u5316\u306f\u6d3e\u624b\u306a\u696d\u52d9\u3088\u308a\u3001\u3053\u3046\u3044\u3046\u5730\u5473\u306a\u6570\u5024\u8a2d\u5b9a\u306b\u3053\u305d\u6f5c\u3093\u3067\u3044\u307e\u3059\u3002<\/div>\n<\/div>\n\n\n\n<div class=\"balloon-wrap is-right\">\n  <div class=\"balloon-icon\">\n    <img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/04\/yamazaki-avatar.png\" alt=\"AI\u9b3c\u7ba1\u7406\u5c71\u5d0e\">\n    <span class=\"balloon-name\">AI\u9b3c\u7ba1\u7406\u5c71\u5d0e<\/span>\n  <\/div>\n  <div class=\"balloon-body\">\u5f0a\u793e\u3067\u306f\u3001\u3053\u3046\u3057\u305f\u300c\u8ab0\u3082\u8aac\u660e\u3067\u304d\u306a\u3044\u8a2d\u5b9a\u5024\u300d\u3092\u898b\u3064\u3051\u305f\u3089\u3001\u307e\u305aAI\u306b\u73fe\u72b6\u306e\u30b3\u30fc\u30c9\u3092\u8aad\u307e\u305b\u3066\u300c\u3053\u306e\u5f85\u6a5f\u6642\u9593\u306e\u610f\u5473\u3068\u3001\u5909\u66f4\u3057\u305f\u5834\u5408\u306e\u5f71\u97ff\u300d\u3092\u8a00\u8a9e\u5316\u3057\u3066\u3082\u3089\u3046\u3068\u3053\u308d\u304b\u3089\u7740\u624b\u3057\u3066\u3044\u307e\u3059\u3002\u5c5e\u4eba\u5316\u306e\u7b2c\u4e00\u6b69\u306f\u3001\u53ef\u8996\u5316\u306a\u3093\u3067\u3059\u3002<\/div>\n<\/div>\n\n\n<div style=\"margin:48px 0 8px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap;\"><a href=\"https:\/\/aikanri.genai-ai.co.jp\/seminar2-blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=cc-vba-sleep-wait&#038;blog_slug=cc-vba-sleep-wait\" target=\"_blank\" rel=\"noopener\" aria-label=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff08\u7121\u6599\u30fb1on1\u30fb60\u5206\uff09\u306e\u4e88\u7d04\u753b\u9762\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_seminar_claude_code_2026.jpg\" alt=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff5c\u7d4c\u55b6\u8005\u30fb\u4f1a\u793e\u5f79\u54e1\u5c02\u7528 1on1 60\u5206 \u7121\u6599\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><a href=\"https:\/\/aikanri.genai-ai.co.jp\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_campaign=cc-vba-sleep-wait&#038;utm_content=h2-banner-kanri\" target=\"_blank\" rel=\"noopener\" aria-label=\"AI\u9b3c\u7ba1\u7406 \u516c\u5f0f\u30b5\u30a4\u30c8\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_blog_1to1.jpg\" alt=\"Claude Code\u3092\u7d4c\u55b6\u306b\u6d3b\u304b\u3057\u305f\u3044\u65b9\u3078 \u2014 AI\u9b3c\u7ba1\u7406\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><\/div>\n\n\n<div id=\"sec-07\"><\/div>\n<h2 class=\"section-header-img\" style=\"margin:32px 0 24px;border-radius:8px;overflow:hidden;background:linear-gradient(135deg,#1a1a1a 0%,#2a1015 100%);padding:32px 28px;color:#fff;position:relative;border:none;border-left:none;text-align:left;\">\n  <span class=\"section-number\" style=\"display:block;\">07<\/span>\n  <span class=\"section-label\" style=\"display:block;\">BEYOND VBA<\/span>\n  <span class=\"section-title\" style=\"display:block;\">\u3010\u72ec\u81ea\u3011\u975e\u30a8\u30f3\u30b8\u30cb\u30a2\u304c\u300cVBA\u6cbc\u300d\u304b\u3089\u629c\u3051\u51fa\u3059\u30eb\u30fc\u30c8<\/span>\n  <span class=\"section-desc\">Sleep\/Wait\u306e\u5fae\u8abf\u6574\u3092AI\u306b\u4efb\u305b\u308b\u3068\u3044\u3046\u9078\u629e\u80a2<\/span>\n<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u3053\u307e\u3067\u89e3\u8aac\u3057\u3066\u304d\u305f\u901a\u308a\u3001Sleep\u95a2\u6570\u306e\u5ba3\u8a00\u65b9\u6cd5\u3084Application.Wait\u306e\u6642\u523b\u8a08\u7b97\u306f\u3001\u6b63\u78ba\u306b\u7406\u89e3\u3059\u308c\u3070\u6c7a\u3057\u3066\u8907\u96d1\u306a\u4ed5\u7d44\u307f\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u3057\u304b\u3057\u3001<strong>\u975e\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u7d4c\u55b6\u8005\u3084\u7ba1\u7406\u8077\u304c\u3001\u65e5\u3005\u306e\u696d\u52d9\u306e\u5408\u9593\u306b\u3053\u306e\u4ed5\u69d8\u3092\u6b63\u78ba\u306b\u628a\u63e1\u3057\u7d9a\u3051\u308b\u306e\u306f\u3001\u73fe\u5b9f\u7684\u306b\u306f\u304b\u306a\u308a\u306e\u8ca0\u62c5<\/strong>\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u300c\u51e6\u7406\u9593\u9694\u30922\u79d2\u304b\u30895\u79d2\u306b\u5909\u3048\u305f\u3044\u300d\u300c\u3053\u306e\u30de\u30af\u30ed\u3001\u305f\u307e\u306b\u30a8\u30e9\u30fc\u306b\u306a\u308b\u304b\u3089\u5f85\u6a5f\u6642\u9593\u3092\u8abf\u6574\u3057\u305f\u3044\u300d\u2014\u2014\u3053\u3046\u3057\u305f\u7d30\u304b\u3044\u8abf\u6574\u306e\u305f\u3073\u306b\u3001PtrSafe\u306e\u610f\u5473\u3084TimeValue\u306e\u66f8\u5f0f\u3092\u601d\u3044\u51fa\u3057\u306a\u304c\u3089\u30b3\u30fc\u30c9\u3092\u66f8\u304d\u76f4\u3059\u306e\u306f\u3001\u672c\u696d\u306b\u96c6\u4e2d\u3057\u305f\u3044\u7d4c\u55b6\u8005\u30fb\u7ba1\u7406\u8077\u306b\u3068\u3063\u3066\u672c\u8cea\u7684\u306a\u4ed5\u4e8b\u3067\u306f\u306a\u3044\u306f\u305a\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">7-1. \u300cVBA\u3092\u66f8\u304f\u300d\u304b\u3089\u300cAI\u306b\u8a71\u3057\u304b\u3051\u308b\u300d\u3078\u306e\u8ee2\u63db<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd1\u5e74\u5e83\u304c\u3063\u3066\u3044\u308b\u306e\u304c\u3001<strong>Claude Code<\/strong>\u306e\u3088\u3046\u306aAI\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u306b\u3001VBA\u30b3\u30fc\u30c9\u306e\u8abf\u6574\u305d\u306e\u3082\u306e\u3092\u4efb\u305b\u3066\u3057\u307e\u3046\u3068\u3044\u3046\u65b9\u6cd5\u3067\u3059\u3002\u30bf\u30fc\u30df\u30ca\u30eb\u3068\u3044\u3046\u8a00\u8449\u3092\u805e\u304f\u3068\u8eab\u69cb\u3048\u3066\u3057\u307e\u3046\u65b9\u3082\u591a\u3044\u3068\u601d\u3044\u307e\u3059\u304c\u30012026\u5e74\u6642\u70b9\u306eClaude Code\u306b\u306f\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u7248\u306e\u30c1\u30e3\u30c3\u30c8UI\u3082\u7528\u610f\u3055\u308c\u3066\u304a\u308a\u3001<strong>\u300c\u3053\u306eExcel\u30de\u30af\u30ed\u306e\u51e6\u7406\u9593\u9694\u30923\u79d2\u304b\u30895\u79d2\u306b\u4f38\u3070\u3057\u3066\u300d\u3068\u65e5\u672c\u8a9e\u3067\u8a71\u3057\u304b\u3051\u308b\u3060\u3051\u3067\u3001Sleep\u95a2\u6570\u3084Application.Wait\u306e\u8a72\u5f53\u7b87\u6240\u3092\u6b63\u78ba\u306b\u66f8\u304d\u63db\u3048\u3066\u304f\u308c\u307e\u3059<\/strong>\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;\">\u975e\u30a8\u30f3\u30b8\u30cb\u30a2\u304c\u307e\u305a\u8a66\u3059\u3079\u304d\u4e00\u8a00<\/strong>\n  <\/div>\n  <p style=\"margin:0;font-size:15px;line-height:1.8;color:#333;\">\u304a\u624b\u5143\u306e\u30de\u30af\u30ed\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u3044\u305f\u72b6\u614b\u3067\u3001Claude Code\u306b\u300c\u3053\u306e\u30de\u30af\u30ed\u306eSleep\u95a2\u6570\u3084Application.Wait\u306e\u90e8\u5206\u3092\u6559\u3048\u3066\u3001\u4f55\u79d2\u5f85\u3063\u3066\u3044\u308b\u304b\u8aac\u660e\u3057\u3066\u300d\u3068\u8a71\u3057\u304b\u3051\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002\u5c5e\u4eba\u5316\u3057\u3066\u3044\u305f\u5f85\u6a5f\u6642\u9593\u306e\u610f\u5473\u304c\u3001\u305d\u306e\u5834\u3067\u8a00\u8a9e\u5316\u3055\u308c\u307e\u3059\u3002\u6b21\u306b\u300c64bit\u306eOffice\u3067\u3082\u52d5\u304f\u3088\u3046\u306b\u76f4\u3057\u3066\u300d\u3068\u4f1d\u3048\u308c\u3070\u3001PtrSafe\u306e\u4ed8\u3051\u5fd8\u308c\u306e\u3088\u3046\u306a\u30df\u30b9\u3082\u81ea\u52d5\u3067\u4fee\u6b63\u3055\u308c\u307e\u3059\u3002<\/p>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u3082\u3061\u308d\u3093\u3001AI\u304c\u751f\u6210\u30fb\u4fee\u6b63\u3057\u305f\u30b3\u30fc\u30c9\u3092\u30ce\u30fc\u30c1\u30a7\u30c3\u30af\u3067\u305d\u306e\u307e\u307e\u672c\u756a\u904b\u7528\u306b\u6295\u5165\u3059\u308b\u306e\u306f\u907f\u3051\u308b\u3079\u304d\u3067\u3059\u3002\u305f\u3060\u3057\u3001\u300cPtrSafe\u306e\u610f\u5473\u3092\u7406\u89e3\u3059\u308b\u300d\u300cTimeValue\u306e\u79d2\u6570\u8a08\u7b97\u3092\u6697\u7b97\u3059\u308b\u300d\u3068\u3044\u3063\u305f\u5c02\u9580\u77e5\u8b58\u306e\u90e8\u5206\u3092AI\u306b\u80a9\u4ee3\u308f\u308a\u3057\u3066\u3082\u3089\u3044\u3001<strong>\u4eba\u9593\u306f\u300c\u4f55\u79d2\u306b\u5909\u3048\u305f\u3044\u304b\u300d\u300c\u3069\u306e\u30bf\u30a4\u30df\u30f3\u30b0\u3067\u5f85\u6a5f\u3055\u305b\u305f\u3044\u304b\u300d\u3068\u3044\u3046\u696d\u52d9\u5224\u65ad\u306b\u96c6\u4e2d\u3059\u308b<\/strong>\u3068\u3044\u3046\u5f79\u5272\u5206\u62c5\u3067\u3042\u308c\u3070\u3001\u975e\u30a8\u30f3\u30b8\u30cb\u30a2\u3067\u3082\u5341\u5206\u306b\u904b\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"g-flow-row\" style=\"margin:24px 0;\">\n  <div class=\"g-flow-item\"><strong>Step 1<\/strong><br><span style=\"font-size:12px;\">\u65e2\u5b58\u30de\u30af\u30ed\u3092<br>AI\u306b\u8aad\u307e\u305b\u308b<\/span><\/div>\n  <div class=\"g-flow-arrow\">&#8594;<\/div>\n  <div class=\"g-flow-item\"><strong>Step 2<\/strong><br><span style=\"font-size:12px;\">\u5f85\u6a5f\u51e6\u7406\u306e<br>\u610f\u5473\u3092\u8a00\u8a9e\u5316<br>\u3057\u3066\u3082\u3089\u3046<\/span><\/div>\n  <div class=\"g-flow-arrow\">&#8594;<\/div>\n  <div class=\"g-flow-item\"><strong>Step 3<\/strong><br><span style=\"font-size:12px;\">\u65e5\u672c\u8a9e\u3067<br>\u8abf\u6574\u3092\u4f9d\u983c<br>\uff08\u79d2\u6570\u30fb\u6761\u4ef6\uff09<\/span><\/div>\n  <div class=\"g-flow-arrow\">&#8594;<\/div>\n  <div class=\"g-flow-item\"><strong>Step 4<\/strong><br><span style=\"font-size:12px;\">\u30c6\u30b9\u30c8\u74b0\u5883\u3067<br>\u52d5\u4f5c\u78ba\u8a8d\u3057\u3066<br>\u672c\u756a\u53cd\u6620<\/span><\/div>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">7-2. VBA\u306e\u77e5\u8b58\u30bc\u30ed\u304b\u3089\u59cb\u3081\u308b\u5834\u5408\u306e\u8003\u3048\u65b9<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u300c\u305d\u3082\u305d\u3082VBA\u306e\u77e5\u8b58\u304c\u30bc\u30ed\u3067\u3001\u65e2\u5b58\u306e\u30de\u30af\u30ed\u3082\u793e\u5185\u306e\u8ab0\u304b\u304c\u4f5c\u3063\u305f\u3082\u306e\u3067\u3088\u304f\u5206\u304b\u3089\u306a\u3044\u300d\u3068\u3044\u3046\u72b6\u614b\u3067\u3082\u3001\u307e\u305a\u306f\u73fe\u72b6\u306e\u30de\u30af\u30ed\u30d5\u30a1\u30a4\u30eb\u3092AI\u306b\u8aad\u307e\u305b\u3066\u5185\u5bb9\u3092\u8981\u7d04\u3057\u3066\u3082\u3089\u3046\u3068\u3053\u308d\u304b\u3089\u59cb\u3081\u3089\u308c\u307e\u3059\u3002\u5c5e\u4eba\u5316\u3057\u305f\u65e2\u5b58\u8cc7\u7523\u306e\u68da\u5378\u3057\u3092\u3001AI\u3068\u306e\u5bfe\u8a71\u3067\u9032\u3081\u308b\u3068\u3044\u3046\u30a2\u30d7\u30ed\u30fc\u30c1\u3067\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#fafafa;border-radius:8px;padding:16px 20px;margin:16px 0;border-left:4px solid #dc2626;\">\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span>\u65e2\u5b58\u30de\u30af\u30ed\u306e\u4e2d\u8eab\u3092AI\u306b\u8981\u7d04\u3057\u3066\u3082\u3089\u3044\u3001\u300c\u4f55\u3092\u3057\u3066\u3044\u308b\u51e6\u7406\u304b\u300d\u3092\u53ef\u8996\u5316\u3059\u308b<\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span>\u5f85\u6a5f\u51e6\u7406\uff08Sleep\/Wait\uff09\u306e\u79d2\u6570\u306e\u610f\u5473\u3068\u3001\u5909\u66f4\u3057\u305f\u5834\u5408\u306e\u5f71\u97ff\u3092AI\u306b\u78ba\u8a8d\u3059\u308b<\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span>\u8abf\u6574\u3057\u305f\u3044\u5185\u5bb9\uff08\u79d2\u6570\u30fb\u5f85\u6a5f\u30bf\u30a4\u30df\u30f3\u30b0\uff09\u3092\u65e5\u672c\u8a9e\u306e\u6307\u793a\u3068\u3057\u3066AI\u306b\u4f1d\u3048\u308b<\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span>\u751f\u6210\u3055\u308c\u305f\u30b3\u30fc\u30c9\u306f\u30c6\u30b9\u30c8\u74b0\u5883\u3067\u5fc5\u305a\u52d5\u4f5c\u78ba\u8a8d\u3057\u3066\u304b\u3089\u672c\u756a\u306b\u53cd\u6620\u3059\u308b<\/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;\">AI\u306b\u4efb\u305b\u308b\u5834\u5408\u3082\u300c\u4e38\u6295\u3052\u300d\u306f\u7981\u7269<\/strong>\n  <\/div>\n  <p style=\"margin:0;font-size:15px;line-height:1.8;color:#333;\">AI\u306f\u975e\u5e38\u306b\u9ad8\u3044\u7cbe\u5ea6\u3067VBA\u30b3\u30fc\u30c9\u3092\u7406\u89e3\u30fb\u4fee\u6b63\u3067\u304d\u307e\u3059\u304c\u3001\u672c\u756a\u306e\u696d\u52d9\u30c7\u30fc\u30bf\u3092\u6271\u3046\u30de\u30af\u30ed\u3067\u3042\u308b\u4ee5\u4e0a\u3001\u6700\u7d42\u7684\u306a\u52d5\u4f5c\u78ba\u8a8d\u306f\u4eba\u9593\u304c\u884c\u3046\u3079\u304d\u3067\u3059\u3002\u7279\u306b\u3001\u5916\u90e8\u30b7\u30b9\u30c6\u30e0\u3068\u306e\u9023\u643a\u3084\u30d5\u30a1\u30a4\u30eb\u306e\u4e0a\u66f8\u304d\u51e6\u7406\u3092\u542b\u3080\u30de\u30af\u30ed\u306f\u3001\u30c6\u30b9\u30c8\u74b0\u5883\u3067\u306e\u691c\u8a3c\u3092\u5fc5\u305a\u631f\u3093\u3067\u304b\u3089\u672c\u756a\u53cd\u6620\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<\/div>\n\n\n\n<div class=\"balloon-wrap\">\n  <div class=\"balloon-icon\">\n    <img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/04\/ceo-sugasawa.jpg\" alt=\"\u4ee3\u8868\u83c5\u6fa4\">\n    <span class=\"balloon-name\">\u4ee3\u8868\u83c5\u6fa4<\/span>\n  <\/div>\n  <div class=\"balloon-body\">\u5f0a\u793e\u306e\u652f\u63f4\u5148\u3067\u3082\u300cVBA\u306f\u5206\u304b\u3089\u306a\u3044\u3051\u3069\u3001AI\u306b\u805e\u304d\u306a\u304c\u3089\u5c11\u3057\u305a\u3064\u624b\u76f4\u3057\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u300d\u3068\u3044\u3046\u7d4c\u55b6\u8005\u306e\u65b9\u304c\u5897\u3048\u3066\u3044\u307e\u3059\u3002\u5c02\u9580\u77e5\u8b58\u3092\u899a\u3048\u308b\u3053\u3068\u3088\u308a\u3001AI\u3068\u306e\u6b63\u3057\u3044\u4ed8\u304d\u5408\u3044\u65b9\u3092\u899a\u3048\u308b\u65b9\u304c\u3001\u6295\u8cc7\u5bfe\u52b9\u679c\u306f\u5727\u5012\u7684\u306b\u9ad8\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\">Sleep\u95a2\u6570\u306e\u5ba3\u8a00\u65b9\u6cd5\u3084TimeValue\u306e\u66f8\u5f0f\u306f\u3001\u899a\u3048\u3066\u3082\u76f4\u63a5\u306e\u58f2\u4e0a\u306b\u306f\u3064\u306a\u304c\u308a\u307e\u305b\u3093\u3002\u305d\u3053\u306fAI\u306b\u4efb\u305b\u3066\u3001\u7d4c\u55b6\u8005\u306f\u300c\u696d\u52d9\u306e\u3069\u3053\u306b\u30dc\u30c8\u30eb\u30cd\u30c3\u30af\u304c\u3042\u308b\u304b\u300d\u3092\u898b\u3064\u3051\u308b\u3053\u3068\u306b\u6642\u9593\u3092\u4f7f\u3046\u3079\u304d\u3060\u3068\u8003\u3048\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\/seminar2-blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=cc-vba-sleep-wait&#038;blog_slug=cc-vba-sleep-wait\" target=\"_blank\" rel=\"noopener\" aria-label=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff08\u7121\u6599\u30fb1on1\u30fb60\u5206\uff09\u306e\u4e88\u7d04\u753b\u9762\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_seminar_claude_code_2026.jpg\" alt=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff5c\u7d4c\u55b6\u8005\u30fb\u4f1a\u793e\u5f79\u54e1\u5c02\u7528 1on1 60\u5206 \u7121\u6599\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><a href=\"https:\/\/aikanri.genai-ai.co.jp\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_campaign=cc-vba-sleep-wait&#038;utm_content=h2-banner-kanri\" target=\"_blank\" rel=\"noopener\" aria-label=\"AI\u9b3c\u7ba1\u7406 \u516c\u5f0f\u30b5\u30a4\u30c8\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_blog_1to1.jpg\" alt=\"Claude Code\u3092\u7d4c\u55b6\u306b\u6d3b\u304b\u3057\u305f\u3044\u65b9\u3078 \u2014 AI\u9b3c\u7ba1\u7406\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><\/div>\n\n\n<div id=\"sec-08\"><\/div>\n<h2 class=\"section-header-img\" style=\"margin:32px 0 24px;border-radius:8px;overflow:hidden;background:linear-gradient(135deg,#1a1a1a 0%,#2a1015 100%);padding:32px 28px;color:#fff;position:relative;border:none;border-left:none;text-align:left;\">\n  <span class=\"section-number\" style=\"display:block;\">08<\/span>\n  <span class=\"section-label\" style=\"display:block;\">QUICK GUIDE<\/span>\n  <span class=\"section-title\" style=\"display:block;\">\u76ee\u7684\u5225\u30fb\u72b6\u6cc1\u5225\u306e\u65e9\u898b\u8868<\/span>\n  <span class=\"section-desc\">\u81ea\u5206\u306e\u72b6\u6cc1\u306b\u8fd1\u3044\u884c\u3092\u63a2\u3057\u3066\u5224\u65ad\u3059\u308b<\/span>\n<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u3053\u307e\u3067\u306e\u5185\u5bb9\u30921\u679a\u306b\u307e\u3068\u3081\u307e\u3057\u305f\u3002\u81ea\u5206\u306e\u72b6\u6cc1\u306b\u8fd1\u3044\u884c\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<table>\n<thead><tr><th>\u3042\u306a\u305f\u306e\u72b6\u6cc1<\/th><th>\u304a\u3059\u3059\u3081\u306e\u65b9\u6cd5<\/th><th>\u7406\u7531<\/th><\/tr><\/thead>\n<tbody>\n<tr><td>\u30df\u30ea\u79d2\u5358\u4f4d\u306e\u7cbe\u5ea6\u304c\u5fc5\u8981<\/td><td>Sleep\u95a2\u6570\uff08API\u5ba3\u8a00\uff09<\/td><td>TimeValue\u3088\u308a\u7d30\u304b\u3044\u5358\u4f4d\u3092\u6271\u3048\u308b<\/td><\/tr>\n<tr><td>Mac\u7248Excel\u3068\u306e\u4e92\u63db\u6027\u304c\u5fc5\u8981<\/td><td>Application.Wait<\/td><td>kernel32\u4f9d\u5b58\u304c\u306a\u304f\u30af\u30ed\u30b9\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0<\/td><\/tr>\n<tr><td>\u5ba3\u8a00\u306a\u3057\u3067\u3059\u3050\u8a66\u3057\u305f\u3044<\/td><td>Application.Wait<\/td><td>Declare\u6587\u306e\u6e96\u5099\u304c\u4e0d\u8981<\/td><\/tr>\n<tr><td>64bit\u74b0\u5883\u3078\u306e\u79fb\u884c\u3067\u6025\u306b\u30a8\u30e9\u30fc\u304c\u51fa\u305f<\/td><td>#If VBA7\u5206\u5c90 + PtrSafe\u8ffd\u52a0<\/td><td>\u672c\u8a18\u4e8b2\u7ae0\u306e\u5ba3\u8a00\u6587\u3092\u305d\u306e\u307e\u307e\u9069\u7528<\/td><\/tr>\n<tr><td>VBA\u306e\u77e5\u8b58\u306b\u81ea\u4fe1\u304c\u306a\u3044\u30fb\u6642\u9593\u304c\u306a\u3044<\/td><td>AI\uff08Claude Code\uff09\u306b\u8abf\u6574\u3092\u4f9d\u983c<\/td><td>\u5c02\u9580\u77e5\u8b58\u306e\u90e8\u5206\u3092AI\u306b\u4efb\u305b\u3001\u696d\u52d9\u5224\u65ad\u306b\u96c6\u4e2d<\/td><\/tr>\n<\/tbody>\n<\/table>\n\n\n<div style=\"margin:48px 0 8px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap;\"><a href=\"https:\/\/aikanri.genai-ai.co.jp\/seminar2-blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=cc-vba-sleep-wait&#038;blog_slug=cc-vba-sleep-wait\" target=\"_blank\" rel=\"noopener\" aria-label=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff08\u7121\u6599\u30fb1on1\u30fb60\u5206\uff09\u306e\u4e88\u7d04\u753b\u9762\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_seminar_claude_code_2026.jpg\" alt=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff5c\u7d4c\u55b6\u8005\u30fb\u4f1a\u793e\u5f79\u54e1\u5c02\u7528 1on1 60\u5206 \u7121\u6599\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><a href=\"https:\/\/aikanri.genai-ai.co.jp\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_campaign=cc-vba-sleep-wait&#038;utm_content=h2-banner-kanri\" target=\"_blank\" rel=\"noopener\" aria-label=\"AI\u9b3c\u7ba1\u7406 \u516c\u5f0f\u30b5\u30a4\u30c8\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_blog_1to1.jpg\" alt=\"Claude Code\u3092\u7d4c\u55b6\u306b\u6d3b\u304b\u3057\u305f\u3044\u65b9\u3078 \u2014 AI\u9b3c\u7ba1\u7406\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><\/div>\n\n\n<div id=\"sec-09\"><\/div>\n<h2 class=\"section-header-img\" style=\"margin:32px 0 24px;border-radius:8px;overflow:hidden;background:linear-gradient(135deg,#1a1a1a 0%,#2a1015 100%);padding:32px 28px;color:#fff;position:relative;border:none;border-left:none;text-align:left;\">\n  <span class=\"section-number\" style=\"display:block;\">09<\/span>\n  <span class=\"section-label\" style=\"display:block;\">CONCLUSION<\/span>\n  <span class=\"section-title\" style=\"display:block;\">\u307e\u3068\u3081 \u2500\u2500 \u300c\u51e6\u7406\u3092\u6b62\u3081\u308b\u300d\u3067\u6d88\u8017\u3057\u306a\u3044\u50cd\u304d\u65b9\u3078<\/span>\n  <span class=\"section-desc\">\u6b63\u3057\u3044\u66f8\u304d\u65b9\u3092\u62bc\u3055\u3048\u305f\u4e0a\u3067\u3001\u7d30\u304b\u3044\u8abf\u6574\u306fAI\u306b\u4efb\u305b\u308b<\/span>\n<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001VBA\u306eSleep\u95a2\u6570\uff08Windows API\u5ba3\u8a00\uff09\u3068Application.Wait\u30e1\u30bd\u30c3\u30c9\u306e\u6b63\u3057\u3044\u66f8\u304d\u65b9\u3001\u4e21\u8005\u306e\u4f7f\u3044\u5206\u3051\u3001\u73fe\u5834\u3067\u8d77\u304d\u3084\u3059\u3044\u843d\u3068\u3057\u7a74\u3001\u305d\u3057\u3066\u975e\u30a8\u30f3\u30b8\u30cb\u30a2\u304c\u3053\u3046\u3057\u305f\u8abf\u6574\u3068\u3069\u3046\u4ed8\u304d\u5408\u3046\u3079\u304d\u304b\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>Sleep\u95a2\u6570\u306f\u300c#If VBA7 Then\u301cPtrSafe\u301c#Else\u301c#End If\u300d\u306732bit\/64bit\u4e21\u5bfe\u5fdc\u306e\u5ba3\u8a00\u306b\u3059\u308b<\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span>Sleep\u306e\u5f15\u6570dwMilliseconds\u306fLong\u578b\u306e\u307e\u307e\u3067\u3088\u304f\u3001LongPtr\u3078\u306e\u5909\u66f4\u306f\u4e0d\u8981<\/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>Application.Wait\u306f\u300c\u671f\u9593\u300d\u3067\u306f\u306a\u304f\u300c\u518d\u958b\u3059\u308b\u6642\u523b\u300d\u3092\u6e21\u3059\u4ed5\u7d44\u307f\u3060\u3068\u7406\u89e3\u3059\u308b<\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span>TimeValue\u306f1\u79d2\u672a\u6e80\u306e\u6307\u5b9a\u306b\u5f31\u3044\u305f\u3081\u3001\u7d30\u304b\u3044\u7cbe\u5ea6\u304c\u5fc5\u8981\u306a\u3089Sleep\u95a2\u6570\u3092\u4f7f\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>Sleep\u95a2\u6570\u306fWindows\u5c02\u7528\uff08kernel32\u4f9d\u5b58\uff09\u3001Mac\u7248\u3067\u306fApplication.Wait\u3092\u4f7f\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>\u5f85\u6a5f\u6642\u9593\u306e\u6839\u62e0\u304c\u5f15\u304d\u7d99\u304c\u308c\u305a\u5c5e\u4eba\u5316\u3059\u308b\u30b1\u30fc\u30b9\u304c\u591a\u304f\u3001\u53ef\u8996\u5316\u304c\u91cd\u8981<\/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\u306e\u77e5\u8b58\u304c\u306a\u304f\u3066\u3082\u3001AI\u306b\u65e5\u672c\u8a9e\u3067\u76f8\u8ac7\u3057\u306a\u304c\u3089\u5f85\u6a5f\u51e6\u7406\u3092\u8abf\u6574\u3059\u308b\u9078\u629e\u80a2\u304c\u3042\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>Sleep\u95a2\u6570\u3084Application.Wait\u306e\u6b63\u78ba\u306a\u66f8\u304d\u65b9\u3092\u77e5\u3063\u3066\u304a\u304f\u3053\u3068\u306f\u5927\u5207\u3067\u3059\u304c\u3001\u305d\u308c\u3092\u5b8c\u74a7\u306b\u899a\u3048\u308b\u3053\u3068\u304c\u76ee\u7684\u3067\u306f\u3042\u308a\u307e\u305b\u3093<\/strong>\u3002\u5927\u5207\u306a\u306e\u306f\u3001\u696d\u52d9\u306e\u3069\u3053\u306b\u300c\u51e6\u7406\u901f\u5ea6\u306e\u30ba\u30ec\u300d\u3068\u3044\u3046\u8ab2\u984c\u304c\u3042\u308b\u304b\u3092\u898b\u629c\u304f\u3053\u3068\u3067\u3042\u308a\u3001\u305d\u306e\u5148\u306e\u5b9f\u88c5\u4f5c\u696d\u306f\u3001\u6b63\u78ba\u306a\u77e5\u8b58\u3092\u6301\u3063\u305fAI\u306b\u4efb\u305b\u308b\u3068\u3044\u3046\u9078\u629e\u80a2\u304c\u5341\u5206\u306b\u73fe\u5b9f\u7684\u306b\u306a\u3063\u3066\u3044\u308b\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5f0a\u793e\u3067\u306f\u3001\u3053\u3046\u3057\u305f\u300cVBA\u306e\u5c5e\u4eba\u5316\u3057\u305f\u81ea\u52d5\u5316\u8cc7\u7523\u300d\u3092\u68da\u5378\u3057\u3057\u3001AI\u3068\u5bfe\u8a71\u3057\u306a\u304c\u3089\u5b89\u5168\u306b\u5f15\u304d\u7d99\u3050\u30fb\u8abf\u6574\u3059\u308b\u4ed5\u7d44\u307f\u3065\u304f\u308a\u3092\u652f\u63f4\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\u304b\u3089\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\u3001VBA\u306e\u3088\u3046\u306a\u65e2\u5b58\u306e\u81ea\u52d5\u5316\u8cc7\u7523\u3092\u542b\u3081\u305f\u696d\u52d9\u8a2d\u8a08\u304b\u3089\u3001Claude Code\u3092\u4f7f\u3063\u305f\u904b\u7528\u306e\u4f34\u8d70\u307e\u3067\u652f\u63f4\u3057\u3066\u3044\u307e\u3059\u3002\u5c5e\u4eba\u5316\u3057\u305f\u51e6\u7406\u3092\u53ef\u8996\u5316\u3059\u308b\u3068\u3053\u308d\u304b\u3089\u3001\u7121\u6599\u76f8\u8ac7\u3067\u5177\u4f53\u7684\u306b\u304a\u7b54\u3048\u3057\u307e\u3059\u3002<\/div>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">VBA\u306e\u5c5e\u4eba\u5316\u3057\u305f\u5f85\u6a5f\u51e6\u7406\u3082\u3001AI\u9b3c\u7ba1\u7406\u304c\u4e00\u7dd2\u306b\u68da\u5378\u3057\u3057\u307e\u3059<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u300cSleep(5000)\u306e5000\u306e\u610f\u5473\u304c\u8ab0\u3082\u5206\u304b\u3089\u306a\u3044\u300d\u2014\u2014\u305d\u3093\u306a\u5c5e\u4eba\u5316\u3057\u305f\u81ea\u52d5\u5316\u8cc7\u7523\u3092\u3001Claude Code\u3068\u306e\u5bfe\u8a71\u3067\u53ef\u8996\u5316\u30fb\u5f15\u304d\u7d99\u304e\u3067\u304d\u308b\u72b6\u614b\u306b\u5909\u3048\u3066\u3044\u304d\u307e\u3059\u3002<br>\u3042\u306a\u305f\u306e\u4f1a\u793e\u306eVBA\u8cc7\u7523\u3001AI\u306b\u8aad\u307e\u305b\u3066\u307f\u307e\u305b\u3093\u304b\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\u793e\u5185\u306b\u7720\u3063\u3066\u3044\u308b\u30de\u30af\u30ed\u304c\u52d5\u3044\u3066\u3044\u308b\u306e\u304b\u58ca\u308c\u3066\u3044\u308b\u306e\u304b\u3082\u5206\u304b\u3089\u306a\u3044\u300d\u3068\u3044\u3046\u65b9\u306b\u7279\u306b\u5411\u3044\u3066\u3044\u307e\u3059\u3002\u307e\u305a\u306f\u7121\u6599\u76f8\u8ac7\u3067\u3001\u4eca\u3042\u308b\u30de\u30af\u30ed\u8cc7\u7523\u306e\u72b6\u614b\u3092\u4e00\u7dd2\u306b\u78ba\u8a8d\u3057\u307e\u3057\u3087\u3046\u3002<\/div>\n<\/div>\n\n\n\n<div style=\"background:linear-gradient(135deg,#1a1a1a 0%,#2a1015 100%);border-radius:16px;padding:36px 32px;margin:48px 0 16px;color:#fff;\">\n  <p style=\"font-size:13px;font-weight:700;color:#dc2626;letter-spacing:2px;margin:0 0 12px;\">NEXT STEP<\/p>\n  <p style=\"font-size:22px;font-weight:800;line-height:1.5;margin:0 0 20px;\">\u3053\u306e\u8a18\u4e8b\u306e\u5185\u5bb9\u3092\u3001\u3042\u306a\u305f\u306e\u30d3\u30b8\u30cd\u30b9\u3067<br>\u5b9f\u8df5\u3057\u3066\u307f\u307e\u305b\u3093\u304b\uff1f<\/p>\n  <div style=\"background:rgba(255,255,255,0.06);border:1px solid rgba(255,255,255,0.12);border-radius:12px;padding:24px;max-width:560px;margin:0 auto;\">\n    <p style=\"font-size:13px;color:#dc2626;font-weight:700;margin:0 0 8px;\">AI\u6d3b\u7528\u3092\u81ea\u793e\u3067\u56de\u305b\u308b\u3088\u3046\u306b\u306a\u308a\u305f\u3044\u65b9\u3078<\/p>\n    <p style=\"font-size:20px;font-weight:800;margin:0 0 12px;\">AI\u9b3c\u7ba1\u7406<\/p>\n    <p style=\"font-size:14px;color:rgba(255,255,255,0.75);margin:0 0 20px;line-height:1.7;\">Claude Code\u30fbCowork\u5c0e\u5165\u652f\u63f4\u304b\u3089\u696d\u52d9\u8a2d\u8a08\u30fb\u793e\u5185\u6d78\u900f\u307e\u3067\u5b9f\u8df5\u30d9\u30fc\u30b9\u3067\u4f34\u8d70\u3002\u300c\u81ea\u793e\u3067\u56de\u305b\u308b\u7d44\u7e54\u300d\u309290\u65e5\u3067\u4f5c\u308b\u7d4c\u55b6\u8005\u5411\u3051\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0\u3002<\/p>\n    <div style=\"text-align:center;\">\n      <a href=\"https:\/\/aikanri.genai-ai.co.jp\/?utm_source=blog&utm_medium=article&utm_campaign=cc-vba-sleep-wait&utm_content=next-step-cta\" target=\"_blank\" rel=\"noopener\" style=\"display:inline-block;background:#dc2626;color:#fff;font-weight:700;font-size:15px;padding:14px 32px;border-radius:30px;text-decoration:none;\">AI\u9b3c\u7ba1\u7406\u3092\u8a73\u3057\u304f\u898b\u308b \u2192<\/a>\n    <\/div>\n  <\/div>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"faq\">\u3088\u304f\u3042\u308b\u8cea\u554f<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Q. Sleep\u3068Application.Wait\u3001\u7d50\u5c40\u3069\u3061\u3089\u3092\u4f7f\u3048\u3070\u3044\u3044\u3067\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A. \u57fa\u672c\u7684\u306b\u306fApplication.Wait\u304b\u3089\u691c\u8a0e\u3059\u308b\u306e\u304c\u304a\u3059\u3059\u3081\u3067\u3059\u3002\u5ba3\u8a00\u6587\uff08Declare\uff09\u304c\u4e0d\u8981\u3067\u30b3\u30fc\u30c9\u304c\u30b7\u30f3\u30d7\u30eb\u306b\u306a\u308a\u3001Mac\u7248Excel\u3067\u3082\u52d5\u4f5c\u3057\u307e\u3059\u3002\u4e00\u65b9\u3001\u30df\u30ea\u79d2\u5358\u4f4d\u306e\u7d30\u304b\u3044\u7cbe\u5ea6\u304c\u5fc5\u8981\u306a\u51e6\u7406\u3084\u3001\u5916\u90e8\u30b7\u30b9\u30c6\u30e0\u3068\u306e\u30bf\u30a4\u30df\u30f3\u30b0\u8abf\u6574\u3092\u3088\u308a\u30b7\u30d3\u30a2\u306b\u884c\u3044\u305f\u3044\u5834\u5408\u306fSleep\u95a2\u6570\u3092\u4f7f\u3063\u3066\u304f\u3060\u3055\u3044\u3002\u7528\u9014\u306b\u5fdc\u3058\u305f\u4f7f\u3044\u5206\u3051\u304c\u57fa\u672c\u65b9\u91dd\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q. 64bit\u7248\u306eOffice\u3067\u30de\u30af\u30ed\u304c\u30a8\u30e9\u30fc\u306b\u306a\u308b\u306e\u306f\u306a\u305c\u3067\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A. \u591a\u304f\u306e\u5834\u5408\u3001Sleep\u95a2\u6570\u306a\u3069\u306eAPI\u5ba3\u8a00\u306b\u300cPtrSafe\u300d\u30ad\u30fc\u30ef\u30fc\u30c9\u304c\u4ed8\u3044\u3066\u3044\u306a\u3044\u3053\u3068\u304c\u539f\u56e0\u3067\u3059\u3002Office 2010\u4ee5\u964d\uff08VBA7\u5bfe\u5fdc\u74b0\u5883\uff09\u3067API\u3092\u5ba3\u8a00\u3059\u308b\u5834\u5408\u3001PtrSafe\u306e\u8a18\u8f09\u304c\u5fc5\u9808\u306b\u306a\u308a\u307e\u3057\u305f\u3002\u672c\u8a18\u4e8b\u3067\u7d39\u4ecb\u3057\u305f\u300c#If VBA7 Then\u301cPtrSafe\u301c#Else\u301c#End If\u300d\u3068\u3044\u3046\u6761\u4ef6\u5206\u5c90\u3092\u4f7f\u3048\u3070\u300132bit\u30fb64bit\u3069\u3061\u3089\u306e\u74b0\u5883\u3067\u3082\u30a8\u30e9\u30fc\u306a\u304f\u52d5\u4f5c\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q. Application.Wait\u3067\u30df\u30ea\u79d2\u5358\u4f4d\u306e\u6307\u5b9a\u306f\u3067\u304d\u307e\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A. TimeValue\u95a2\u6570\u3092\u4f7f\u3063\u305f\u6587\u5b57\u5217\u6307\u5b9a\uff08\u4f8b:\"00:00:03\"\uff09\u3067\u306f1\u79d2\u672a\u6e80\u306e\u7cbe\u5ea6\u306f\u4e0d\u5b89\u5b9a\u306b\u306a\u308a\u3084\u3059\u3044\u305f\u3081\u3001\u5b9f\u52d9\u4e0a\u306f1\u79d2\u5358\u4f4d\u3067\u4e38\u3081\u3066\u4f7f\u3046\u306e\u304c\u5b89\u5168\u3067\u3059\u3002\u30df\u30ea\u79d2\u5358\u4f4d\u306e\u7cbe\u5ea6\u304c\u3069\u3046\u3057\u3066\u3082\u5fc5\u8981\u306a\u5834\u5408\u306f\u3001Application.Wait\u3067\u306f\u306a\u304fSleep\u95a2\u6570\uff08Windows API\u5ba3\u8a00\uff09\u3092\u4f7f\u3046\u65b9\u304c\u78ba\u5b9f\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q. Sleep\u3084Wait\u3092\u4f7f\u3046\u3068Excel\u304c\u300c\u5fdc\u7b54\u306a\u3057\u300d\u3068\u8868\u793a\u3055\u308c\u308b\u306e\u3067\u3059\u304c\u3001\u7570\u5e38\u3067\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A. \u7570\u5e38\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002Sleep\u3082Application.Wait\u3082\u3001\u5f85\u6a5f\u4e2d\u306fVBA\u306e\u5b9f\u884c\u30b9\u30ec\u30c3\u30c9\u304c\u505c\u6b62\u3059\u308b\u305f\u3081\u3001Excel\u5168\u4f53\u306e\u753b\u9762\u64cd\u4f5c\u304c\u3067\u304d\u306a\u304f\u306a\u308a\u307e\u3059\u3002\u5f85\u6a5f\u6642\u9593\u304c\u6570\u5341\u79d2\u4ee5\u4e0a\u306b\u53ca\u3076\u3068\u3001Windows\u5074\u304c\u300c\u5fdc\u7b54\u306a\u3057\u300d\u3068\u3044\u3046\u8868\u793a\u3092\u51fa\u3059\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u614c\u3066\u3066\u5f37\u5236\u7d42\u4e86\u305b\u305a\u3001\u5f85\u6a5f\u51e6\u7406\u304c\u5b8c\u4e86\u3059\u308b\u307e\u3067\u5f85\u3064\u3053\u3068\u304c\u57fa\u672c\u3067\u3059\u3002\u305f\u3060\u3057\u5f85\u6a5f\u7406\u7531\u304c\u5206\u304b\u308b\u3088\u3046\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u8868\u793a\u3057\u3066\u304a\u304f\u3068\u5229\u7528\u8005\u306e\u6df7\u4e71\u3092\u9632\u3052\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q. Mac\u7248Excel\u3067\u3082\u540c\u3058\u30b3\u30fc\u30c9\u306f\u52d5\u304d\u307e\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A. Sleep\u95a2\u6570\u306fWindows\u306ekernel32.dll\u306b\u4f9d\u5b58\u3057\u3066\u3044\u308b\u305f\u3081\u3001Mac\u7248Excel\u3067\u306f\u52d5\u4f5c\u3057\u307e\u305b\u3093\u3002\u793e\u5185\u306bMac\u30e6\u30fc\u30b6\u30fc\u304c\u3044\u308b\u5834\u5408\u3084\u3001\u4e21OS\u74b0\u5883\u3067\u540c\u3058\u30de\u30af\u30ed\u3092\u4f7f\u3044\u56de\u3057\u305f\u3044\u5834\u5408\u306f\u3001Application.Wait\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u3046\u65b9\u5f0f\u306b\u7d71\u4e00\u3059\u308b\u3053\u3068\u3092\u63a8\u5968\u3057\u307e\u3059\u3002Application.Wait\u306fExcel\u306e\u6a19\u6e96\u6a5f\u80fd\u3067\u3042\u308b\u305f\u3081\u3001Windows\u3067\u3082Mac\u3067\u3082\u540c\u69d8\u306b\u52d5\u4f5c\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q. \u30de\u30af\u30ed\u304c\u30d5\u30ea\u30fc\u30ba\u3057\u3066\u5f37\u5236\u7d42\u4e86\u3057\u305f\u5834\u5408\u3001\u305d\u308c\u307e\u3067\u306e\u4f5c\u696d\u30c7\u30fc\u30bf\u306f\u6d88\u3048\u307e\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A. \u4fdd\u5b58\u3057\u3066\u3044\u306a\u3044\u5909\u66f4\u5185\u5bb9\u306f\u5931\u308f\u308c\u308b\u53ef\u80fd\u6027\u304c\u9ad8\u3044\u3067\u3059\u3002\u5f85\u6a5f\u51e6\u7406\u3092\u542b\u3080\u30de\u30af\u30ed\u3092\u5b9f\u884c\u3059\u308b\u524d\u306b\u3001\u30d5\u30a1\u30a4\u30eb\u3092\u4fdd\u5b58\u3057\u3066\u304a\u304f\u304b\u3001\u51e6\u7406\u306e\u7bc0\u76ee\u3067\u3053\u307e\u3081\u306b\u81ea\u52d5\u4fdd\u5b58\u3059\u308b\u8a2d\u8a08\u306b\u3057\u3066\u304a\u304f\u3053\u3068\u3092\u5f37\u304f\u63a8\u5968\u3057\u307e\u3059\u3002\u7279\u306b\u9577\u6642\u9593\u306e\u5f85\u6a5f\u3092\u631f\u3080\u51e6\u7406\u3067\u306f\u3001\u5229\u7528\u8005\u304c\u300c\u30d5\u30ea\u30fc\u30ba\u3057\u305f\u300d\u3068\u8aa4\u89e3\u3057\u3066\u5f37\u5236\u7d42\u4e86\u3057\u3066\u3057\u307e\u3046\u30ea\u30b9\u30af\u3092\u5ff5\u982d\u306b\u7f6e\u3044\u305f\u8a2d\u8a08\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q. VBA\u3092\u66f8\u304b\u305a\u306b\u3001\u540c\u3058\u3088\u3046\u306a\u51e6\u7406\u5f85\u3061\u306e\u8abf\u6574\u3092\u3059\u308b\u65b9\u6cd5\u306f\u3042\u308a\u307e\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A. \u3042\u308a\u307e\u3059\u3002Claude Code\u306e\u3088\u3046\u306aAI\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u306b\u3001\u65e2\u5b58\u306e\u30de\u30af\u30ed\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307e\u305b\u305f\u4e0a\u3067\u300c\u51e6\u7406\u9593\u9694\u3092\u3007\u79d2\u306b\u5909\u3048\u3066\u300d\u300c64bit\u3067\u3082\u52d5\u304f\u3088\u3046\u306b\u76f4\u3057\u3066\u300d\u3068\u65e5\u672c\u8a9e\u3067\u4f9d\u983c\u3059\u308b\u65b9\u6cd5\u3067\u3059\u3002PtrSafe\u306e\u610f\u5473\u3084TimeValue\u306e\u66f8\u5f0f\u3068\u3044\u3063\u305f\u5c02\u9580\u77e5\u8b58\u3092AI\u306b\u80a9\u4ee3\u308f\u308a\u3057\u3066\u3082\u3089\u3044\u306a\u304c\u3089\u3001\u4eba\u9593\u306f\u300c\u4f55\u79d2\u306b\u5909\u3048\u305f\u3044\u304b\u300d\u3068\u3044\u3046\u696d\u52d9\u5224\u65ad\u306b\u96c6\u4e2d\u3067\u304d\u307e\u3059\u3002\u305f\u3060\u3057\u751f\u6210\u3055\u308c\u305f\u30b3\u30fc\u30c9\u306f\u5fc5\u305a\u30c6\u30b9\u30c8\u74b0\u5883\u3067\u52d5\u4f5c\u78ba\u8a8d\u3057\u3066\u304b\u3089\u672c\u756a\u53cd\u6620\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q. Sleep\u95a2\u6570\u306e\u5ba3\u8a00\u3067\u3001\u306a\u305c\u5909\u6570\u578b\u306fLong\u306e\u307e\u307e\u3067\u3088\u3044\u306e\u3067\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A. 64bit\u5bfe\u5fdc\u3068\u3044\u3046\u3068\u5909\u6570\u578b\u3082\u3059\u3079\u3066LongPtr\u306b\u5909\u3048\u308b\u5fc5\u8981\u304c\u3042\u308b\u3068\u8aa4\u89e3\u3055\u308c\u304c\u3061\u3067\u3059\u304c\u3001LongPtr\u3078\u306e\u5909\u66f4\u304c\u5fc5\u8981\u306a\u306e\u306f\u3001\u30e1\u30e2\u30ea\u30a2\u30c9\u30ec\u30b9\u3084\u30a6\u30a3\u30f3\u30c9\u30a6\u30cf\u30f3\u30c9\u30eb\u306e\u3088\u3046\u306b\u30dd\u30a4\u30f3\u30bf\u30b5\u30a4\u30ba\u304c\u74b0\u5883\u306b\u3088\u3063\u3066\u5909\u308f\u308b\u5024\u3092\u6271\u3046\u5f15\u6570\u306e\u5834\u5408\u306b\u9650\u3089\u308c\u307e\u3059\u3002Sleep\u95a2\u6570\u306e\u5f15\u6570dwMilliseconds\u306f\u5358\u306a\u308b\u5f85\u6a5f\u30df\u30ea\u79d2\u6570\u3067\u3042\u308a\u3001\u30dd\u30a4\u30f3\u30bf\u3067\u306f\u306a\u3044\u305f\u3081Long\u578b\u306e\u307e\u307e\u3067\u554f\u984c\u3042\u308a\u307e\u305b\u3093\u3002\u5909\u66f4\u304c\u5fc5\u8981\u306a\u306e\u306f\u5ba3\u8a00\u5148\u982d\u306ePtrSafe\u30ad\u30fc\u30ef\u30fc\u30c9\u306e\u307f\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\": \"Sleep\u3068Application.Wait\u3001\u7d50\u5c40\u3069\u3061\u3089\u3092\u4f7f\u3048\u3070\u3044\u3044\u3067\u3059\u304b\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"\u57fa\u672c\u7684\u306b\u306fApplication.Wait\u304b\u3089\u691c\u8a0e\u3059\u308b\u306e\u304c\u304a\u3059\u3059\u3081\u3067\u3059\u3002\u5ba3\u8a00\u6587\uff08Declare\uff09\u304c\u4e0d\u8981\u3067\u30b3\u30fc\u30c9\u304c\u30b7\u30f3\u30d7\u30eb\u306b\u306a\u308a\u3001Mac\u7248Excel\u3067\u3082\u52d5\u4f5c\u3057\u307e\u3059\u3002\u4e00\u65b9\u3001\u30df\u30ea\u79d2\u5358\u4f4d\u306e\u7d30\u304b\u3044\u7cbe\u5ea6\u304c\u5fc5\u8981\u306a\u51e6\u7406\u3084\u3001\u5916\u90e8\u30b7\u30b9\u30c6\u30e0\u3068\u306e\u30bf\u30a4\u30df\u30f3\u30b0\u8abf\u6574\u3092\u3088\u308a\u30b7\u30d3\u30a2\u306b\u884c\u3044\u305f\u3044\u5834\u5408\u306fSleep\u95a2\u6570\u3092\u4f7f\u3063\u3066\u304f\u3060\u3055\u3044\u3002\u7528\u9014\u306b\u5fdc\u3058\u305f\u4f7f\u3044\u5206\u3051\u304c\u57fa\u672c\u65b9\u91dd\u3067\u3059\u3002\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"64bit\u7248\u306eOffice\u3067\u30de\u30af\u30ed\u304c\u30a8\u30e9\u30fc\u306b\u306a\u308b\u306e\u306f\u306a\u305c\u3067\u3059\u304b\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"\u591a\u304f\u306e\u5834\u5408\u3001Sleep\u95a2\u6570\u306a\u3069\u306eAPI\u5ba3\u8a00\u306b\u300cPtrSafe\u300d\u30ad\u30fc\u30ef\u30fc\u30c9\u304c\u4ed8\u3044\u3066\u3044\u306a\u3044\u3053\u3068\u304c\u539f\u56e0\u3067\u3059\u3002Office 2010\u4ee5\u964d\uff08VBA7\u5bfe\u5fdc\u74b0\u5883\uff09\u3067API\u3092\u5ba3\u8a00\u3059\u308b\u5834\u5408\u3001PtrSafe\u306e\u8a18\u8f09\u304c\u5fc5\u9808\u306b\u306a\u308a\u307e\u3057\u305f\u3002\u672c\u8a18\u4e8b\u3067\u7d39\u4ecb\u3057\u305f\u300c#If VBA7 Then\u301cPtrSafe\u301c#Else\u301c#End If\u300d\u3068\u3044\u3046\u6761\u4ef6\u5206\u5c90\u3092\u4f7f\u3048\u3070\u300132bit\u30fb64bit\u3069\u3061\u3089\u306e\u74b0\u5883\u3067\u3082\u30a8\u30e9\u30fc\u306a\u304f\u52d5\u4f5c\u3057\u307e\u3059\u3002\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"Application.Wait\u3067\u30df\u30ea\u79d2\u5358\u4f4d\u306e\u6307\u5b9a\u306f\u3067\u304d\u307e\u3059\u304b\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"TimeValue\u95a2\u6570\u3092\u4f7f\u3063\u305f\u6587\u5b57\u5217\u6307\u5b9a\uff08\u4f8b:\\\"00:00:03\\\"\uff09\u3067\u306f1\u79d2\u672a\u6e80\u306e\u7cbe\u5ea6\u306f\u4e0d\u5b89\u5b9a\u306b\u306a\u308a\u3084\u3059\u3044\u305f\u3081\u3001\u5b9f\u52d9\u4e0a\u306f1\u79d2\u5358\u4f4d\u3067\u4e38\u3081\u3066\u4f7f\u3046\u306e\u304c\u5b89\u5168\u3067\u3059\u3002\u30df\u30ea\u79d2\u5358\u4f4d\u306e\u7cbe\u5ea6\u304c\u3069\u3046\u3057\u3066\u3082\u5fc5\u8981\u306a\u5834\u5408\u306f\u3001Application.Wait\u3067\u306f\u306a\u304fSleep\u95a2\u6570\uff08Windows API\u5ba3\u8a00\uff09\u3092\u4f7f\u3046\u65b9\u304c\u78ba\u5b9f\u3067\u3059\u3002\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"Sleep\u3084Wait\u3092\u4f7f\u3046\u3068Excel\u304c\u300c\u5fdc\u7b54\u306a\u3057\u300d\u3068\u8868\u793a\u3055\u308c\u308b\u306e\u3067\u3059\u304c\u3001\u7570\u5e38\u3067\u3059\u304b\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"\u7570\u5e38\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002Sleep\u3082Application.Wait\u3082\u3001\u5f85\u6a5f\u4e2d\u306fVBA\u306e\u5b9f\u884c\u30b9\u30ec\u30c3\u30c9\u304c\u505c\u6b62\u3059\u308b\u305f\u3081\u3001Excel\u5168\u4f53\u306e\u753b\u9762\u64cd\u4f5c\u304c\u3067\u304d\u306a\u304f\u306a\u308a\u307e\u3059\u3002\u5f85\u6a5f\u6642\u9593\u304c\u6570\u5341\u79d2\u4ee5\u4e0a\u306b\u53ca\u3076\u3068\u3001Windows\u5074\u304c\u300c\u5fdc\u7b54\u306a\u3057\u300d\u3068\u3044\u3046\u8868\u793a\u3092\u51fa\u3059\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u614c\u3066\u3066\u5f37\u5236\u7d42\u4e86\u305b\u305a\u3001\u5f85\u6a5f\u51e6\u7406\u304c\u5b8c\u4e86\u3059\u308b\u307e\u3067\u5f85\u3064\u3053\u3068\u304c\u57fa\u672c\u3067\u3059\u3002\u305f\u3060\u3057\u5f85\u6a5f\u7406\u7531\u304c\u5206\u304b\u308b\u3088\u3046\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u8868\u793a\u3057\u3066\u304a\u304f\u3068\u5229\u7528\u8005\u306e\u6df7\u4e71\u3092\u9632\u3052\u307e\u3059\u3002\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"Mac\u7248Excel\u3067\u3082\u540c\u3058\u30b3\u30fc\u30c9\u306f\u52d5\u304d\u307e\u3059\u304b\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"Sleep\u95a2\u6570\u306fWindows\u306ekernel32.dll\u306b\u4f9d\u5b58\u3057\u3066\u3044\u308b\u305f\u3081\u3001Mac\u7248Excel\u3067\u306f\u52d5\u4f5c\u3057\u307e\u305b\u3093\u3002\u793e\u5185\u306bMac\u30e6\u30fc\u30b6\u30fc\u304c\u3044\u308b\u5834\u5408\u3084\u3001\u4e21OS\u74b0\u5883\u3067\u540c\u3058\u30de\u30af\u30ed\u3092\u4f7f\u3044\u56de\u3057\u305f\u3044\u5834\u5408\u306f\u3001Application.Wait\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u3046\u65b9\u5f0f\u306b\u7d71\u4e00\u3059\u308b\u3053\u3068\u3092\u63a8\u5968\u3057\u307e\u3059\u3002Application.Wait\u306fExcel\u306e\u6a19\u6e96\u6a5f\u80fd\u3067\u3042\u308b\u305f\u3081\u3001Windows\u3067\u3082Mac\u3067\u3082\u540c\u69d8\u306b\u52d5\u4f5c\u3057\u307e\u3059\u3002\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"\u30de\u30af\u30ed\u304c\u30d5\u30ea\u30fc\u30ba\u3057\u3066\u5f37\u5236\u7d42\u4e86\u3057\u305f\u5834\u5408\u3001\u305d\u308c\u307e\u3067\u306e\u4f5c\u696d\u30c7\u30fc\u30bf\u306f\u6d88\u3048\u307e\u3059\u304b\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"\u4fdd\u5b58\u3057\u3066\u3044\u306a\u3044\u5909\u66f4\u5185\u5bb9\u306f\u5931\u308f\u308c\u308b\u53ef\u80fd\u6027\u304c\u9ad8\u3044\u3067\u3059\u3002\u5f85\u6a5f\u51e6\u7406\u3092\u542b\u3080\u30de\u30af\u30ed\u3092\u5b9f\u884c\u3059\u308b\u524d\u306b\u3001\u30d5\u30a1\u30a4\u30eb\u3092\u4fdd\u5b58\u3057\u3066\u304a\u304f\u304b\u3001\u51e6\u7406\u306e\u7bc0\u76ee\u3067\u3053\u307e\u3081\u306b\u81ea\u52d5\u4fdd\u5b58\u3059\u308b\u8a2d\u8a08\u306b\u3057\u3066\u304a\u304f\u3053\u3068\u3092\u5f37\u304f\u63a8\u5968\u3057\u307e\u3059\u3002\u7279\u306b\u9577\u6642\u9593\u306e\u5f85\u6a5f\u3092\u631f\u3080\u51e6\u7406\u3067\u306f\u3001\u5229\u7528\u8005\u304c\u300c\u30d5\u30ea\u30fc\u30ba\u3057\u305f\u300d\u3068\u8aa4\u89e3\u3057\u3066\u5f37\u5236\u7d42\u4e86\u3057\u3066\u3057\u307e\u3046\u30ea\u30b9\u30af\u3092\u5ff5\u982d\u306b\u7f6e\u3044\u305f\u8a2d\u8a08\u304c\u5fc5\u8981\u3067\u3059\u3002\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"VBA\u3092\u66f8\u304b\u305a\u306b\u3001\u540c\u3058\u3088\u3046\u306a\u51e6\u7406\u5f85\u3061\u306e\u8abf\u6574\u3092\u3059\u308b\u65b9\u6cd5\u306f\u3042\u308a\u307e\u3059\u304b\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"\u3042\u308a\u307e\u3059\u3002Claude Code\u306e\u3088\u3046\u306aAI\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u306b\u3001\u65e2\u5b58\u306e\u30de\u30af\u30ed\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307e\u305b\u305f\u4e0a\u3067\u300c\u51e6\u7406\u9593\u9694\u3092\u3007\u79d2\u306b\u5909\u3048\u3066\u300d\u300c64bit\u3067\u3082\u52d5\u304f\u3088\u3046\u306b\u76f4\u3057\u3066\u300d\u3068\u65e5\u672c\u8a9e\u3067\u4f9d\u983c\u3059\u308b\u65b9\u6cd5\u3067\u3059\u3002PtrSafe\u306e\u610f\u5473\u3084TimeValue\u306e\u66f8\u5f0f\u3068\u3044\u3063\u305f\u5c02\u9580\u77e5\u8b58\u3092AI\u306b\u80a9\u4ee3\u308f\u308a\u3057\u3066\u3082\u3089\u3044\u306a\u304c\u3089\u3001\u4eba\u9593\u306f\u300c\u4f55\u79d2\u306b\u5909\u3048\u305f\u3044\u304b\u300d\u3068\u3044\u3046\u696d\u52d9\u5224\u65ad\u306b\u96c6\u4e2d\u3067\u304d\u307e\u3059\u3002\u305f\u3060\u3057\u751f\u6210\u3055\u308c\u305f\u30b3\u30fc\u30c9\u306f\u5fc5\u305a\u30c6\u30b9\u30c8\u74b0\u5883\u3067\u52d5\u4f5c\u78ba\u8a8d\u3057\u3066\u304b\u3089\u672c\u756a\u53cd\u6620\u3057\u3066\u304f\u3060\u3055\u3044\u3002\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"Sleep\u95a2\u6570\u306e\u5ba3\u8a00\u3067\u3001\u306a\u305c\u5909\u6570\u578b\u306fLong\u306e\u307e\u307e\u3067\u3088\u3044\u306e\u3067\u3059\u304b\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"64bit\u5bfe\u5fdc\u3068\u3044\u3046\u3068\u5909\u6570\u578b\u3082\u3059\u3079\u3066LongPtr\u306b\u5909\u3048\u308b\u5fc5\u8981\u304c\u3042\u308b\u3068\u8aa4\u89e3\u3055\u308c\u304c\u3061\u3067\u3059\u304c\u3001LongPtr\u3078\u306e\u5909\u66f4\u304c\u5fc5\u8981\u306a\u306e\u306f\u3001\u30e1\u30e2\u30ea\u30a2\u30c9\u30ec\u30b9\u3084\u30a6\u30a3\u30f3\u30c9\u30a6\u30cf\u30f3\u30c9\u30eb\u306e\u3088\u3046\u306b\u30dd\u30a4\u30f3\u30bf\u30b5\u30a4\u30ba\u304c\u74b0\u5883\u306b\u3088\u3063\u3066\u5909\u308f\u308b\u5024\u3092\u6271\u3046\u5f15\u6570\u306e\u5834\u5408\u306b\u9650\u3089\u308c\u307e\u3059\u3002Sleep\u95a2\u6570\u306e\u5f15\u6570dwMilliseconds\u306f\u5358\u306a\u308b\u5f85\u6a5f\u30df\u30ea\u79d2\u6570\u3067\u3042\u308a\u3001\u30dd\u30a4\u30f3\u30bf\u3067\u306f\u306a\u3044\u305f\u3081Long\u578b\u306e\u307e\u307e\u3067\u554f\u984c\u3042\u308a\u307e\u305b\u3093\u3002\u5909\u66f4\u304c\u5fc5\u8981\u306a\u306e\u306f\u5ba3\u8a00\u5148\u982d\u306ePtrSafe\u30ad\u30fc\u30ef\u30fc\u30c9\u306e\u307f\u3067\u3059\u3002\"\n      }\n    }\n  ]\n}\n<\/script>\n\n\n","protected":false},"excerpt":{"rendered":"<p>VBA\u30de\u30af\u30ed\u306e\u51e6\u7406\u3092\u4e00\u6642\u505c\u6b62\u3055\u305b\u308bSleep\u95a2\u6570(Windows API\u5ba3\u8a00)\u3068Application.Wait\u30e1\u30bd\u30c3\u30c9\u306e\u6b63\u3057\u3044\u66f8\u304d\u65b9\u3092\u89e3\u8aac\u300232bit\/64bit Office\u5bfe\u5fdc\u306e\u5ba3\u8a00\u65b9\u6cd5\u3001\u73fe\u5834\u3067\u30cf\u30de\u308a\u3084\u3059\u3044\u843d\u3068\u3057\u7a74\u3001\u305d\u3057\u3066\u30de\u30af\u30ed\u8abf\u6574\u3092\u975e\u30a8\u30f3\u30b8\u30cb\u30a2\u304cAI\u306b\u4efb\u305b\u308b\u65b9\u6cd5\u307e\u3067\u3001\u5f0a\u793e\u306e\u5b9f\u904b\u7528\u30c7\u30fc\u30bf\u3092\u3082\u3068\u306b\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n","protected":false},"author":1,"featured_media":25316,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"sitemap_hide":"","_veu_custom_css":"","vkexunit_cta_each_option":"","footnotes":"","rank_math_description":"VBA\u30de\u30af\u30ed\u306e\u51e6\u7406\u3092\u4e00\u6642\u505c\u6b62\u3055\u305b\u308bSleep\u95a2\u6570(Windows API\u5ba3\u8a00)\u3068Application.Wait\u30e1\u30bd\u30c3\u30c9\u306e\u6b63\u3057\u3044\u66f8\u304d\u65b9\u3092\u89e3\u8aac\u300232bit\/64bit Office\u5bfe\u5fdc\u306e\u5ba3\u8a00\u65b9\u6cd5\u3001\u73fe\u5834\u3067\u30cf\u30de\u308a\u3084\u3059\u3044\u843d\u3068\u3057\u7a74\u3001\u305d\u3057\u3066\u30de\u30af\u30ed\u8abf\u6574\u3092\u975e\u30a8\u30f3\u30b8\u30cb\u30a2\u304cAI\u306b\u4efb\u305b\u308b\u65b9\u6cd5\u307e\u3067\u3001\u5f0a\u793e\u306e\u5b9f\u904b\u7528\u30c7\u30fc\u30bf\u3092\u3082\u3068\u306b\u7d39\u4ecb\u3057\u307e\u3059\u3002","rank_math_focus_keyword":"VBA Sleep","rank_math_title":"\u30102026\u5e748\u6708\u6700\u65b0\u3011VBA\u306eSleep\u95a2\u6570(API)\u3068Application.Wait\u3067\u51e6\u7406\u3092\u6b62\u3081\u308b\u65b9\u6cd5\uff5c32bit\/64bit\u5bfe\u5fdc\u306e\u6b63\u3057\u3044\u66f8\u304d\u65b9","pending_rewrite_html":"","pending_rewrite_id":"","pending_rewrite_kw":"","pending_rewrite_at":"","pending_rewrite_source":"","pending_rewrite_brief":"","pending_rewrite_evidence":"","approved_rewrite_html":"","approved_rewrite_id":"","approved_rewrite_kw":"","approved_rewrite_at":"","approved_rewrite_by":"","approved_rewrite_brief":"","approved_rewrite_evidence":"","rewrite_tracker_baseline":"","rewrite_tracker_7day":"","rewrite_tracker_14day":"","rewrite_tracker_30day":"","rewrite_tracker_notified":""},"categories":[3],"tags":[],"class_list":["post-25314","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ai-automation"],"_links":{"self":[{"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/posts\/25314","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=25314"}],"version-history":[{"count":2,"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/posts\/25314\/revisions"}],"predecessor-version":[{"id":26118,"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/posts\/25314\/revisions\/26118"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/media\/25316"}],"wp:attachment":[{"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/media?parent=25314"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/categories?post=25314"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/tags?post=25314"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}