{"id":10065,"date":"2022-12-06T08:50:39","date_gmt":"2022-12-05T23:50:39","guid":{"rendered":"https:\/\/extan.jp\/?p=10065"},"modified":"2023-03-08T01:02:55","modified_gmt":"2023-03-07T16:02:55","slug":"excel-vba%e3%81%a7%e8%a4%87%e6%95%b0%e3%83%96%e3%83%83%e3%82%af%e3%81%ae%e3%83%87%e3%83%bc%e3%82%bf%e3%82%921%e3%82%b7%e3%83%bc%e3%83%88%e3%81%ab%e3%81%be%e3%81%a8%e3%82%81%e3%82%8b%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/extan.jp\/?p=10065","title":{"rendered":"Excel VBA\u3067\u8907\u6570\u30d6\u30c3\u30af\u306e\u30c7\u30fc\u30bf\u30921\u30b7\u30fc\u30c8\u306b\u307e\u3068\u3081\u308b\u65b9\u6cd5"},"content":{"rendered":"<p>Excel VBA\u3067\u8907\u6570\u30d6\u30c3\u30af\u306e\u30b7\u30fc\u30c8\u30c7\u30fc\u30bf\u30921\u30b7\u30fc\u30c8\u306b\u307e\u3068\u3081\u305f\u3044\u3068\u304d\u306f\u306a\u3044\u3067\u3057\u3087\u3046\u304b\u3002<\/p>\n<p>\u3051\u3069\u3001\u305d\u3093\u306a\u4e2d\u3067\u60a9\u3080\u3053\u3068\u306f\u3001<\/p>\n<div class=\"kininarukoto1\">\u30fbExcel VBA\u3067\u8907\u6570\u30d6\u30c3\u30af\u306e\u30b7\u30fc\u30c8\u30c7\u30fc\u30bf\u30921\u30b7\u30fc\u30c8\u306b\u307e\u3068\u3081\u305f\u3044\u304c\u65b9\u6cd5\u304c\u3088\u304f\u308f\u304b\u3089\u306a\u3044<br \/>\n\u30fbExcel VBA\u3067\u30d5\u30a9\u30eb\u30c0\u306b\u3042\u308b\u8907\u6570\u30d6\u30c3\u30af\u306e\u30ea\u30b9\u30c8\u3092\u53d6\u5f97\u3057\u305f\u4e0a\u3067\u30c7\u30fc\u30bf\u3092\u96c6\u7d04\u3057\u305f\u3044\u304c\u65b9\u6cd5\u304c\u3088\u304f\u308f\u304b\u3089\u306a\u3044<\/div>\n<p>\u3067\u3059\u3088\u306d\u3002<\/p>\n<p>\u4eca\u56de\u306f\u305d\u3093\u306a\u304a\u60a9\u307f\u3092\u89e3\u6c7a\u3059\u308b<\/p>\n<div class=\"rdinfo\">\u30fbExcel VBA\u3067\u8907\u6570\u30d6\u30c3\u30af\u306e\u30b7\u30fc\u30c8\u30921\u30b7\u30fc\u30c8\u306b\u307e\u3068\u3081\u308b\u65b9\u6cd5<br \/>\n\u30fbExcel VBA\u3067\u30d5\u30a9\u30eb\u30c0\u306b\u3042\u308b\u8907\u6570\u30d6\u30c3\u30af\u306e\u30ea\u30b9\u30c8\u3092\u53d6\u5f97\u3057\u3001\u5404\u30c7\u30fc\u30bf\u30921\u30b7\u30fc\u30c8\u306b\u307e\u3068\u3081\u308b\u65b9\u6cd5<\/div>\n<p>\u306b\u3064\u3044\u3066\u307e\u3068\u3081\u307e\u3059\uff01<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_85 counter-hierarchy ez-toc-counter ez-toc-light-blue ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">\u3082\u304f\u3058<\/p>\n<span class=\"ez-toc-title-toggle\"><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/extan.jp\/?p=10065\/#Excel_VBA%E3%81%A7%E8%A4%87%E6%95%B0%E3%83%96%E3%83%83%E3%82%AF%E3%81%AE%E3%82%B7%E3%83%BC%E3%83%88%E3%83%87%E3%83%BC%E3%82%BF%E3%82%921%E3%82%B7%E3%83%BC%E3%83%88%E3%81%AB%E3%81%BE%E3%81%A8%E3%82%81%E3%82%8B%E3%82%A4%E3%83%A1%E3%83%BC%E3%82%B8\" >Excel VBA\u3067\u8907\u6570\u30d6\u30c3\u30af\u306e\u30b7\u30fc\u30c8\u30c7\u30fc\u30bf\u30921\u30b7\u30fc\u30c8\u306b\u307e\u3068\u3081\u308b\u30a4\u30e1\u30fc\u30b8<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/extan.jp\/?p=10065\/#%E3%83%87%E3%83%BC%E3%82%BF%E3%81%AE%E6%BA%96%E5%82%99\" >\u30c7\u30fc\u30bf\u306e\u6e96\u5099<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/extan.jp\/?p=10065\/#Excel_VBA%E3%81%A7%E3%83%95%E3%82%A9%E3%83%AB%E3%83%80%E3%81%AB%E3%81%82%E3%82%8B%E8%A4%87%E6%95%B0%E3%83%96%E3%83%83%E3%82%AF%E3%81%AE%E3%83%AA%E3%82%B9%E3%83%88%E3%82%92%E5%8F%96%E5%BE%97\" >Excel VBA\u3067\u30d5\u30a9\u30eb\u30c0\u306b\u3042\u308b\u8907\u6570\u30d6\u30c3\u30af\u306e\u30ea\u30b9\u30c8\u3092\u53d6\u5f97<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/extan.jp\/?p=10065\/#%E3%81%BE%E3%81%A8%E3%82%81%E7%94%A8%E3%83%96%E3%83%83%E3%82%AF%E3%82%92%E7%94%A8%E6%84%8F%E3%81%99%E3%82%8B\" >\u307e\u3068\u3081\u7528\u30d6\u30c3\u30af\u3092\u7528\u610f\u3059\u308b<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/extan.jp\/?p=10065\/#VBA%E3%82%B3%E3%83%BC%E3%83%89\" >VBA\u30b3\u30fc\u30c9<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/extan.jp\/?p=10065\/#VBA%E3%81%AE%E8%A8%AD%E5%AE%9A%E3%82%92%E3%81%99%E3%82%8B\" >VBA\u306e\u8a2d\u5b9a\u3092\u3059\u308b<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/extan.jp\/?p=10065\/#VBA%E3%82%92%E5%AE%9F%E8%A3%85%E3%81%99%E3%82%8B\" >VBA\u3092\u5b9f\u88c5\u3059\u308b<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/extan.jp\/?p=10065\/#VBA%E3%82%92%E5%AE%9F%E8%A1%8C%E3%81%99%E3%82%8B\" >VBA\u3092\u5b9f\u884c\u3059\u308b<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/extan.jp\/?p=10065\/#VBA%E3%81%AE%E8%AA%AC%E6%98%8E\" >VBA\u306e\u8aac\u660e<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/extan.jp\/?p=10065\/#Excel_VBA%E3%81%A7%E8%A4%87%E6%95%B0%E3%83%96%E3%83%83%E3%82%AF%E3%81%AE%E3%82%B7%E3%83%BC%E3%83%88%E3%83%87%E3%83%BC%E3%82%BF%E3%82%921%E3%82%B7%E3%83%BC%E3%83%88%E3%81%AB%E3%81%BE%E3%81%A8%E3%82%81%E3%82%8B\" >Excel VBA\u3067\u8907\u6570\u30d6\u30c3\u30af\u306e\u30b7\u30fc\u30c8\u30c7\u30fc\u30bf\u30921\u30b7\u30fc\u30c8\u306b\u307e\u3068\u3081\u308b<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/extan.jp\/?p=10065\/#VBA%E3%82%B3%E3%83%BC%E3%83%89-2\" >VBA\u30b3\u30fc\u30c9<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/extan.jp\/?p=10065\/#VBA%E3%81%AE%E8%A8%AD%E5%AE%9A%E3%82%92%E3%81%99%E3%82%8B-2\" >VBA\u306e\u8a2d\u5b9a\u3092\u3059\u308b<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/extan.jp\/?p=10065\/#VBA%E3%82%92%E5%AE%9F%E8%A1%8C%E3%81%99%E3%82%8B-2\" >VBA\u3092\u5b9f\u884c\u3059\u308b<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/extan.jp\/?p=10065\/#VBA%E3%81%AE%E8%AA%AC%E6%98%8E-2\" >VBA\u306e\u8aac\u660e<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/extan.jp\/?p=10065\/#VBA%E3%81%AE%E5%AE%9F%E8%A3%85%E6%89%8B%E9%A0%86\" >VBA\u306e\u5b9f\u88c5\u624b\u9806<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-16\" href=\"https:\/\/extan.jp\/?p=10065\/#VBA%E3%82%92%E5%AE%9F%E8%A1%8C%E3%81%99%E3%82%8B-3\" >VBA\u3092\u5b9f\u884c\u3059\u308b<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-17\" href=\"https:\/\/extan.jp\/?p=10065\/#%EF%BC%9C%E8%BF%BD%E5%8A%A0%EF%BC%9E%E3%82%B3%E3%83%94%E3%83%BC%E5%85%83%E3%81%AE%E3%83%96%E3%83%83%E3%82%AF%E3%82%92%E3%82%B3%E3%83%94%E3%83%BC%E5%BE%8C%E3%81%AB%E9%96%89%E3%81%98%E3%82%8B%E6%96%B9%E6%B3%95\" >\uff1c\u8ffd\u52a0\uff1e\u30b3\u30d4\u30fc\u5143\u306e\u30d6\u30c3\u30af\u3092\u30b3\u30d4\u30fc\u5f8c\u306b\u9589\u3058\u308b\u65b9\u6cd5<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-18\" href=\"https:\/\/extan.jp\/?p=10065\/#%E3%81%95%E3%81%84%E3%81%94%E3%81%AB\" >\u3055\u3044\u3054\u306b<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Excel_VBA%E3%81%A7%E8%A4%87%E6%95%B0%E3%83%96%E3%83%83%E3%82%AF%E3%81%AE%E3%82%B7%E3%83%BC%E3%83%88%E3%83%87%E3%83%BC%E3%82%BF%E3%82%921%E3%82%B7%E3%83%BC%E3%83%88%E3%81%AB%E3%81%BE%E3%81%A8%E3%82%81%E3%82%8B%E3%82%A4%E3%83%A1%E3%83%BC%E3%82%B8\"><\/span>Excel VBA\u3067\u8907\u6570\u30d6\u30c3\u30af\u306e\u30b7\u30fc\u30c8\u30c7\u30fc\u30bf\u30921\u30b7\u30fc\u30c8\u306b\u307e\u3068\u3081\u308b\u30a4\u30e1\u30fc\u30b8<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Excel VBA\u3067\u8907\u6570\u30d6\u30c3\u30af\u306e\u30b7\u30fc\u30c8\u30c7\u30fc\u30bf\u30921\u30b7\u30fc\u30c8\u306b\u307e\u3068\u3081\u308b\u30a4\u30e1\u30fc\u30b8\u306b\u3064\u3044\u3066\u8aac\u660e\u3092\u3057\u307e\u3059\u3002<\/p>\n<p>\u7279\u5b9a\u30b7\u30fc\u30c8\u306b\u30c7\u30fc\u30bf\u304c\u5165\u529b\u3055\u308c\u3066\u3044\u308b\u8907\u6570\u306eExcel\u30d6\u30c3\u30af\u3092\u7528\u610f\u3057\u307e\u3059\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10071\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/12\/120622_0732_5.png\" alt=\"\" width=\"341\" height=\"238\" srcset=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/12\/120622_0732_5.png 341w, https:\/\/extan.jp\/wp-content\/uploads\/2022\/12\/120622_0732_5-300x209.png 300w\" sizes=\"auto, (max-width: 341px) 100vw, 341px\" \/><\/p>\n<p>\u6b21\u306b\u30c7\u30fc\u30bf\u3092\u307e\u3068\u3081\u308b\u5148\u3068\u306a\u308bExcel\u30d6\u30c3\u30af\u3092\u7528\u610f\u3057\u307e\u3059\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10069\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/12\/120622_0732_3.png\" alt=\"\" width=\"343\" height=\"61\" srcset=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/12\/120622_0732_3.png 343w, https:\/\/extan.jp\/wp-content\/uploads\/2022\/12\/120622_0732_3-300x53.png 300w\" sizes=\"auto, (max-width: 343px) 100vw, 343px\" \/><\/p>\n<p>VBA\u3092\u5b9f\u884c\u3059\u308b\u3068<\/p>\n<p>\u307e\u305a\u3001\u30d5\u30a9\u30eb\u30c0\u306b\u3042\u308b\u30d6\u30c3\u30af\u306e\u30ea\u30b9\u30c8\u304c\u53ce\u96c6\u3055\u308c\u307e\u3059\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10068\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/12\/120622_0732_2.png\" alt=\"\" width=\"878\" height=\"207\" srcset=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/12\/120622_0732_2.png 878w, https:\/\/extan.jp\/wp-content\/uploads\/2022\/12\/120622_0732_2-300x71.png 300w, https:\/\/extan.jp\/wp-content\/uploads\/2022\/12\/120622_0732_2-768x181.png 768w, https:\/\/extan.jp\/wp-content\/uploads\/2022\/12\/120622_0732_2-718x169.png 718w\" sizes=\"auto, (max-width: 878px) 100vw, 878px\" \/><\/p>\n<p>\u6b21\u306bVBA\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u30ea\u30b9\u30c8\u306b\u6cbf\u3063\u3066\u30b3\u30d4\u30fc\u5143\u306e\u30d6\u30c3\u30af\u304c\u958b\u304b\u308c\u3001<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10072\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/12\/120622_0732_6.png\" alt=\"\" width=\"823\" height=\"411\" srcset=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/12\/120622_0732_6.png 823w, https:\/\/extan.jp\/wp-content\/uploads\/2022\/12\/120622_0732_6-300x150.png 300w, https:\/\/extan.jp\/wp-content\/uploads\/2022\/12\/120622_0732_6-768x384.png 768w, https:\/\/extan.jp\/wp-content\/uploads\/2022\/12\/120622_0732_6-718x359.png 718w\" sizes=\"auto, (max-width: 823px) 100vw, 823px\" \/><\/p>\n<p>\u30c7\u30fc\u30bf\u307e\u3068\u3081\u5148\u306eExcel\u30d6\u30c3\u30af\u306e\u30b7\u30fc\u30c8\u3078\u30b3\u30d4\u30fc\u3055\u308c\u3066\u3044\u304d\u307e\u3059\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10070\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/12\/120622_0732_4.png\" alt=\"\" width=\"335\" height=\"327\" srcset=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/12\/120622_0732_4.png 335w, https:\/\/extan.jp\/wp-content\/uploads\/2022\/12\/120622_0732_4-300x293.png 300w\" sizes=\"auto, (max-width: 335px) 100vw, 335px\" \/><\/p>\n<p>\u3053\u306e\u51e6\u7406\u3092\u30d5\u30a9\u30eb\u30c0\u306b\u3042\u308bExcel\u30d6\u30c3\u30af\u5206\u7e70\u308a\u8fd4\u3057\u3066\u3001\u5b8c\u6210\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><!--\u5439\u304d\u51fa\u3057\u306f\u3058\u307e\u308a--><\/p>\n<div class=\"balloon5\">\n<div class=\"faceicon\">\n<img loading=\"lazy\" decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/11\/taka_kao.gif\" alt=\"\u30bf\u30ab\u30d2\u30ed\" width=\"110\" height=\"110\" \/>\n<div class=\"faceiconfont\">\u30bf\u30ab\u30d2\u30ed<\/div>\n<\/div>\n<div class=\"chatting\">\n<div class=\"says\">\u6bce\u6708\u306e\u30c7\u30fc\u30bf\u304c\u3042\u308b\u30d6\u30c3\u30af\u3092\u56db\u534a\u671f\u3084\u5e74\u6b21\u3067\u307e\u3068\u3081\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044\u5834\u5408\u306b\u3068\u3066\u3082\u91cd\u5b9d\u3059\u308b\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/div>\n<\/div>\n<\/div>\n<p><!--\u5439\u304d\u51fa\u3057\u7d42\u308f\u308a--><\/p>\n<h2><span class=\"ez-toc-section\" id=\"%E3%83%87%E3%83%BC%E3%82%BF%E3%81%AE%E6%BA%96%E5%82%99\"><\/span>\u30c7\u30fc\u30bf\u306e\u6e96\u5099<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u307e\u305a\u306f\u30c7\u30fc\u30bf\u306e\u6e96\u5099\u3092\u3057\u307e\u3057\u3087\u3046\u3002<br \/>\n\u7279\u5b9a\u30b7\u30fc\u30c8\u306b\u30c7\u30fc\u30bf\u304c\u5165\u529b\u3055\u308c\u3066\u3044\u308b\u8907\u6570\u306eExcel\u30d6\u30c3\u30af\u3092\u7528\u610f\u3057\u3001<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10072\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/12\/120622_0732_6.png\" alt=\"\" width=\"823\" height=\"411\" srcset=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/12\/120622_0732_6.png 823w, https:\/\/extan.jp\/wp-content\/uploads\/2022\/12\/120622_0732_6-300x150.png 300w, https:\/\/extan.jp\/wp-content\/uploads\/2022\/12\/120622_0732_6-768x384.png 768w, https:\/\/extan.jp\/wp-content\/uploads\/2022\/12\/120622_0732_6-718x359.png 718w\" sizes=\"auto, (max-width: 823px) 100vw, 823px\" \/><\/p>\n<p>\u30d5\u30a9\u30eb\u30c0\u306b\u683c\u7d0d\u3057\u307e\u3059\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10071\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/12\/120622_0732_5.png\" alt=\"\" width=\"341\" height=\"238\" srcset=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/12\/120622_0732_5.png 341w, https:\/\/extan.jp\/wp-content\/uploads\/2022\/12\/120622_0732_5-300x209.png 300w\" sizes=\"auto, (max-width: 341px) 100vw, 341px\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Excel_VBA%E3%81%A7%E3%83%95%E3%82%A9%E3%83%AB%E3%83%80%E3%81%AB%E3%81%82%E3%82%8B%E8%A4%87%E6%95%B0%E3%83%96%E3%83%83%E3%82%AF%E3%81%AE%E3%83%AA%E3%82%B9%E3%83%88%E3%82%92%E5%8F%96%E5%BE%97\"><\/span>Excel VBA\u3067\u30d5\u30a9\u30eb\u30c0\u306b\u3042\u308b\u8907\u6570\u30d6\u30c3\u30af\u306e\u30ea\u30b9\u30c8\u3092\u53d6\u5f97<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Excel VBA\u3067\u30d5\u30a9\u30eb\u30c0\u306b\u3042\u308b\u8907\u6570\u30d6\u30c3\u30af\u306e\u30ea\u30b9\u30c8\u3092\u53d6\u5f97\u3057\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<h3><span class=\"ez-toc-section\" id=\"%E3%81%BE%E3%81%A8%E3%82%81%E7%94%A8%E3%83%96%E3%83%83%E3%82%AF%E3%82%92%E7%94%A8%E6%84%8F%E3%81%99%E3%82%8B\"><\/span>\u307e\u3068\u3081\u7528\u30d6\u30c3\u30af\u3092\u7528\u610f\u3059\u308b<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u307e\u3068\u3081\u7528\u30d6\u30c3\u30af\u3092\u7528\u610f\u3057\u307e\u3059\u3002\u30b7\u30fc\u30c8\u540d\u306f\u300c\u30b3\u30d4\u30fc\u5143\u30d6\u30c3\u30af\u4e00\u89a7\u300d\u3068\u3057\u307e\u3059\u3002<\/p>\n<p>\u307e\u305f\u30b3\u30d4\u30fc\u5148\u306e\u30b7\u30fc\u30c8\u3082\u7528\u610f\u3057\u307e\u3059\u3002\u30b7\u30fc\u30c8\u540d\u306f\u300c\u5225\u30d6\u30c3\u30af\u30c7\u30fc\u30bf\u96c6\u7d04\u300d\u3068\u3057\u307e\u3059\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10069\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/12\/120622_0732_3.png\" alt=\"\" width=\"343\" height=\"61\" srcset=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/12\/120622_0732_3.png 343w, https:\/\/extan.jp\/wp-content\/uploads\/2022\/12\/120622_0732_3-300x53.png 300w\" sizes=\"auto, (max-width: 343px) 100vw, 343px\" \/><\/p>\n<h3><span class=\"ez-toc-section\" id=\"VBA%E3%82%B3%E3%83%BC%E3%83%89\"><\/span>VBA\u30b3\u30fc\u30c9<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>VBA\u30b3\u30fc\u30c9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<pre style=\"padding: 0;\"><code class=\"language-visual-basic line-numbers\">Sub \u30d5\u30a9\u30eb\u30c0\u5185\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3084\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u3092\u53d6\u5f97()\n    \n    Dim intIchi As Integer\n    Dim strFolderpass As String\n    Dim objfFSO As Object\n    Dim objFiles As Object\n    Dim objFile As Object\n    \n    \n    &#039;\u30d5\u30a1\u30a4\u30eb\u540d\u4e00\u89a7\u3092\u51fa\u529b\u3059\u308b\u884c\u756a\u53f7\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\n    intIchi = 3\n    \n    &#039;\u5bfe\u8c61\u30d5\u30a9\u30eb\u30c0\u306e\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u304c\u3042\u308b\u30bb\u30eb\u3092\u6307\u5b9a\u3057\u3001\u5024\u3092\u4ee3\u5165\u3057\u307e\u3059\u3002\n    strFolderpass = Range(&quot;B1&quot;).Value\n    \n    &#039;\u6307\u5b9a\u7bc4\u56f2\u306e\u5024\u3092\u30af\u30ea\u30a2\u3057\u307e\u3059\u3002\n    Range(&quot;A3:B10000&quot;).Clear\n    \n    \n    &#039;\u5bfe\u8c61\u30d5\u30a9\u30eb\u30c0\u306e\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u306e\u5024\u304c\u3042\u308c\u3070\u51e6\u7406\u3092\u304a\u3053\u306a\u3044\u307e\u3059\u3002\n    If strFolderpass = &quot;&quot; Then\n        MsgBox &quot;\u5bfe\u8c61\u30d5\u30a9\u30eb\u30c0\u306e\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u304c\u3042\u308a\u307e\u305b\u3093\u3002\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002&quot;\n    Else\n    \n        &#039;FileSystemObject\u306f\u30d5\u30a1\u30a4\u30eb\u3084\u30d5\u30a9\u30eb\u30c0\u3092\u64cd\u4f5c\u3059\u308b\u5c02\u7528\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3067\u3059\uff61\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306b\u30bb\u30c3\u30c8\u3057\u307e\u3059\u3002\n        Set objfFSO = CreateObject(&quot;Scripting.FileSystemObject&quot;)\n    \n        &#039;\u5bfe\u8c61\u30d5\u30a9\u30eb\u30c0\u306e\u30d5\u30a1\u30a4\u30eb\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u30bb\u30c3\u30c8\u3057\u307e\u3059\u3002\n        Set objFiles = objfFSO.GetFolder(strFolderpass).Files\n        \n        &#039;\u30d5\u30a1\u30a4\u30eb\u60c5\u5831\u3092\u51fa\u529b\u3057\u307e\u3059\u3002\n        For Each objFile In objFiles\n            Cells(intIchi, 1) = objFile.Name\n            Cells(intIchi, 2) = objFile.Path\n            intIchi = intIchi + 1\n        Next objFile\n    \n    End If\n    \n    Set objfFSO = Nothing\n    Set objFiles = Nothing\n    Set objFile = Nothing\n\nEnd Sub<\/code><\/pre>\n<h3><span class=\"ez-toc-section\" id=\"VBA%E3%81%AE%E8%A8%AD%E5%AE%9A%E3%82%92%E3%81%99%E3%82%8B\"><\/span>VBA\u306e\u8a2d\u5b9a\u3092\u3059\u308b<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>VBA\u306e\u8a2d\u5b9a\u306b\u3064\u3044\u3066\u8aac\u660e\u3092\u3057\u307e\u3059\u3002<\/p>\n<p>\u30d5\u30a1\u30a4\u30eb\u540d\u4e00\u89a7\u3092\u51fa\u529b\u3059\u308b\u884c\u756a\u53f7\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<br \/>\n\u4eca\u56de\u306f3\u884c\u76ee\u6307\u5b9a\u3068\u3057\u307e\u3059\u3002<\/p>\n<div class=\"info\"><code>intIchi = 3<\/code><\/div>\n<p>\u5bfe\u8c61\u30d5\u30a9\u30eb\u30c0\u306e\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u304c\u3042\u308b\u30bb\u30eb\u3092\u6307\u5b9a\u3057\u3001\u5024\u3092\u4ee3\u5165\u3057\u307e\u3059\u3002<br \/>\nB1\u30bb\u30eb\u4ee5\u5916\u306b\u30d1\u30b9\u3092\u8a18\u8f09\u3057\u305f\u3044\u5834\u5408\u306f\u5909\u66f4\u3092\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<div class=\"info\"><code>strFolderpass = Range(&quot;B1&quot;).Value<\/code><\/div>\n<p>\u6307\u5b9a\u7bc4\u56f2\u306e\u5024\u3092\u30af\u30ea\u30a2\u3057\u307e\u3059\u3002<br \/>\n\u884c\u6570\u304c\uff11\u4e07\u4ef6\u4ee5\u4e0a\u3042\u308b\u5834\u5408\u306f\u5909\u66f4\u3092\u3057\u3066\u304f\u3060\u3055\u3044\u3002\uff11\u4e07\u4ef6\u4ee5\u5185\u3067\u3042\u308c\u3070\u305d\u306e\u307e\u307e\u3067\u7d50\u69cb\u3067\u3059\u3002<\/p>\n<div class=\"info\"><code>Range(&quot;A3:B10000&quot;).Clear<\/code><\/div>\n<h3><span class=\"ez-toc-section\" id=\"VBA%E3%82%92%E5%AE%9F%E8%A3%85%E3%81%99%E3%82%8B\"><\/span>VBA\u3092\u5b9f\u88c5\u3059\u308b<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>VBA\u306e\u5b9f\u88c5\u65b9\u6cd5\u306b\u3064\u3044\u3066\u306f<br \/>\nVBA\u306e\u5b9f\u88c5\u624b\u9806<br \/>\n\u3092\u3054\u53c2\u7167\u304f\u3060\u3055\u3044\u3002<\/p>\n<h3><span class=\"ez-toc-section\" id=\"VBA%E3%82%92%E5%AE%9F%E8%A1%8C%E3%81%99%E3%82%8B\"><\/span>VBA\u3092\u5b9f\u884c\u3059\u308b<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>B1\u30bb\u30eb\u306b\u30d6\u30c3\u30af\u304c\u683c\u7d0d\u3055\u308c\u3066\u3044\u308b\u30d5\u30a9\u30eb\u30c0\u306e\u30d1\u30b9\u3092\u8a18\u8f09\u3057\u307e\u3059\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10067\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/12\/120622_0732_1.png\" alt=\"\" width=\"894\" height=\"192\" srcset=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/12\/120622_0732_1.png 894w, https:\/\/extan.jp\/wp-content\/uploads\/2022\/12\/120622_0732_1-300x64.png 300w, https:\/\/extan.jp\/wp-content\/uploads\/2022\/12\/120622_0732_1-768x165.png 768w, https:\/\/extan.jp\/wp-content\/uploads\/2022\/12\/120622_0732_1-718x154.png 718w\" sizes=\"auto, (max-width: 894px) 100vw, 894px\" \/><\/p>\n<p>VBA\u3092\u5b9f\u884c\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<br \/>\n\u300c\u30d5\u30a9\u30eb\u30c0\u5185\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3084\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u3092\u53d6\u5f97\u300d\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<p>\u306f\u3044\uff01\uff13\u884c\u76ee\u4ee5\u964d\u306b\u30d6\u30c3\u30af\u306e\u30d6\u30c3\u30af\u540d\u3068\u30d1\u30b9\u304c\u51fa\u529b\u3055\u308c\u307e\u3057\u305f\u306d\uff01<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10068\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/12\/120622_0732_2.png\" alt=\"\" width=\"878\" height=\"207\" srcset=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/12\/120622_0732_2.png 878w, https:\/\/extan.jp\/wp-content\/uploads\/2022\/12\/120622_0732_2-300x71.png 300w, https:\/\/extan.jp\/wp-content\/uploads\/2022\/12\/120622_0732_2-768x181.png 768w, https:\/\/extan.jp\/wp-content\/uploads\/2022\/12\/120622_0732_2-718x169.png 718w\" sizes=\"auto, (max-width: 878px) 100vw, 878px\" \/><\/p>\n<h3><span class=\"ez-toc-section\" id=\"VBA%E3%81%AE%E8%AA%AC%E6%98%8E\"><\/span>VBA\u306e\u8aac\u660e<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>VBA\u306e\u5185\u5bb9\u306b\u3064\u3044\u3066\u306f\u4ee5\u4e0b\u8a18\u4e8b\u3092\u3054\u53c2\u7167\u304f\u3060\u3055\u3044\u3002<\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"1MYzlhHKqX\"><p><a href=\"https:\/\/extan.jp\/?p=5026\">\u3010Excel VBA\u3011\u30d5\u30a9\u30eb\u30c0\u5185\u306e\u30d5\u30a9\u30eb\u30c0\u540d\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5\uff01\u30b5\u30d6\u30d5\u30a9\u30eb\u30c0\u540d\u3082\u53d6\u5f97\u53ef\uff01<\/a><\/p><\/blockquote>\n<p><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;\u3010Excel VBA\u3011\u30d5\u30a9\u30eb\u30c0\u5185\u306e\u30d5\u30a9\u30eb\u30c0\u540d\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5\uff01\u30b5\u30d6\u30d5\u30a9\u30eb\u30c0\u540d\u3082\u53d6\u5f97\u53ef\uff01&#8221; &#8212; \u30a8\u30af\u77ed\uff5cExtan.jp\" src=\"https:\/\/extan.jp\/?p=5026&#038;embed=true#?secret=e52rtInq5m#?secret=1MYzlhHKqX\" data-secret=\"1MYzlhHKqX\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Excel_VBA%E3%81%A7%E8%A4%87%E6%95%B0%E3%83%96%E3%83%83%E3%82%AF%E3%81%AE%E3%82%B7%E3%83%BC%E3%83%88%E3%83%87%E3%83%BC%E3%82%BF%E3%82%921%E3%82%B7%E3%83%BC%E3%83%88%E3%81%AB%E3%81%BE%E3%81%A8%E3%82%81%E3%82%8B\"><\/span>Excel VBA\u3067\u8907\u6570\u30d6\u30c3\u30af\u306e\u30b7\u30fc\u30c8\u30c7\u30fc\u30bf\u30921\u30b7\u30fc\u30c8\u306b\u307e\u3068\u3081\u308b<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Excel VBA\u3067\u8907\u6570\u30d6\u30c3\u30af\u306e\u30b7\u30fc\u30c8\u30c7\u30fc\u30bf\u30921\u30b7\u30fc\u30c8\u306b\u307e\u3068\u3081\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<h3><span class=\"ez-toc-section\" id=\"VBA%E3%82%B3%E3%83%BC%E3%83%89-2\"><\/span>VBA\u30b3\u30fc\u30c9<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>VBA\u30b3\u30fc\u30c9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<pre style=\"padding: 0;\"><code class=\"language-visual-basic line-numbers\">Sub \u5404\u30d6\u30c3\u30af\u306e\u30b7\u30fc\u30c8\u306e\u30c7\u30fc\u30bf\u3092\u307e\u3068\u3081\u7528\u30d6\u30c3\u30af\u3078\u30b3\u30d4\u30fc\u3059\u308b()\n\n    Dim objWorkbook As Workbook\n    Dim i As Integer\n    Dim strBookList As Variant\n    Dim intLastRowNum As Integer\n    Dim intLastRowNum2 As Integer\n    Dim intLastRowNum3 As Integer\n    Dim strCopyMotoListSheetName As String\n    Dim strCopyMotoSheetName As String\n    Dim strCopySakiSheetName As String\n    \n    &#039;\u30b3\u30d4\u30fc\u5143\u30d6\u30c3\u30af\u4e00\u89a7\u304c\u3042\u308b\u30b7\u30fc\u30c8\u540d\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\n    strCopyMotoListSheetName = &quot;\u30b3\u30d4\u30fc\u5143\u30d6\u30c3\u30af\u4e00\u89a7&quot;\n    \n    &#039;\u30b3\u30d4\u30fc\u5143\u30d6\u30c3\u30af\u306e\u30b7\u30fc\u30c8\u540d\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\n    strCopyMotoSheetName = &quot;Sheet1&quot;\n\n    &#039;\u30b3\u30d4\u30fc\u5148\u306e\u30b7\u30fc\u30c8\u540d\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\n    strCopySakiSheetName = &quot;\u5225\u30d6\u30c3\u30af\u30c7\u30fc\u30bf\u96c6\u7d04&quot;\n\n    With ThisWorkbook\n        &#039;B\u5217\u3092\u5bfe\u8c61\u306b\u6700\u7d42\u884c\u6570\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002\n        intLastRowNum = .Sheets(strCopyMotoListSheetName).Cells(Rows.Count, 2).End(xlUp).Row\n\n        &#039;\u30b3\u30d4\u30fc\u5143\u30d6\u30c3\u30af\u4e00\u89a7\u304c\u3042\u308b\u30b7\u30fc\u30c8\u306e\uff13\u884c\u76ee\u304b\u3089\u30d1\u30b9\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002\n        For i = 3 To intLastRowNum\n            \n            &#039;\u30b3\u30d4\u30fc\u5143\u30d6\u30c3\u30af\u30d1\u30b9\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002\n            strBookList = .Sheets(strCopyMotoListSheetName).Cells(i, 2).Value\n            \n            &#039;\u30b3\u30d4\u30fc\u5143\u30d6\u30c3\u30af\u3092\u958b\u304d\u307e\u3059\u3002\n            Set objWorkbook = Workbooks.Open(strBookList)\n            \n            With objWorkbook.Sheets(strCopyMotoSheetName)\n                &#039;\u30b3\u30d4\u30fc\u5143\u30d6\u30c3\u30af\u306eA\u5217\u3092\u5bfe\u8c61\u306b\u6700\u7d42\u884c\u6570\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002\n                intLastRowNum2 = .Cells(Rows.Count, 1).End(xlUp).Row\n                \n                &#039;\u30b3\u30d4\u30fc\u5143\u30d6\u30c3\u30af\u306e\u30bb\u30eb\u7bc4\u56f2\u3092\u30b3\u30d4\u30fc\u3057\u307e\u3059\u3002\u30b3\u30d4\u30fc\u306e\u7bc4\u56f2\u3092\u5909\u66f4\u3059\u308b\u5834\u5408\u306f\u8a2d\u5b9a\u3092\u5909\u3048\u3066\u304f\u3060\u3055\u3044\u3002\n                .Range(&quot;A2:C&quot; &amp; intLastRowNum2).Copy\n                \n            End With\n            \n            &#039;\u30b3\u30d4\u30fc\u5148\u306e\u30b7\u30fc\u30c8A\u5217\u3092\u5bfe\u8c61\u306b\u6700\u7d42\u884c\u6570\u3092\u53d6\u5f97\u3057\u30011\u52a0\u7b97\u3057\u307e\u3059\u3002\n            intLastRowNum3 = .Sheets(strCopySakiSheetName).Cells(Rows.Count, 1).End(xlUp).Row + 1\n    \n            &#039;\u30b3\u30d4\u30fc\u5148\u306e\u30b7\u30fc\u30c8\u3078\u5024\u306e\u307f\u8cbc\u308a\u4ed8\u3051\u3057\u307e\u3059\u3002\u8cbc\u308a\u4ed8\u3051\u958b\u59cb\u5217\u306fA\u5217\u3068\u306a\u308a\u307e\u3059\u3002\n            .Sheets(strCopySakiSheetName).Cells(intLastRowNum3, 1).PasteSpecial Paste:=xlPasteValues\n            \n        Next i\n        \n    End With\n\n\n    &#039;\u7bc4\u56f2\u9078\u629e\u3092\u89e3\u9664\u3057\u307e\u3059\u3002\n    Application.CutCopyMode = False\n    \n    &#039;\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u89e3\u653e\u3057\u307e\u3059\u3002\n    Set objWorkbook = Nothing\n    \n  \nEnd Sub\n<\/code><\/pre>\n<h3><span class=\"ez-toc-section\" id=\"VBA%E3%81%AE%E8%A8%AD%E5%AE%9A%E3%82%92%E3%81%99%E3%82%8B-2\"><\/span>VBA\u306e\u8a2d\u5b9a\u3092\u3059\u308b<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>VBA\u306e\u8a2d\u5b9a\u306b\u3064\u3044\u3066\u8aac\u660e\u3092\u3057\u307e\u3059\u3002<\/p>\n<p>\u30b3\u30d4\u30fc\u5143\u30d6\u30c3\u30af\u4e00\u89a7\u304c\u3042\u308b\u30b7\u30fc\u30c8\u540d\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<div class=\"info\"><code>strCopyMotoListSheetName = &quot;\u30b3\u30d4\u30fc\u5143\u30d6\u30c3\u30af\u4e00\u89a7&quot;<\/code><\/div>\n<p>\u30b3\u30d4\u30fc\u5143\u30d6\u30c3\u30af\u306e\u30b7\u30fc\u30c8\u540d\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<div class=\"info\"><code>strCopyMotoSheetName = &quot;Sheet1&quot;<\/code><\/div>\n<p>\u30b3\u30d4\u30fc\u5148\u306e\u30b7\u30fc\u30c8\u540d\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<div class=\"info\"><code>strCopySakiSheetName = &quot;\u5225\u30d6\u30c3\u30af\u30c7\u30fc\u30bf\u96c6\u7d04&quot;<\/code><\/div>\n<p>\u30b3\u30d4\u30fc\u5143\u30d6\u30c3\u30af\u306e\u30bb\u30eb\u7bc4\u56f2\u3092\u30b3\u30d4\u30fc\u3057\u307e\u3059\u3002\u30b3\u30d4\u30fc\u306e\u7bc4\u56f2\u3092\u5909\u66f4\u3059\u308b\u5834\u5408\u306f\u8a2d\u5b9a\u3092\u5909\u3048\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<div class=\"info\"><code>.Range(&quot;A2:C&quot; &amp; intLastRowNum2).Copy<\/code><\/div>\n<h3><span class=\"ez-toc-section\" id=\"VBA%E3%82%92%E5%AE%9F%E8%A1%8C%E3%81%99%E3%82%8B-2\"><\/span>VBA\u3092\u5b9f\u884c\u3059\u308b<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>VBA\u3092\u5b9f\u884c\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u300c\u5404\u30d6\u30c3\u30af\u306e\u30b7\u30fc\u30c8\u306e\u30c7\u30fc\u30bf\u3092\u307e\u3068\u3081\u7528\u30d6\u30c3\u30af\u3078\u30b3\u30d4\u30fc\u3059\u308b\u300d\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<p>\u306f\u3044\uff01\u300c\u5225\u30d6\u30c3\u30af\u30c7\u30fc\u30bf\u96c6\u7d04\u300d\u30b7\u30fc\u30c8\u306b\u5404\u30d6\u30c3\u30af\u306e\u6307\u5b9a\u30b7\u30fc\u30c8\u306b\u3042\u308b\u30c7\u30fc\u30bf\u304c\u96c6\u7d04\u3055\u308c\u307e\u3057\u305f\u306d\uff01<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10070\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/12\/120622_0732_4.png\" alt=\"\" width=\"335\" height=\"327\" srcset=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/12\/120622_0732_4.png 335w, https:\/\/extan.jp\/wp-content\/uploads\/2022\/12\/120622_0732_4-300x293.png 300w\" sizes=\"auto, (max-width: 335px) 100vw, 335px\" \/><\/p>\n<h3><span class=\"ez-toc-section\" id=\"VBA%E3%81%AE%E8%AA%AC%E6%98%8E-2\"><\/span>VBA\u306e\u8aac\u660e<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>VBA\u306e\u5185\u5bb9\u306b\u3064\u3044\u3066\u8aac\u660e\u3092\u3057\u307e\u3059\u3002<\/p>\n<p>B\u5217\u3092\u5bfe\u8c61\u306b\u6700\u7d42\u884c\u6570\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\n<div class=\"info\"><code>intLastRowNum = .Sheets(strCopyMotoListSheetName).Cells(Rows.Count, 2).End(xlUp).Row<\/code><\/div>\n<p>\u30b3\u30d4\u30fc\u5143\u30d6\u30c3\u30af\u4e00\u89a7\u304c\u3042\u308b\u30b7\u30fc\u30c8\u306e\uff13\u884c\u76ee\u304b\u3089\u30d1\u30b9\u3092\u53d6\u5f97\u3057\u6700\u7d42\u884c\u6570\u5206\u7e70\u308a\u8fd4\u3057\u307e\u3059\u3002<\/p>\n<div class=\"info\"><code>For i = 3 To intLastRowNum Next i<\/code><\/div>\n<p>\u30b3\u30d4\u30fc\u5143\u30d6\u30c3\u30af\u30d1\u30b9\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\n<div class=\"info\"><code>strBookList = .Sheets(strCopyMotoListSheetName).Cells(i, 2).Value<\/code><\/div>\n<p>\u30b3\u30d4\u30fc\u5143\u30d6\u30c3\u30af\u3092\u958b\u304d\u307e\u3059\u3002<\/p>\n<div class=\"info\"><code>Set objWorkbook = Workbooks.Open(strBookList)<\/code><\/div>\n<p>\u30b3\u30d4\u30fc\u5143\u30d6\u30c3\u30af\u306eA\u5217\u3092\u5bfe\u8c61\u306b\u6700\u7d42\u884c\u6570\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\n<div class=\"info\"><code>intLastRowNum2 = .Cells(Rows.Count, 1).End(xlUp).Row<\/code><\/div>\n<p>\u30b3\u30d4\u30fc\u5143\u30d6\u30c3\u30af\u306e\u30bb\u30eb\u7bc4\u56f2\u3092\u30b3\u30d4\u30fc\u3057\u307e\u3059\u3002\u30b3\u30d4\u30fc\u306e\u7bc4\u56f2\u3092\u5909\u66f4\u3059\u308b\u5834\u5408\u306f\u8a2d\u5b9a\u3092\u5909\u3048\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<div class=\"info\"><code>.Range(&quot;A2:C&quot; &amp; intLastRowNum2).Copy<\/code><\/div>\n<p>\u30b3\u30d4\u30fc\u5148\u306e\u30b7\u30fc\u30c8A\u5217\u3092\u5bfe\u8c61\u306b\u6700\u7d42\u884c\u6570\u3092\u53d6\u5f97\u3057\u30011\u52a0\u7b97\u3057\u307e\u3059\u3002<\/p>\n<div class=\"info\"><code>intLastRowNum3 = .Sheets(strCopySakiSheetName).Cells(Rows.Count, 1).End(xlUp).Row + 1<\/code><\/div>\n<p>\u30b3\u30d4\u30fc\u5148\u306e\u30b7\u30fc\u30c8\u3078\u5024\u306e\u307f\u8cbc\u308a\u4ed8\u3051\u3057\u307e\u3059\u3002\u8cbc\u308a\u4ed8\u3051\u958b\u59cb\u5217\u306fA\u5217\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<div class=\"info\"><code>.Sheets(strCopySakiSheetName).Cells(intLastRowNum3, 1).PasteSpecial Paste:=xlPasteValues<\/code><\/div>\n<p>\u7bc4\u56f2\u9078\u629e\u3092\u89e3\u9664\u3057\u307e\u3059\u3002<\/p>\n<div class=\"info\"><code>Application.CutCopyMode = False<\/code><\/div>\n<p>\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u89e3\u653e\u3057\u307e\u3059\u3002<\/p>\n<div class=\"info\"><code>Set objWorkbook = Nothing<\/code><\/div>\n<h2><span class=\"ez-toc-section\" id=\"VBA%E3%81%AE%E5%AE%9F%E8%A3%85%E6%89%8B%E9%A0%86\"><\/span>VBA\u306e\u5b9f\u88c5\u624b\u9806<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u5b9f\u88c5\u624b\u9806\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<p>Excel\u5074\u306bVBA\u3092\u5b9f\u88c5\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<p>\u2460Excel\u3092\u65b0\u898f\u306b\u958b\u304d\u3001\u300c\u958b\u767a\u300d\u30bf\u30d6\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001\u300cVisualBasic\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<br \/>\n\u3082\u3057\u304f\u306f\u30b7\u30e7\u30fc\u30c8\u30ab\u30c3\u30c8\u30ad\u30fc\u300cAlt\u300d\uff0b\u300cF11\u300d\u3067\u3082OK\u3067\u3059\u3002<\/p>\n<p>\u2461\u6a19\u6e96\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<br \/>\n\u5de6\u30da\u30a4\u30f3\u306eVBAProject\u3092\u53f3\u30af\u30ea\u30c3\u30af\u3057\u3001\u300c\u633f\u5165\u300d\u3001\u300c\u6a19\u6e96\u30e2\u30b8\u30e5\u30fc\u30eb\u300d\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/p>\n<img decoding=\"async\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2019\/05\/050919_1542_VBAFunctio2.png\" alt=\"\" \/>\n<p>\u2462\u53f3\u30da\u30a4\u30f3\u306e\u30a6\u30a4\u30f3\u30c9\u30a6\u306b\u4e0a\u8a18\u306eVBA\u3092\u5165\u529b\u3057\u307e\u3059\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1680\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2019\/09\/092219_1211_temp22.png\" alt=\"\" width=\"1395\" height=\"879\" \/><\/p>\n<p>\u3053\u3061\u3089\u3067\u5b8c\u4e86\u3067\u3059\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"VBA%E3%82%92%E5%AE%9F%E8%A1%8C%E3%81%99%E3%82%8B-3\"><\/span>VBA\u3092\u5b9f\u884c\u3059\u308b<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u3067\u306f\u65e9\u901fVBA\u306e\u5b9f\u884c\u3092\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u2460\u300c\u958b\u767a\u300d\u30bf\u30d6\u306e\u300cVBA\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u5b9f\u884c\u3057\u305f\u3044\u30de\u30af\u30ed\u3092\u9078\u629e\u3057\u3001\u300c<strong>\u5b9f\u884c<\/strong>\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/p>\n<p>\u2461\u51e6\u7406\u304c\u3055\u308c\u305f\u3053\u3068\u304c\u78ba\u8a8d\u3067\u304d\u308c\u3070\u5b8c\u4e86\u3067\u3059\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"%EF%BC%9C%E8%BF%BD%E5%8A%A0%EF%BC%9E%E3%82%B3%E3%83%94%E3%83%BC%E5%85%83%E3%81%AE%E3%83%96%E3%83%83%E3%82%AF%E3%82%92%E3%82%B3%E3%83%94%E3%83%BC%E5%BE%8C%E3%81%AB%E9%96%89%E3%81%98%E3%82%8B%E6%96%B9%E6%B3%95\"><\/span>\uff1c\u8ffd\u52a0\uff1e\u30b3\u30d4\u30fc\u5143\u306e\u30d6\u30c3\u30af\u3092\u30b3\u30d4\u30fc\u5f8c\u306b\u9589\u3058\u308b\u65b9\u6cd5<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u30b3\u30d4\u30fc\u5143\u306e\u30d6\u30c3\u30af\u3092\u30b3\u30d4\u30fc\u5f8c\u306b\u9589\u3058\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8ffd\u8a18\u3057\u307e\u3059\u3002<\/p>\n<p>\u30c7\u30fc\u30bf\u3092\u30b3\u30d4\u30fc\u3057\u7d42\u3048\u305f\u5f8c\u306b\u30b3\u30d4\u30fc\u5143\u306e\u30d6\u30c3\u30af\u3092\u9589\u3058\u308b\u51e6\u7406\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<br \/>\n\u5177\u4f53\u7684\u306b\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30ef\u30fc\u30af\u30d6\u30c3\u30af\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306bClose\u30e1\u30bd\u30c3\u30c9\u3092\u4ed8\u3051\u52a0\u3048\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<p>\u25a0\u5909\u66f4\u524d<\/p>\n<div class=\"info\"><code>    &#039;\u7bc4\u56f2\u9078\u629e\u3092\u89e3\u9664\u3057\u307e\u3059\u3002<br \/>\n    Application.CutCopyMode = False<\/code><\/div>\n<p>\u25a0\u5909\u66f4\u5f8c<\/p>\n<div class=\"info\"><code>    &#039;\u7bc4\u56f2\u9078\u629e\u3092\u89e3\u9664\u3057\u307e\u3059\u3002<br \/>\n    Application.CutCopyMode = False<\/p>\n<p>    &#039;\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u9589\u3058\u307e\u3059\u3002<br \/>\n    objWorkbook.Close<\/code><\/div>\n<h2><span class=\"ez-toc-section\" id=\"%E3%81%95%E3%81%84%E3%81%94%E3%81%AB\"><\/span>\u3055\u3044\u3054\u306b<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u3044\u304b\u304c\u3067\u3057\u3087\u3046\u304b\u3002<\/p>\n<p>\u4eca\u56de\u306f\u3001<\/p>\n<div class=\"endinfo\">\u30fbExcel VBA\u3067\u8907\u6570\u30d6\u30c3\u30af\u306e\u30b7\u30fc\u30c8\u30921\u30b7\u30fc\u30c8\u306b\u307e\u3068\u3081\u308b\u65b9\u6cd5<br \/>\n\u30fbExcel VBA\u3067\u30d5\u30a9\u30eb\u30c0\u306b\u3042\u308b\u8907\u6570\u30d6\u30c3\u30af\u306e\u30ea\u30b9\u30c8\u3092\u53d6\u5f97\u3057\u3001\u5404\u30c7\u30fc\u30bf\u30921\u30b7\u30fc\u30c8\u306b\u307e\u3068\u3081\u308b\u65b9\u6cd5<\/div>\n<p>\u306b\u3064\u3044\u3066\u307e\u3068\u3081\u307e\u3057\u305f\u3002<\/p>\n<p>\u307e\u305f\u3001\u4ed6\u306b\u3082\u4fbf\u5229\u306a\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u306e\u3067\u3001\u3088\u308d\u3057\u3051\u308c\u3070\u3054\u53c2\u7167\u9802\u3051\u308c\u3070\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Excel VBA\u3067\u8907\u6570\u30d6\u30c3\u30af\u306e\u30b7\u30fc\u30c8\u30c7\u30fc\u30bf\u30921\u30b7\u30fc\u30c8\u306b\u307e\u3068\u3081\u305f\u3044\u3068\u304d\u306f\u306a\u3044\u3067\u3057\u3087\u3046\u304b\u3002 \u3051\u3069\u3001\u305d\u3093\u306a\u4e2d\u3067\u60a9\u3080\u3053\u3068\u306f\u3001 \u30fbExcel VBA\u3067\u8907\u6570\u30d6\u30c3\u30af\u306e\u30b7\u30fc\u30c8\u30c7\u30fc\u30bf\u30921\u30b7\u30fc\u30c8\u306b\u307e\u3068\u3081\u305f\u3044\u304c\u65b9\u6cd5\u304c\u3088\u304f\u308f\u304b\u3089\u306a\u3044 \u30fbExc&#8230;<\/p>\n","protected":false},"author":1,"featured_media":10074,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[124],"class_list":{"0":"post-10065","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-excelvba","8":"tag-124","9":"article cf"},"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.8 - aioseo.com -->\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"\u30bf\u30ab\u30d2\u30ed@extan\"\/>\n\t<meta name=\"keywords\" content=\"\u30b7\u30fc\u30c8\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/extan.jp\/?p=10065\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.8\" \/>\n\t\t<meta property=\"og:locale\" content=\"ja_JP\" \/>\n\t\t<meta property=\"og:site_name\" content=\"\u30a8\u30af\u77ed\uff5cExtan.jp\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Excel VBA\u3067\u8907\u6570\u30d6\u30c3\u30af\u306e\u30c7\u30fc\u30bf\u30921\u30b7\u30fc\u30c8\u306b\u307e\u3068\u3081\u308b\u65b9\u6cd5 | \u30a8\u30af\u77ed\uff5cExtan.jp\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/extan.jp\/?p=10065\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2022-12-05T23:50:39+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2023-03-07T16:02:55+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Excel VBA\u3067\u8907\u6570\u30d6\u30c3\u30af\u306e\u30c7\u30fc\u30bf\u30921\u30b7\u30fc\u30c8\u306b\u307e\u3068\u3081\u308b\u65b9\u6cd5 | \u30a8\u30af\u77ed\uff5cExtan.jp\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?p=10065#article\",\"name\":\"Excel VBA\\u3067\\u8907\\u6570\\u30d6\\u30c3\\u30af\\u306e\\u30c7\\u30fc\\u30bf\\u30921\\u30b7\\u30fc\\u30c8\\u306b\\u307e\\u3068\\u3081\\u308b\\u65b9\\u6cd5 | \\u30a8\\u30af\\u77ed\\uff5cExtan.jp\",\"headline\":\"Excel VBA\\u3067\\u8907\\u6570\\u30d6\\u30c3\\u30af\\u306e\\u30c7\\u30fc\\u30bf\\u30921\\u30b7\\u30fc\\u30c8\\u306b\\u307e\\u3068\\u3081\\u308b\\u65b9\\u6cd5\",\"author\":{\"@id\":\"https:\\\/\\\/extan.jp\\\/?author=1#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/extan.jp\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/extan.jp\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/str-142.png\",\"width\":857,\"height\":607,\"caption\":\"Excel VBA\\u3067\\u8907\\u6570\\u30d6\\u30c3\\u30af\\u306e\\u30b7\\u30fc\\u30c8\\u30921\\u30b7\\u30fc\\u30c8\\u306b\\u307e\\u3068\\u3081\\u308b\\u65b9\\u6cd5\\uff01\\u30d5\\u30a9\\u30eb\\u30c0\\u5185\\u30d6\\u30c3\\u30af\\u3082\\u4e00\\u62ec\\u51e6\\u7406\\uff01\"},\"datePublished\":\"2022-12-06T08:50:39+09:00\",\"dateModified\":\"2023-03-08T01:02:55+09:00\",\"inLanguage\":\"ja\",\"commentCount\":6,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/extan.jp\\\/?p=10065#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/extan.jp\\\/?p=10065#webpage\"},\"articleSection\":\"Excel VBA, \\u30b7\\u30fc\\u30c8\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?p=10065#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/extan.jp#listItem\",\"position\":1,\"name\":\"\\u30db\\u30fc\\u30e0\",\"item\":\"https:\\\/\\\/extan.jp\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?cat=47#listItem\",\"name\":\"Microsoft 365\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?cat=47#listItem\",\"position\":2,\"name\":\"Microsoft 365\",\"item\":\"https:\\\/\\\/extan.jp\\\/?cat=47\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?cat=17#listItem\",\"name\":\"Excel\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/extan.jp#listItem\",\"name\":\"\\u30db\\u30fc\\u30e0\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?cat=17#listItem\",\"position\":3,\"name\":\"Excel\",\"item\":\"https:\\\/\\\/extan.jp\\\/?cat=17\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?cat=6#listItem\",\"name\":\"Excel VBA\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?cat=47#listItem\",\"name\":\"Microsoft 365\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?cat=6#listItem\",\"position\":4,\"name\":\"Excel VBA\",\"item\":\"https:\\\/\\\/extan.jp\\\/?cat=6\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?p=10065#listItem\",\"name\":\"Excel VBA\\u3067\\u8907\\u6570\\u30d6\\u30c3\\u30af\\u306e\\u30c7\\u30fc\\u30bf\\u30921\\u30b7\\u30fc\\u30c8\\u306b\\u307e\\u3068\\u3081\\u308b\\u65b9\\u6cd5\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?cat=17#listItem\",\"name\":\"Excel\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?p=10065#listItem\",\"position\":5,\"name\":\"Excel VBA\\u3067\\u8907\\u6570\\u30d6\\u30c3\\u30af\\u306e\\u30c7\\u30fc\\u30bf\\u30921\\u30b7\\u30fc\\u30c8\\u306b\\u307e\\u3068\\u3081\\u308b\\u65b9\\u6cd5\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?cat=6#listItem\",\"name\":\"Excel VBA\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/extan.jp\\\/#organization\",\"name\":\"\\u30a8\\u30af\\u77ed\\uff5cExtan.jp\",\"description\":\"\\u50cd\\u304f\\u4eba\\u306e\\u81ea\\u7531\\u6642\\u9593\\u3092\\u3064\\u304f\\u308b\",\"url\":\"https:\\\/\\\/extan.jp\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?author=1#author\",\"url\":\"https:\\\/\\\/extan.jp\\\/?author=1\",\"name\":\"\\u30bf\\u30ab\\u30d2\\u30ed@extan\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?p=10065#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/24a74fef504a714c468411d23f2d1fd451892ffebbba0d84f70d4ce0d489aefb?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"\\u30bf\\u30ab\\u30d2\\u30ed@extan\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?p=10065#webpage\",\"url\":\"https:\\\/\\\/extan.jp\\\/?p=10065\",\"name\":\"Excel VBA\\u3067\\u8907\\u6570\\u30d6\\u30c3\\u30af\\u306e\\u30c7\\u30fc\\u30bf\\u30921\\u30b7\\u30fc\\u30c8\\u306b\\u307e\\u3068\\u3081\\u308b\\u65b9\\u6cd5 | \\u30a8\\u30af\\u77ed\\uff5cExtan.jp\",\"inLanguage\":\"ja\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/extan.jp\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/extan.jp\\\/?p=10065#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/extan.jp\\\/?author=1#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/extan.jp\\\/?author=1#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/extan.jp\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/str-142.png\",\"@id\":\"https:\\\/\\\/extan.jp\\\/?p=10065\\\/#mainImage\",\"width\":857,\"height\":607,\"caption\":\"Excel VBA\\u3067\\u8907\\u6570\\u30d6\\u30c3\\u30af\\u306e\\u30b7\\u30fc\\u30c8\\u30921\\u30b7\\u30fc\\u30c8\\u306b\\u307e\\u3068\\u3081\\u308b\\u65b9\\u6cd5\\uff01\\u30d5\\u30a9\\u30eb\\u30c0\\u5185\\u30d6\\u30c3\\u30af\\u3082\\u4e00\\u62ec\\u51e6\\u7406\\uff01\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/extan.jp\\\/?p=10065#mainImage\"},\"datePublished\":\"2022-12-06T08:50:39+09:00\",\"dateModified\":\"2023-03-08T01:02:55+09:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/extan.jp\\\/#website\",\"url\":\"https:\\\/\\\/extan.jp\\\/\",\"name\":\"\\u30a8\\u30af\\u77ed\\uff5cExtan.jp\",\"description\":\"\\u50cd\\u304f\\u4eba\\u306e\\u81ea\\u7531\\u6642\\u9593\\u3092\\u3064\\u304f\\u308b\",\"inLanguage\":\"ja\",\"publisher\":{\"@id\":\"https:\\\/\\\/extan.jp\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Excel VBA\u3067\u8907\u6570\u30d6\u30c3\u30af\u306e\u30c7\u30fc\u30bf\u30921\u30b7\u30fc\u30c8\u306b\u307e\u3068\u3081\u308b\u65b9\u6cd5 | \u30a8\u30af\u77ed\uff5cExtan.jp","description":"","canonical_url":"https:\/\/extan.jp\/?p=10065","robots":"max-image-preview:large","keywords":"\u30b7\u30fc\u30c8","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/extan.jp\/?p=10065#article","name":"Excel VBA\u3067\u8907\u6570\u30d6\u30c3\u30af\u306e\u30c7\u30fc\u30bf\u30921\u30b7\u30fc\u30c8\u306b\u307e\u3068\u3081\u308b\u65b9\u6cd5 | \u30a8\u30af\u77ed\uff5cExtan.jp","headline":"Excel VBA\u3067\u8907\u6570\u30d6\u30c3\u30af\u306e\u30c7\u30fc\u30bf\u30921\u30b7\u30fc\u30c8\u306b\u307e\u3068\u3081\u308b\u65b9\u6cd5","author":{"@id":"https:\/\/extan.jp\/?author=1#author"},"publisher":{"@id":"https:\/\/extan.jp\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/extan.jp\/wp-content\/uploads\/2022\/12\/str-142.png","width":857,"height":607,"caption":"Excel VBA\u3067\u8907\u6570\u30d6\u30c3\u30af\u306e\u30b7\u30fc\u30c8\u30921\u30b7\u30fc\u30c8\u306b\u307e\u3068\u3081\u308b\u65b9\u6cd5\uff01\u30d5\u30a9\u30eb\u30c0\u5185\u30d6\u30c3\u30af\u3082\u4e00\u62ec\u51e6\u7406\uff01"},"datePublished":"2022-12-06T08:50:39+09:00","dateModified":"2023-03-08T01:02:55+09:00","inLanguage":"ja","commentCount":6,"mainEntityOfPage":{"@id":"https:\/\/extan.jp\/?p=10065#webpage"},"isPartOf":{"@id":"https:\/\/extan.jp\/?p=10065#webpage"},"articleSection":"Excel VBA, \u30b7\u30fc\u30c8"},{"@type":"BreadcrumbList","@id":"https:\/\/extan.jp\/?p=10065#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/extan.jp#listItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/extan.jp","nextItem":{"@type":"ListItem","@id":"https:\/\/extan.jp\/?cat=47#listItem","name":"Microsoft 365"}},{"@type":"ListItem","@id":"https:\/\/extan.jp\/?cat=47#listItem","position":2,"name":"Microsoft 365","item":"https:\/\/extan.jp\/?cat=47","nextItem":{"@type":"ListItem","@id":"https:\/\/extan.jp\/?cat=17#listItem","name":"Excel"},"previousItem":{"@type":"ListItem","@id":"https:\/\/extan.jp#listItem","name":"\u30db\u30fc\u30e0"}},{"@type":"ListItem","@id":"https:\/\/extan.jp\/?cat=17#listItem","position":3,"name":"Excel","item":"https:\/\/extan.jp\/?cat=17","nextItem":{"@type":"ListItem","@id":"https:\/\/extan.jp\/?cat=6#listItem","name":"Excel VBA"},"previousItem":{"@type":"ListItem","@id":"https:\/\/extan.jp\/?cat=47#listItem","name":"Microsoft 365"}},{"@type":"ListItem","@id":"https:\/\/extan.jp\/?cat=6#listItem","position":4,"name":"Excel VBA","item":"https:\/\/extan.jp\/?cat=6","nextItem":{"@type":"ListItem","@id":"https:\/\/extan.jp\/?p=10065#listItem","name":"Excel VBA\u3067\u8907\u6570\u30d6\u30c3\u30af\u306e\u30c7\u30fc\u30bf\u30921\u30b7\u30fc\u30c8\u306b\u307e\u3068\u3081\u308b\u65b9\u6cd5"},"previousItem":{"@type":"ListItem","@id":"https:\/\/extan.jp\/?cat=17#listItem","name":"Excel"}},{"@type":"ListItem","@id":"https:\/\/extan.jp\/?p=10065#listItem","position":5,"name":"Excel VBA\u3067\u8907\u6570\u30d6\u30c3\u30af\u306e\u30c7\u30fc\u30bf\u30921\u30b7\u30fc\u30c8\u306b\u307e\u3068\u3081\u308b\u65b9\u6cd5","previousItem":{"@type":"ListItem","@id":"https:\/\/extan.jp\/?cat=6#listItem","name":"Excel VBA"}}]},{"@type":"Organization","@id":"https:\/\/extan.jp\/#organization","name":"\u30a8\u30af\u77ed\uff5cExtan.jp","description":"\u50cd\u304f\u4eba\u306e\u81ea\u7531\u6642\u9593\u3092\u3064\u304f\u308b","url":"https:\/\/extan.jp\/"},{"@type":"Person","@id":"https:\/\/extan.jp\/?author=1#author","url":"https:\/\/extan.jp\/?author=1","name":"\u30bf\u30ab\u30d2\u30ed@extan","image":{"@type":"ImageObject","@id":"https:\/\/extan.jp\/?p=10065#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/24a74fef504a714c468411d23f2d1fd451892ffebbba0d84f70d4ce0d489aefb?s=96&d=mm&r=g","width":96,"height":96,"caption":"\u30bf\u30ab\u30d2\u30ed@extan"}},{"@type":"WebPage","@id":"https:\/\/extan.jp\/?p=10065#webpage","url":"https:\/\/extan.jp\/?p=10065","name":"Excel VBA\u3067\u8907\u6570\u30d6\u30c3\u30af\u306e\u30c7\u30fc\u30bf\u30921\u30b7\u30fc\u30c8\u306b\u307e\u3068\u3081\u308b\u65b9\u6cd5 | \u30a8\u30af\u77ed\uff5cExtan.jp","inLanguage":"ja","isPartOf":{"@id":"https:\/\/extan.jp\/#website"},"breadcrumb":{"@id":"https:\/\/extan.jp\/?p=10065#breadcrumblist"},"author":{"@id":"https:\/\/extan.jp\/?author=1#author"},"creator":{"@id":"https:\/\/extan.jp\/?author=1#author"},"image":{"@type":"ImageObject","url":"https:\/\/extan.jp\/wp-content\/uploads\/2022\/12\/str-142.png","@id":"https:\/\/extan.jp\/?p=10065\/#mainImage","width":857,"height":607,"caption":"Excel VBA\u3067\u8907\u6570\u30d6\u30c3\u30af\u306e\u30b7\u30fc\u30c8\u30921\u30b7\u30fc\u30c8\u306b\u307e\u3068\u3081\u308b\u65b9\u6cd5\uff01\u30d5\u30a9\u30eb\u30c0\u5185\u30d6\u30c3\u30af\u3082\u4e00\u62ec\u51e6\u7406\uff01"},"primaryImageOfPage":{"@id":"https:\/\/extan.jp\/?p=10065#mainImage"},"datePublished":"2022-12-06T08:50:39+09:00","dateModified":"2023-03-08T01:02:55+09:00"},{"@type":"WebSite","@id":"https:\/\/extan.jp\/#website","url":"https:\/\/extan.jp\/","name":"\u30a8\u30af\u77ed\uff5cExtan.jp","description":"\u50cd\u304f\u4eba\u306e\u81ea\u7531\u6642\u9593\u3092\u3064\u304f\u308b","inLanguage":"ja","publisher":{"@id":"https:\/\/extan.jp\/#organization"}}]},"og:locale":"ja_JP","og:site_name":"\u30a8\u30af\u77ed\uff5cExtan.jp","og:type":"article","og:title":"Excel VBA\u3067\u8907\u6570\u30d6\u30c3\u30af\u306e\u30c7\u30fc\u30bf\u30921\u30b7\u30fc\u30c8\u306b\u307e\u3068\u3081\u308b\u65b9\u6cd5 | \u30a8\u30af\u77ed\uff5cExtan.jp","og:url":"https:\/\/extan.jp\/?p=10065","article:published_time":"2022-12-05T23:50:39+00:00","article:modified_time":"2023-03-07T16:02:55+00:00","twitter:card":"summary","twitter:title":"Excel VBA\u3067\u8907\u6570\u30d6\u30c3\u30af\u306e\u30c7\u30fc\u30bf\u30921\u30b7\u30fc\u30c8\u306b\u307e\u3068\u3081\u308b\u65b9\u6cd5 | \u30a8\u30af\u77ed\uff5cExtan.jp"},"aioseo_meta_data":{"post_id":"10065","title":null,"description":null,"keywords":null,"keyphrases":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_custom_url":null,"og_image_custom_fields":null,"og_custom_image_width":null,"og_custom_image_height":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"location":null,"local_seo":null,"created":"2026-06-24 15:27:51","updated":"2026-06-24 15:27:51","primary_term":null,"og_image_url":null,"og_image_width":null,"og_image_height":null,"twitter_image_url":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"limit_modified_date":false,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/extan.jp\" title=\"\u30db\u30fc\u30e0\">\u30db\u30fc\u30e0<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/extan.jp\/?cat=47\" title=\"Microsoft 365\">Microsoft 365<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/extan.jp\/?cat=17\" title=\"Excel\">Excel<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/extan.jp\/?cat=6\" title=\"Excel VBA\">Excel VBA<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tExcel VBA\u3067\u8907\u6570\u30d6\u30c3\u30af\u306e\u30c7\u30fc\u30bf\u30921\u30b7\u30fc\u30c8\u306b\u307e\u3068\u3081\u308b\u65b9\u6cd5\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"\u30db\u30fc\u30e0","link":"https:\/\/extan.jp"},{"label":"Microsoft 365","link":"https:\/\/extan.jp\/?cat=47"},{"label":"Excel","link":"https:\/\/extan.jp\/?cat=17"},{"label":"Excel VBA","link":"https:\/\/extan.jp\/?cat=6"},{"label":"Excel VBA\u3067\u8907\u6570\u30d6\u30c3\u30af\u306e\u30c7\u30fc\u30bf\u30921\u30b7\u30fc\u30c8\u306b\u307e\u3068\u3081\u308b\u65b9\u6cd5","link":"https:\/\/extan.jp\/?p=10065"}],"_links":{"self":[{"href":"https:\/\/extan.jp\/index.php?rest_route=\/wp\/v2\/posts\/10065","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/extan.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/extan.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/extan.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/extan.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10065"}],"version-history":[{"count":9,"href":"https:\/\/extan.jp\/index.php?rest_route=\/wp\/v2\/posts\/10065\/revisions"}],"predecessor-version":[{"id":10765,"href":"https:\/\/extan.jp\/index.php?rest_route=\/wp\/v2\/posts\/10065\/revisions\/10765"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/extan.jp\/index.php?rest_route=\/wp\/v2\/media\/10074"}],"wp:attachment":[{"href":"https:\/\/extan.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10065"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/extan.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10065"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/extan.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10065"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}