{"id":1931,"date":"2019-05-22T22:42:58","date_gmt":"2019-05-22T13:42:58","guid":{"rendered":"https:\/\/thirtiesprogrammer.com\/?p=1931"},"modified":"2019-05-22T22:42:58","modified_gmt":"2019-05-22T13:42:58","slug":"excelvba%e3%82%92%e5%ad%a6%e3%82%93%e3%81%a7%e6%97%a5%e3%80%85%e3%81%ae%e3%83%ab%e3%83%bc%e3%83%81%e3%83%b3%e3%83%af%e3%83%bc%e3%82%af%e3%82%92%e8%87%aa%e5%8b%95%e5%8c%96%e3%81%97%e3%81%be%e3%81%97","status":"publish","type":"post","link":"https:\/\/thirtiesprogrammer.com\/?p=1931","title":{"rendered":"ExcelVBA\u3092\u5b66\u3093\u3067\u65e5\u3005\u306e\u30eb\u30fc\u30c1\u30f3\u30ef\u30fc\u30af\u3092\u81ea\u52d5\u5316\u3057\u307e\u3057\u305f"},"content":{"rendered":"<p><img class=\"aligncenter wp-image-1953\" src=\"https:\/\/thirtiesprogrammer.com\/wp\/wp-content\/uploads\/2019\/05\/aFfY6WgJoRWuiCm1558529116_1558529251.jpg\" alt=\"ExcelVBA\u3092\u5b66\u3093\u3067\u65e5\u3005\u306e\u30eb\u30fc\u30c1\u30f3\u30ef\u30fc\u30af\u3092\u81ea\u52d5\u5316\u3057\u305f\" width=\"800\" height=\"600\" srcset=\"https:\/\/thirtiesprogrammer.com\/wp\/wp-content\/uploads\/2019\/05\/aFfY6WgJoRWuiCm1558529116_1558529251.jpg 1000w, https:\/\/thirtiesprogrammer.com\/wp\/wp-content\/uploads\/2019\/05\/aFfY6WgJoRWuiCm1558529116_1558529251-300x225.jpg 300w, https:\/\/thirtiesprogrammer.com\/wp\/wp-content\/uploads\/2019\/05\/aFfY6WgJoRWuiCm1558529116_1558529251-768x576.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/p>\n<p>\u79c1\u304c\u793e\u4f1a\u4eba\u306b\u306a\u3063\u3066\u52c9\u5f37\u3057\u305f\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u306f<span class=\"huto\">ExcelVBA<\/span>\u3067\u3059\u3002<\/p>\n<p>\u30aa\u30d5\u30a3\u30b9\u30ef\u30fc\u30af\u306b\u306f\u4f55\u304b\u3068Excel\u3092\u5fc5\u8981\u3068\u3059\u308b\u5834\u9762\u304c\u3042\u308a\u3001\u79c1\u3082\u305d\u306e\u4e00\u4eba\u3067\u3057\u305f\u3002<\/p>\n<div id=\"toc_container\" class=\"toc_light_blue no_bullets\"><p class=\"toc_title\">\u76ee\u6b21<\/p><ul class=\"toc_list\"><li><a href=\"#ExcelVBA\"><span class=\"toc_number toc_depth_1\">1<\/span> ExcelVBA\u3067\u30d1\u30bd\u30b3\u30f3\u306b\u30eb\u30fc\u30c1\u30f3\u30ef\u30fc\u30af\u3092\u4efb\u305b\u305f\u3044<\/a><\/li><li><a href=\"#VBA\"><span class=\"toc_number toc_depth_1\">2<\/span> VBA\u306f\u5fc5\u8981\u306b\u8feb\u3089\u308c\u3066\u5b66\u3093\u3060<\/a><\/li><li><a href=\"#i\"><span class=\"toc_number toc_depth_1\">3<\/span> \u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306f\u4f55\u3092\u4f5c\u308a\u305f\u3044\u304b\u304c\u6700\u512a\u5148<\/a><\/li><li><a href=\"#i-2\"><span class=\"toc_number toc_depth_1\">4<\/span> \u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u306e\u63a2\u3057\u65b9<\/a><\/li><li><a href=\"#i-3\"><span class=\"toc_number toc_depth_1\">5<\/span> \u307e\u3068\u3081<\/a><\/li><\/ul><\/div>\n\n<h2><span id=\"ExcelVBA\">ExcelVBA\u3067\u30d1\u30bd\u30b3\u30f3\u306b\u30eb\u30fc\u30c1\u30f3\u30ef\u30fc\u30af\u3092\u4efb\u305b\u305f\u3044<\/span><\/h2>\n<p>Excel\u306b\u9650\u3089\u305a\u3001\u65e5\u3005\u4f55\u3089\u304b\u306e\u30c4\u30fc\u30eb\u3092\u4f7f\u3063\u3066\u4f5c\u696d\u3059\u308b\u3068\u3044\u3046\u306e\u306f\u3001\u5f80\u3005\u306b\u3057\u3066<span class=\"huto\">\u30eb\u30fc\u30c1\u30f3\u30ef\u30fc\u30af<\/span>\u304c\u542b\u307e\u308c\u3066\u3044\u308b\u3053\u3068\u304c\u591a\u3044\u3067\u3059\u3002<\/p>\n<p>\u30eb\u30fc\u30c1\u30f3\u30ef\u30fc\u30af\u3068\u306f\u3001\u6c7a\u307e\u3063\u305f\u51e6\u7406\u306e\u7e70\u308a\u8fd4\u3057\u3067\u3042\u308a\u3001\u305d\u308c\u3089\u306f\u4eba\u9593\u304c\u3059\u308b\u3088\u308a\u30d7\u30ed\u30b0\u30e9\u30e0\u306b\u4efb\u305b\u305f\u307b\u3046\u304c\u52b9\u7387\u7684\u3067\u6b63\u78ba\u3067\u3059\u3002<\/p>\n<p>\u305d\u3057\u3066\u3001\u30d1\u30bd\u30b3\u30f3\u306b\u3053\u308c\u3089\u306e\u4f5c\u696d\u3092\u3055\u305b\u308b\u70ba\u306e\u4ed5\u7d44\u307f\u4f5c\u308a\u304c\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3067\u3042\u308a\u3001Excel\u3067\u3042\u308c\u3070\u5fc5\u7136\u7684\u306bVBA\u3092\u4f7f\u3046\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<h2><span id=\"VBA\">VBA\u306f\u5fc5\u8981\u306b\u8feb\u3089\u308c\u3066\u5b66\u3093\u3060<\/span><\/h2>\n<p><img class=\"aligncenter size-full wp-image-1955\" src=\"https:\/\/thirtiesprogrammer.com\/wp\/wp-content\/uploads\/2019\/05\/b949db840ffb2268177f00ec0676bde3_s.jpg\" alt=\"\" width=\"640\" height=\"427\" srcset=\"https:\/\/thirtiesprogrammer.com\/wp\/wp-content\/uploads\/2019\/05\/b949db840ffb2268177f00ec0676bde3_s.jpg 640w, https:\/\/thirtiesprogrammer.com\/wp\/wp-content\/uploads\/2019\/05\/b949db840ffb2268177f00ec0676bde3_s-300x200.jpg 300w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>\u79c1\u306e\u5834\u5408\u306fVBA\u3092\u5b66\u307c\u3046\u3068\u601d\u3063\u3066\u5b66\u3093\u3060\u3068\u3044\u3046\u3088\u308a\u3001\u4ed5\u4e8b\u3067\u5fc5\u8981\u3060\u304b\u3089(\u81ea\u5206\u81ea\u8eab\u304c\u697d\u3092\u3057\u305f\u304b\u3044\u304b\u3089)\u5b66\u3093\u3060\u3068\u3044\u3046\u8a00\u3044\u65b9\u304c\u6b63\u78ba\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n<p>\u5b8c\u5168\u306a\u72ec\u5b66\u3067\u3057\u305f\u304c\u3001VBA\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306e\u66f8\u304d\u65b9\u306f\u307b\u3068\u3093\u3069<span class=\"huto\">\u30cd\u30c3\u30c8\u4e0a\u306b\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u304c\u3042\u308a\u307e\u3057\u305f<\/span>\u3002<\/p>\n<p>\u3067\u3059\u306e\u3067\u3001\u305d\u308c\u3089\u306e\u624b\u6cd5\u3084\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b3\u30fc\u30c9\u3092\u8aad\u307f\u89e3\u304d\u3001\u81ea\u8eab\u304c\u4f5c\u6210\u3057\u3088\u3046\u3068\u3059\u308b\u3082\u306e\u306b\u53d6\u308a\u5165\u308c\u308b\u3053\u3068\u3067\u3001\u81ea\u5206\u304c\u5fc5\u8981\u3068\u3059\u308b\u30c4\u30fc\u30eb\u3092\u5b8c\u6210\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n<p>&nbsp;<\/p>\n<h2><span id=\"i\">\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306f\u4f55\u3092\u4f5c\u308a\u305f\u3044\u304b\u304c\u6700\u512a\u5148<\/span><\/h2>\n<p><img class=\"aligncenter size-full wp-image-1958\" src=\"https:\/\/thirtiesprogrammer.com\/wp\/wp-content\/uploads\/2019\/05\/8554cd229253247b495453b64c53466d_s.jpg\" alt=\"\" width=\"640\" height=\"480\" srcset=\"https:\/\/thirtiesprogrammer.com\/wp\/wp-content\/uploads\/2019\/05\/8554cd229253247b495453b64c53466d_s.jpg 640w, https:\/\/thirtiesprogrammer.com\/wp\/wp-content\/uploads\/2019\/05\/8554cd229253247b495453b64c53466d_s-300x225.jpg 300w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>\u300c\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\uff1d\u8a00\u8a9e\u3092\u7fd2\u5f97\u3059\u308b\u300d<\/p>\n<p>\u3068\u304b<\/p>\n<p>\u300c\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\uff1d\u4f5c\u6cd5\u3092\u7fd2\u5f97\u3059\u308b\u300d<\/p>\n<p>\u306a\u3069\u3068\u8003\u3048\u304c\u3061\u3067\u3059\u304c\u3001\u79c1\u306e\u898b\u89e3\u306f\u3001\u305d\u306e\u3088\u3046\u306a\u3082\u306e\u306f\u300c\u5f8c\u56de\u3057\u3067\u3088\u3044\u300d\u3067\u3057\u305f\u3002<\/p>\n<div class=\"yellowbox\">\n<p>\u4f55\u3092\u4f5c\u308a\u305f\u3044\u306e\u304b\uff1f<\/p>\n<p>\u3069\u306e\u3088\u3046\u306a\u4f5c\u696d\u3092\u81ea\u52d5\u5316\u3057\u305f\u3044\u306e\u304b\uff1f<\/p>\n<p>\u3069\u306e\u3088\u3046\u306a\u4f5c\u696d\u3092\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u306b\u4efb\u305b\u305f\u3044\u306e\u304b\uff1f<\/p>\n<\/div>\n<p>\u3092\u7d19\u3068\u30da\u30f3\u3067\u66f8\u304d\u51fa\u3057\u56f3\u5f0f\u5316\u51fa\u6765\u308b\u304b\u3002<\/p>\n<p>\u3053\u308c\u304c\u6700\u3082\u91cd\u8981\u3067\u3059\u306d\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u6975\u8ad6\u3001\u3053\u306e\u4f5c\u696d\u304c\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u4f5c\u696d\u306e8\u5272\u3092\u5360\u3081\u308b\u3079\u304d\u3068\u8a00\u3063\u3066\u3082\u904e\u8a00\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<p>\u5b9f\u73fe\u3057\u305f\u3044\u52d5\u304d\u3092\u63cf\u3051\u306a\u3044\u306e\u306b\u3001\u8a00\u8a9e\u3082\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3082\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<p>\u307e\u305a\u3053\u308c\u304c\u51fa\u6765\u3066\u304b\u3089\u3001\u6a5f\u80fd\u3092\u5b9f\u73fe\u3059\u308b\u305f\u3081\u306b\u5fc5\u8981\u306a\u8a00\u8a9e\u3092\u9078\u5225\u3057\u3001\u30b3\u30fc\u30c9\u3092\u66f8\u3044\u3066\u3044\u304d\u307e\u3059\u3002\u30b3\u30fc\u30c9\u306e\u66f8\u304d\u65b9\u306f\u30cd\u30c3\u30c8\u306b\u7121\u6570\u306b\u5b58\u5728\u3057\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<h2><span id=\"i-2\">\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u306e\u63a2\u3057\u65b9<\/span><\/h2>\n<p><img class=\"aligncenter size-full wp-image-1956\" src=\"https:\/\/thirtiesprogrammer.com\/wp\/wp-content\/uploads\/2019\/05\/b0b2173d450d03de87f866d07a160fcc_s.jpg\" alt=\"\" width=\"640\" height=\"427\" srcset=\"https:\/\/thirtiesprogrammer.com\/wp\/wp-content\/uploads\/2019\/05\/b0b2173d450d03de87f866d07a160fcc_s.jpg 640w, https:\/\/thirtiesprogrammer.com\/wp\/wp-content\/uploads\/2019\/05\/b0b2173d450d03de87f866d07a160fcc_s-300x200.jpg 300w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>\u4f8b\u3048\u3070\u300c<span class=\"huto\">\u7279\u5b9a\u306e\u6587\u5b57\u3092\u5224\u5225\u3057\u3001\u305d\u306e\u884c\u6570\u3092\u53d6\u5f97\u3059\u308b\u3000VBA<\/span>\u300d\u7b49\u3068\u691c\u7d22\u3059\u308c\u3070\u3001\u305d\u306e\u30b3\u30fc\u30c9\u306f\u30d2\u30c3\u30c8\u3057\u307e\u3059\u3002<\/p>\n<p>\u82f1\u8a9e\u3092\u65e5\u672c\u8a9e\u306b\u7ffb\u8a33\u3059\u308b\u3082\u306e\u30b0\u30fc\u30b0\u30eb\u7ffb\u8a33\u3067\u51fa\u6765\u307e\u3059\u3088\u306d\u3002<\/p>\n<p>\u305d\u308c\u3068\u540c\u3058\u3067\u3059\u3002\u3053\u306e\u3088\u3046\u306b\u3057\u3066\u30b3\u30fc\u30c9\u306e\u90e8\u54c1\u3092\u53ce\u96c6\u3059\u308b\u3053\u3068\u306f\u5272\u3068\u5bb9\u6613\u3044\u3067\u3059\u3002<\/p>\n<p>\u3057\u304b\u3057\u3001\u90e8\u54c1\u3092\u3044\u304f\u3089\u53ce\u96c6\u3057\u3066\u3082\u3001\u4f55\u3092\u3069\u3046\u3057\u305f\u3044\u306e\u304b\uff1f\u3068\u3044\u3046\u8a2d\u8a08\u56f3\u304c\u51fa\u6765\u4e0a\u304c\u3063\u3066\u3044\u306a\u3044\u3068\u5b9d\u306e\u6301\u3061\u8150\u308c\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<h2><span id=\"i-3\">\u307e\u3068\u3081<\/span><\/h2>\n<p>\u300c\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306e\u52c9\u5f37\uff1d\u8a00\u8a9e\u306e\u7fd2\u5f97\u300d\u3068\u3044\u3046\u8aa4\u89e3\u306f\u6368\u3066\u3001\u3042\u308b\u4f5c\u696d\u306e\u958b\u59cb\u304b\u3089\u7d42\u4e86\u307e\u3067\u306e\u52d5\u304d\u3092\u7d19\u3068\u30da\u30f3\u3067\u63cf\u3051\u308b\u304b\u304c(\u8ce2\u3044\u4eba\u306f\u982d\u3067\u3059\u3079\u3066\u63cf\u304f\u3067\u3057\u3087\u3046)\u3001\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u6280\u8853\u306e\u8fd1\u9053\u3068\u8003\u3048\u307e\u3059\u3002<\/p>\n<p>\u300c\u8a08\u753b8\u5272\u30fb\u5b9f\u884c2\u5272\u300d\u304c\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u4f5c\u696d\u306e\u57fa\u672c\u3067\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u79c1\u304c\u793e\u4f1a\u4eba\u306b\u306a\u3063\u3066\u52c9\u5f37\u3057\u305f\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u306fExcelVBA\u3067\u3059\u3002 \u30aa\u30d5\u30a3\u30b9\u30ef\u30fc\u30af\u306b\u306f\u4f55\u304b\u3068Excel\u3092\u5fc5\u8981\u3068\u3059\u308b\u5834\u9762\u304c\u3042\u308a\u3001\u79c1\u3082\u305d\u306e\u4e00\u4eba\u3067\u3057\u305f\u3002 \u76ee\u6b211 ExcelVBA\u3067\u30d1\u30bd\u30b3\u30f3\u306b\u30eb\u30fc\u30c1\u30f3\u30ef\u30fc\u30af &#8230; <\/p>\n","protected":false},"author":1,"featured_media":1953,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[69,68],"tags":[],"_links":{"self":[{"href":"https:\/\/thirtiesprogrammer.com\/index.php?rest_route=\/wp\/v2\/posts\/1931"}],"collection":[{"href":"https:\/\/thirtiesprogrammer.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thirtiesprogrammer.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thirtiesprogrammer.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/thirtiesprogrammer.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1931"}],"version-history":[{"count":5,"href":"https:\/\/thirtiesprogrammer.com\/index.php?rest_route=\/wp\/v2\/posts\/1931\/revisions"}],"predecessor-version":[{"id":1959,"href":"https:\/\/thirtiesprogrammer.com\/index.php?rest_route=\/wp\/v2\/posts\/1931\/revisions\/1959"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/thirtiesprogrammer.com\/index.php?rest_route=\/wp\/v2\/media\/1953"}],"wp:attachment":[{"href":"https:\/\/thirtiesprogrammer.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1931"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thirtiesprogrammer.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1931"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thirtiesprogrammer.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1931"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}