{"id":5023,"date":"2023-11-16T18:13:44","date_gmt":"2023-11-16T09:13:44","guid":{"rendered":"https:\/\/extan.jp\/?p=5023"},"modified":"2024-08-20T08:55:40","modified_gmt":"2024-08-19T23:55:40","slug":"%e3%80%90excel-vba%e3%80%91%e3%83%95%e3%82%a9%e3%83%ab%e3%83%80%e5%86%85%e3%81%ae%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e5%90%8d%e3%82%92%e5%8f%96%e5%be%97%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95%ef%bc%81","status":"publish","type":"post","link":"https:\/\/extan.jp\/?p=5023","title":{"rendered":"\u3010Excel VBA\u3011\u30d5\u30a1\u30a4\u30eb\u540d\u30fb\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5\uff01\u62e1\u5f35\u5b50\u7121\u3057\u7248\u3082\uff01"},"content":{"rendered":"<p>Excel VBA\u3067\u30d5\u30a9\u30eb\u30c0\u5185\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3084\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u3092\u53d6\u5f97\u3057\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\u30d5\u30a9\u30eb\u30c0\u5185\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3084\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u3092\u53d6\u5f97\u3059\u308b\u3084\u308a\u65b9\u304c\u308f\u304b\u3089\u306a\u3044\u3002<br \/>\n\u30fb\u62e1\u5f35\u5b50\u3092\u53d6\u308a\u9664\u304f\u306a\u3069\u51fa\u529b\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u52a0\u5de5\u3057\u305f\u3044\u304c\u3084\u308a\u65b9\u304c\u308f\u304b\u3089\u306a\u3044\u3002<\/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\u30d5\u30a9\u30eb\u30c0\u5185\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3084\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5<br \/>\n\u30fbExcel VBA\u3067\u30d5\u30a9\u30eb\u30c0\u5185\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3084\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u3092\u53d6\u5f97\u3057\u62e1\u5f35\u5b50\u90e8\u5206\u3092\u524a\u9664\u3059\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_66_1 counter-hierarchy ez-toc-counter ez-toc-light-blue ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\"><p class=\"ez-toc-title\">\u3082\u304f\u3058<\/p>\n<\/div><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=5023\/#Excel_VBA%E3%81%A7%E3%83%95%E3%82%A9%E3%83%AB%E3%83%80%E5%86%85%E3%81%AE%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E5%90%8D%E3%82%84%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E3%83%91%E3%82%B9%E3%82%92%E5%8F%96%E5%BE%97%E3%81%99%E3%82%8B%E5%AE%8C%E6%88%90%E3%82%A4%E3%83%A1%E3%83%BC%E3%82%B8\" title=\"Excel VBA\u3067\u30d5\u30a9\u30eb\u30c0\u5185\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3084\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u3092\u53d6\u5f97\u3059\u308b\u5b8c\u6210\u30a4\u30e1\u30fc\u30b8\">Excel VBA\u3067\u30d5\u30a9\u30eb\u30c0\u5185\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3084\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u3092\u53d6\u5f97\u3059\u308b\u5b8c\u6210\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=5023\/#%E3%83%95%E3%82%A9%E3%83%AB%E3%83%80%E5%86%85%E3%81%AE%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E5%90%8D%E3%82%84%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E3%83%91%E3%82%B9%E3%82%92%E5%8F%96%E5%BE%97%E3%81%99%E3%82%8BVBA\" title=\"\u30d5\u30a9\u30eb\u30c0\u5185\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3084\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u3092\u53d6\u5f97\u3059\u308bVBA\">\u30d5\u30a9\u30eb\u30c0\u5185\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3084\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u3092\u53d6\u5f97\u3059\u308bVBA<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/extan.jp\/?p=5023\/#VBA%E3%81%AE%E8%A8%AD%E5%AE%9A\" title=\"VBA\u306e\u8a2d\u5b9a\">VBA\u306e\u8a2d\u5b9a<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/extan.jp\/?p=5023\/#VBA%E3%81%AE%E8%AA%AC%E6%98%8E\" title=\"VBA\u306e\u8aac\u660e\">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-5\" href=\"https:\/\/extan.jp\/?p=5023\/#%E3%83%95%E3%82%A9%E3%83%AB%E3%83%80%E5%86%85%E3%81%AE%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E5%90%8D%E3%82%84%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E3%83%91%E3%82%B9%E3%82%92%E5%8F%96%E5%BE%97%E3%81%97%E6%8B%A1%E5%BC%B5%E5%AD%90%E9%83%A8%E5%88%86%E3%82%92%E5%89%8A%E9%99%A4%E3%81%99%E3%82%8BVBA\" title=\"\u30d5\u30a9\u30eb\u30c0\u5185\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3084\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u3092\u53d6\u5f97\u3057\u62e1\u5f35\u5b50\u90e8\u5206\u3092\u524a\u9664\u3059\u308bVBA\">\u30d5\u30a9\u30eb\u30c0\u5185\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3084\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u3092\u53d6\u5f97\u3057\u62e1\u5f35\u5b50\u90e8\u5206\u3092\u524a\u9664\u3059\u308bVBA<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/extan.jp\/?p=5023\/#VBA%E3%81%AE%E8%AA%AC%E6%98%8E-2\" title=\"VBA\u306e\u8aac\u660e\">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-7\" href=\"https:\/\/extan.jp\/?p=5023\/#%EF%BC%9C%E8%BF%BD%E5%8A%A0%EF%BC%9E%E6%8B%A1%E5%BC%B5%E5%AD%90%E3%80%8Cpdf%E3%80%8D%E3%81%A0%E3%81%91%E3%81%AE%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E3%82%92%E6%8A%9C%E3%81%8D%E5%87%BA%E3%81%99%E6%96%B9%E6%B3%95\" title=\"\uff1c\u8ffd\u52a0\uff1e\u62e1\u5f35\u5b50\u300c.pdf\u300d\u3060\u3051\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u629c\u304d\u51fa\u3059\u65b9\u6cd5\">\uff1c\u8ffd\u52a0\uff1e\u62e1\u5f35\u5b50\u300c.pdf\u300d\u3060\u3051\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u629c\u304d\u51fa\u3059\u65b9\u6cd5<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/extan.jp\/?p=5023\/#%E3%82%B5%E3%83%B3%E3%83%97%E3%83%AB%E3%82%B3%E3%83%BC%E3%83%89\" title=\"\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\">\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9<\/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=5023\/#PDF%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E3%82%92%E7%94%A8%E6%84%8F%E3%81%99%E3%82%8B\" title=\"PDF\u30d5\u30a1\u30a4\u30eb\u3092\u7528\u610f\u3059\u308b\">PDF\u30d5\u30a1\u30a4\u30eb\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-10\" href=\"https:\/\/extan.jp\/?p=5023\/#VBA%E3%82%92%E5%AE%9F%E8%A3%85%E3%81%99%E3%82%8B\" title=\"VBA\u3092\u5b9f\u88c5\u3059\u308b\">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-11\" href=\"https:\/\/extan.jp\/?p=5023\/#VBA%E3%82%92%E5%AE%9F%E8%A1%8C%E3%81%99%E3%82%8B\" title=\"VBA\u3092\u5b9f\u884c\u3059\u308b\">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-12\" href=\"https:\/\/extan.jp\/?p=5023\/#VBA%E3%81%AE%E8%AA%AC%E6%98%8E-3\" title=\"VBA\u306e\u8aac\u660e\">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-13\" href=\"https:\/\/extan.jp\/?p=5023\/#VBA%E3%81%AE%E5%AE%9F%E8%A3%85%E6%89%8B%E9%A0%86\" title=\"VBA\u306e\u5b9f\u88c5\u624b\u9806\">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-14\" href=\"https:\/\/extan.jp\/?p=5023\/#VBA%E3%82%92%E5%AE%9F%E8%A1%8C%E3%81%99%E3%82%8B-2\" title=\"VBA\u3092\u5b9f\u884c\u3059\u308b\">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-15\" href=\"https:\/\/extan.jp\/?p=5023\/#%E3%81%95%E3%81%84%E3%81%94%E3%81%AB\" title=\"\u3055\u3044\u3054\u306b\">\u3055\u3044\u3054\u306b<\/a><\/li><\/ul><\/nav><\/div>\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%E5%86%85%E3%81%AE%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E5%90%8D%E3%82%84%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E3%83%91%E3%82%B9%E3%82%92%E5%8F%96%E5%BE%97%E3%81%99%E3%82%8B%E5%AE%8C%E6%88%90%E3%82%A4%E3%83%A1%E3%83%BC%E3%82%B8\"><\/span>Excel VBA\u3067\u30d5\u30a9\u30eb\u30c0\u5185\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3084\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u3092\u53d6\u5f97\u3059\u308b\u5b8c\u6210\u30a4\u30e1\u30fc\u30b8<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Excel VBA\u3067\u30d5\u30a9\u30eb\u30c0\u5185\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3084\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u3092\u53d6\u5f97\u3059\u308b\u5b8c\u6210\u30a4\u30e1\u30fc\u30b8\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<p>\u307e\u305a\u3001\u30d5\u30a1\u30a4\u30eb\u4e00\u89a7\u3092\u53d6\u5f97\u3057\u305f\u3044\u30d5\u30a9\u30eb\u30c0\u3078\u30a2\u30af\u30bb\u30b9\u3057\u3001\u30d1\u30b9\u60c5\u5831\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5041\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2021\/08\/081621_0905_temp3.png\" alt=\"\" width=\"272\" height=\"196\" \/><\/p>\n<p>Excel\u306b\u30b7\u30fc\u30c8\u3092\u8ffd\u52a0\u3057\u3001B1\u30bb\u30eb\u3078\u305d\u306e\u30d1\u30b9\u3092\u8cbc\u308a\u4ed8\u3051\u307e\u3059\u3002<\/p>\n<p>VBA\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u9ec4\u8272\u3044\u80cc\u666f\u306e\u7b87\u6240\u306b\u30d5\u30a1\u30a4\u30eb\u540d\u3068\u3001\u305d\u306e\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u304c\u51fa\u529b\u3055\u308c\u307e\u3059\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5039\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2021\/08\/081621_0905_temp1.png\" alt=\"\" width=\"578\" height=\"288\" srcset=\"https:\/\/extan.jp\/wp-content\/uploads\/2021\/08\/081621_0905_temp1.png 578w, https:\/\/extan.jp\/wp-content\/uploads\/2021\/08\/081621_0905_temp1-300x149.png 300w\" sizes=\"auto, (max-width: 578px) 100vw, 578px\" \/><\/p>\n<p>\u3053\u306e\u3088\u3046\u306a\u5f62\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5040\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2021\/08\/081621_0905_temp2.png\" alt=\"\" width=\"581\" height=\"163\" srcset=\"https:\/\/extan.jp\/wp-content\/uploads\/2021\/08\/081621_0905_temp2.png 581w, https:\/\/extan.jp\/wp-content\/uploads\/2021\/08\/081621_0905_temp2-300x84.png 300w\" sizes=\"auto, (max-width: 581px) 100vw, 581px\" \/>\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\">\u4eca\u56de\u306f\u6307\u5b9a\u30d1\u30b9\u306e\u4e00\u968e\u5c64\u76ee\u306e\u307f\u304c\u5bfe\u8c61\u3068\u306a\u308a\u307e\u3059\u30022\u968e\u5c64\u76ee\u4ee5\u964d\u306e\u30b5\u30d6\u30d5\u30a9\u30eb\u30c0\u3092\u542b\u307e\u305b\u305f\u3044\u5834\u5408\u306f\u4ee5\u4e0b\u3092\u3054\u53c2\u7167\u304f\u3060\u3055\u3044\u3002<\/div>\n<\/div>\n<\/div>\n<p><!--\u5439\u304d\u51fa\u3057\u7d42\u308f\u308a--><\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"h7D9FUZGTL\"><p><a href=\"https:\/\/extan.jp\/?p=5057\">\u3010Excel VBA\u3011\u30b5\u30d6\u30d5\u30a9\u30eb\u30c0\u3092\u542b\u3080\u30d5\u30a1\u30a4\u30eb\u540d\u30fb\u30d1\u30b9\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5\uff01\u62e1\u5f35\u5b50\u524a\u9664\u3082\u5bfe\u5fdc\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\u30b5\u30d6\u30d5\u30a9\u30eb\u30c0\u3092\u542b\u3080\u30d5\u30a1\u30a4\u30eb\u540d\u30fb\u30d1\u30b9\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5\uff01\u62e1\u5f35\u5b50\u524a\u9664\u3082\u5bfe\u5fdc\uff01&#8221; &#8212; \u30a8\u30af\u77ed\uff5cExtan.jp\" src=\"https:\/\/extan.jp\/?p=5057&#038;embed=true#?secret=oeh0HmP0rn#?secret=h7D9FUZGTL\" data-secret=\"h7D9FUZGTL\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n<p>\u3055\u3089\u306b\u62e1\u5f35\u5b50\u3092\u9664\u304f\u51e6\u7406\u3092\u52a0\u3048\u3001\u30d5\u30a1\u30a4\u30eb\u306e\u62e1\u5f35\u5b50\u3092\u9664\u3044\u305f\u30d5\u30a1\u30a4\u30eb\u540d\u4e00\u89a7\u3092\u51fa\u529b\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5042\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2021\/08\/081621_0905_temp4.png\" alt=\"\" width=\"587\" height=\"150\" srcset=\"https:\/\/extan.jp\/wp-content\/uploads\/2021\/08\/081621_0905_temp4.png 587w, https:\/\/extan.jp\/wp-content\/uploads\/2021\/08\/081621_0905_temp4-300x77.png 300w\" sizes=\"auto, (max-width: 587px) 100vw, 587px\" \/>\n<p>\u305d\u308c\u3067\u306f\u3055\u3063\u305d\u304f\u3084\u3063\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p><script><\/p>\n<p><\/script><\/p>\n<h2><span class=\"ez-toc-section\" id=\"%E3%83%95%E3%82%A9%E3%83%AB%E3%83%80%E5%86%85%E3%81%AE%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E5%90%8D%E3%82%84%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E3%83%91%E3%82%B9%E3%82%92%E5%8F%96%E5%BE%97%E3%81%99%E3%82%8BVBA\"><\/span>\u30d5\u30a9\u30eb\u30c0\u5185\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3084\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u3092\u53d6\u5f97\u3059\u308bVBA<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u30d5\u30a9\u30eb\u30c0\u5185\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3084\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u3092\u53d6\u5f97\u3059\u308bVBA\u3092\u5b9f\u88c5\u3057\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u4ee5\u4e0b\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\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\nDim intIchi As Integer\nDim strFolderpass As String\nDim objfFSO As Object\nDim objFiles As Object\nDim 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\nintIchi = 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\nstrFolderpass = Range(&quot;B1&quot;).Value\n\n&#039;\u6307\u5b9a\u7bc4\u56f2\u306e\u5024\u3092\u30af\u30ea\u30a2\u3057\u307e\u3059\u3002\nRange(&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\nIf 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;\nElse\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\nEnd If\n\nSet objfFSO = Nothing\nSet objFiles = Nothing\nSet 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\"><\/span>VBA\u306e\u8a2d\u5b9a<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u4ee5\u4e0b\u306e\u8a2d\u5b9a\u3092\u304a\u3053\u306a\u3044\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\u30b5\u30f3\u30d7\u30eb\u3067\u306fA3\u304b\u3089\u51fa\u529b\u3057\u3066\u3044\u307e\u3059\u306e\u30673\u884c\u76ee\u306e3\u3092\u5165\u308c\u3066\u3044\u307e\u3059\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5039\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2021\/08\/081621_0905_temp1.png\" alt=\"\" width=\"578\" height=\"288\" srcset=\"https:\/\/extan.jp\/wp-content\/uploads\/2021\/08\/081621_0905_temp1.png 578w, https:\/\/extan.jp\/wp-content\/uploads\/2021\/08\/081621_0905_temp1-300x149.png 300w\" sizes=\"auto, (max-width: 578px) 100vw, 578px\" \/><\/p>\n<p>\u5bfe\u8c61\u30d5\u30a9\u30eb\u30c0\u306e\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u304c\u3042\u308b\u30bb\u30eb\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u4e0a\u8a18\u306e\u901a\u308aB1\u30bb\u30eb\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<br \/>\n\u6307\u5b9a\u7bc4\u56f2\u306e\u5024\u3092\u30af\u30ea\u30a2\u3057\u307e\u3059\u3002\u3053\u308c\u306f\u518d\u5b9f\u884c\u6642\u306b\u524d\u306e\u51fa\u529b\u5024\u3092\u6b8b\u3055\u306a\u3044\u3088\u3046\u306b\u3059\u308b\u305f\u3081\u306b\u3059\u308b\u8a2d\u5b9a\u3067\u3059\u3002<br \/>\n1\u4e07\u884c\u4ee5\u4e0a\u3042\u308b\u5834\u5408\u306f\u6570\u5024\u306e\u90e8\u5206\u3092\u5909\u66f4\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<div class=\"info\">Range(&#8220;A3:B10000&#8221;).Clear<\/div>\n<p>\u3067\u306f\u5b9f\u884c\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u306f\u3044\u3001\u6307\u5b9a\u30d5\u30a9\u30eb\u30c0\u306e\u4e00\u968e\u5c64\u76ee\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3068\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u304c\u53d6\u5f97\u3067\u304d\u3066\u3044\u307e\u3059\u306d\u3002<\/p>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5042\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2021\/08\/081621_0905_temp4.png\" alt=\"\" width=\"587\" height=\"150\" srcset=\"https:\/\/extan.jp\/wp-content\/uploads\/2021\/08\/081621_0905_temp4.png 587w, https:\/\/extan.jp\/wp-content\/uploads\/2021\/08\/081621_0905_temp4-300x77.png 300w\" sizes=\"auto, (max-width: 587px) 100vw, 587px\" \/>\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>\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u53d6\u5f97\u3057\u3066\u3044\u308b\u306e\u306fFileSystemObject\u3067\u3001<br \/>\n\u30d5\u30a1\u30a4\u30eb\u3084\u30d5\u30a9\u30eb\u30c0\u3092\u64cd\u4f5c\u3057\u305f\u308a\u3001\u60c5\u5831\u3092\u53d6\u5f97\u3059\u308b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3068\u306a\u308a\u3001<br \/>\n\u3053\u306eFileSystemObject\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306b\u30bb\u30c3\u30c8\u3057\u307e\u3059\u3002<\/p>\n<div class=\"info\"><code>Set objfFSO = CreateObject(&quot;Scripting.FileSystemObject&quot;)<\/code><\/div>\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\">\u3053\u306e\u7b87\u6240\u3067\u30a8\u30e9\u30fc\u3068\u306a\u3063\u305f\u5834\u5408\u306f\u3001VBE\u3092\u958b\u304d\u3001\u30c4\u30fc\u30eb\uff1e\u53c2\u7167\u8a2d\u5b9a\u3078\u30a2\u30af\u30bb\u30b9\u3057\u3001<br \/>\n\u300cMicrosoft Scripting Runtime\u300d\u306b\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u3066\u304f\u3060\u3055\u3044\u3002<\/div>\n<\/div>\n<\/div>\n<p><!--\u5439\u304d\u51fa\u3057\u7d42\u308f\u308a--><\/p>\n<p>Files\u30d7\u30ed\u30d1\u30c6\u30a3\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<\/p>\n<div class=\"info\"><code>Set objFiles = objfFSO.GetFolder(strFolderpass).Files<\/code><\/div>\n<p>\u30d5\u30a1\u30a4\u30eb\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304b\u3089\u4e00\u4ef6\u3065\u3064\u30d5\u30a1\u30a4\u30eb\u60c5\u5831\u3092\u51fa\u529b\u3057\u307e\u3059\u3002<br \/>\nName\u30d7\u30ed\u30d1\u30c6\u30a3\u3067\u30d5\u30a1\u30a4\u30eb\u540d\u3092Path\u30d7\u30ed\u30d1\u30c6\u30a3\u3067\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u60c5\u5831\u3092\u53d6\u5f97\u3057\u3001\u30bb\u30eb\u3078\u4ee3\u5165\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<div class=\"info\"><code>For Each objFile In objFiles<br \/>\nCells(intIchi, 1) = objFile.Name<br \/>\nCells(intIchi, 2) = objFile.Path<br \/>\nintIchi = intIchi + 1<br \/>\nNext objFile<\/code><\/div>\n<h2><span class=\"ez-toc-section\" id=\"%E3%83%95%E3%82%A9%E3%83%AB%E3%83%80%E5%86%85%E3%81%AE%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E5%90%8D%E3%82%84%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E3%83%91%E3%82%B9%E3%82%92%E5%8F%96%E5%BE%97%E3%81%97%E6%8B%A1%E5%BC%B5%E5%AD%90%E9%83%A8%E5%88%86%E3%82%92%E5%89%8A%E9%99%A4%E3%81%99%E3%82%8BVBA\"><\/span>\u30d5\u30a9\u30eb\u30c0\u5185\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3084\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u3092\u53d6\u5f97\u3057\u62e1\u5f35\u5b50\u90e8\u5206\u3092\u524a\u9664\u3059\u308bVBA<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u6b21\u306b\u53d6\u5f97\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u540d\u4e00\u89a7\u304b\u3089\u30c9\u30c3\u30c8\u300c.\u300d\u4ee5\u4e0b\u306e\u62e1\u5f35\u5b50\u3092\u53d6\u308a\u9664\u3044\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u4ee5\u4e0b\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\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_\u62e1\u5f35\u5b50\u90e8\u5206\u3092\u524a\u9664()\n\nDim intIchi As Integer\nDim strFolderpass As String\nDim objfFSO As Object\nDim objFiles As Object\nDim 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\nintIchi = 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\nstrFolderpass = Range(&quot;B1&quot;).Value\n\n&#039;\u6307\u5b9a\u7bc4\u56f2\u306e\u5024\u3092\u30af\u30ea\u30a2\u3057\u307e\u3059\u3002\nRange(&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\nIf 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;\nElse\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        \n        &#039;\u62e1\u5f35\u5b50\u3092\u524a\u9664\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u51fa\u529b\u3057\u307e\u3059\u3002\n        If InStrRev(objFile.Name, &quot;.&quot;) Then\n            &#039;InStrRev\u3067\u53f3\u304b\u3089&quot;.&quot;\u306e\u4f4d\u7f6e\u3092\u53d6\u5f97\u3057\u3001\u305d\u308c\u4ee5\u964d\u306e\u6587\u5b57\u5217\u3092\u62bd\u51fa\u3057\u307e\u3059\u3002\n            Cells(intIchi, 1) = Left(objFile.Name, InStrRev(objFile.Name, &quot;.&quot;) - 1)\n        End If\n        \n        Cells(intIchi, 2) = objFile.Path\n        intIchi = intIchi + 1\n    Next objFile\n\nEnd If\n\nSet objfFSO = Nothing\nSet objFiles = Nothing\nSet objFile = Nothing\n\nEnd Sub<\/code><\/pre>\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>\u8a2d\u5b9a\u5185\u5bb9\u306f\u5148\u307b\u3069\u306eVBA\u3068\u540c\u3058\u3067\u3001\u62e1\u5f35\u5b50\u3092\u53d6\u308a\u9664\u304f\u51e6\u7406\u3060\u3051\u3092\u8ffd\u52a0\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u62e1\u5f35\u5b50\u3092\u524a\u9664\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u51fa\u529b\u3057\u307e\u3059\u3002<br \/>\nInStrRev\u95a2\u6570\u3067\u53f3\u304b\u3089\u6307\u5b9a\u30ef\u30fc\u30c9\u306b\u5408\u81f4\u3057\u305f\u4f4d\u7f6e\u3092\u53d6\u5f97\u3057\u3001Left\u95a2\u6570\u3067\u305d\u308c\u4ee5\u964d\u306e\u6587\u5b57\u3092\u62bd\u51fa\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<div class=\"info\"><code>If InStrRev(objFile.Name, &quot;.&quot;) Then<br \/>\nCells(intIchi, 1) = Left(objFile.Name, InStrRev(objFile.Name, &quot;.&quot;) - 1)<br \/>\nEnd If<\/code><\/div>\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\">Inster\u95a2\u6570\u3060\u3068\u5de6\u304b\u3089\u6307\u5b9a\u30ef\u30fc\u30c9\u3092\u63a2\u3057\u306b\u884c\u304d\u307e\u3059\u306e\u3067\u3001\u4f8b\u3048\u3070\u300ctest1.2021.8.xls\u300d\u3060\u3068\u300ctest1.2021.8\u300d\u3068\u306f\u306a\u3089\u305a\u306b\u300ctest1\u300d\u3068\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002<br \/>\n\u62e1\u5f35\u5b50\u306a\u3069\u53f3\u306e\u6587\u5b57\u304b\u3089\u5224\u5b9a\u3059\u308b\u5834\u5408\u306f\u3001InStrRev\u95a2\u6570\u3092\u8ffd\u52a0\u3057\u307e\u3057\u3087\u3046\u3002<\/div>\n<\/div>\n<\/div>\n<p><!--\u5439\u304d\u51fa\u3057\u7d42\u308f\u308a--><br \/>\n\u3067\u306f\u5b9f\u884c\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u306f\u3044\u3001\u6307\u5b9a\u30d5\u30a9\u30eb\u30c0\u306e\u4e00\u968e\u5c64\u76ee\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3068\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u304c\u62e1\u5f35\u5b50\u3092\u53d6\u308a\u9664\u3044\u305f\u5f62\u3067\u53d6\u5f97\u3055\u308c\u3066\u3044\u307e\u3059\u306d\u3002<\/p>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5042\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2021\/08\/081621_0905_temp4.png\" alt=\"\" width=\"587\" height=\"150\" srcset=\"https:\/\/extan.jp\/wp-content\/uploads\/2021\/08\/081621_0905_temp4.png 587w, https:\/\/extan.jp\/wp-content\/uploads\/2021\/08\/081621_0905_temp4-300x77.png 300w\" sizes=\"auto, (max-width: 587px) 100vw, 587px\" \/>\n<h2><span class=\"ez-toc-section\" id=\"%EF%BC%9C%E8%BF%BD%E5%8A%A0%EF%BC%9E%E6%8B%A1%E5%BC%B5%E5%AD%90%E3%80%8Cpdf%E3%80%8D%E3%81%A0%E3%81%91%E3%81%AE%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E3%82%92%E6%8A%9C%E3%81%8D%E5%87%BA%E3%81%99%E6%96%B9%E6%B3%95\"><\/span>\uff1c\u8ffd\u52a0\uff1e\u62e1\u5f35\u5b50\u300c.pdf\u300d\u3060\u3051\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u629c\u304d\u51fa\u3059\u65b9\u6cd5<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u5229\u7528\u8005\u69d8\u3088\u308a\u8cea\u554f\u3042\u308a\u3001\u62e1\u5f35\u5b50\u300c.pdf\u300d\u3060\u3051\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u629c\u304d\u51fa\u3059\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<h3><span class=\"ez-toc-section\" id=\"%E3%82%B5%E3%83%B3%E3%83%97%E3%83%AB%E3%82%B3%E3%83%BC%E3%83%89\"><\/span>\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u306f\u4ee5\u4e0b\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre style=\"padding: 0;\"><code class=\"language-visual-basic line-numbers\">Sub \u30d5\u30a9\u30eb\u30c0\u5185\u306ePDF\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;PDF\u30d5\u30a1\u30a4\u30eb\u60c5\u5831\u3092\u51fa\u529b\u3057\u307e\u3059\u3002\n        For Each objFile In objFiles\n            &#039; \u30d5\u30a1\u30a4\u30eb\u306e\u62e1\u5f35\u5b50\u304c.pdf\u306e\u5834\u5408\u306e\u307f\u51e6\u7406\u3092\u884c\u3044\u307e\u3059\n            If LCase(objfFSO.GetExtensionName(objFile.Name)) = &quot;pdf&quot; Then\n                Cells(intIchi, 1) = objFile.Name\n                Cells(intIchi, 2) = objFile.Path\n                intIchi = intIchi + 1\n            End If\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=\"PDF%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E3%82%92%E7%94%A8%E6%84%8F%E3%81%99%E3%82%8B\"><\/span>PDF\u30d5\u30a1\u30a4\u30eb\u3092\u7528\u610f\u3059\u308b<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u7d9a\u3044\u3066\u3001PDF\u30d5\u30a1\u30a4\u30eb\u3068\u3001\u305d\u308c\u4ee5\u5916\u306e\u7a2e\u985e\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u7528\u610f\u3057\u307e\u3059\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12608\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2023\/11\/111723_0919_3.png\" alt=\"\" width=\"213\" height=\"167\" \/><\/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\">\u691c\u8a3c\u306e\u305f\u3081\u62e1\u5f35\u5b50\u306f\u5927\u6587\u5b57\u7248\u3068\u5c0f\u6587\u5b57\u7248\u7a2e\u985e\u7528\u610f\u3057\u307e\u3057\u305f\u3002<\/div>\n<\/div>\n<\/div>\n<p><!--\u5439\u304d\u51fa\u3057\u7d42\u308f\u308a--><\/p>\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>\u300cVBA\u306e\u5b9f\u88c5\u624b\u9806\u300d\u3092\u53c2\u8003\u306b\u30b3\u30fc\u30c9\u3092VBE\u306b\u5b9f\u88c5\u3057\u3001<br \/>\n\u307e\u305f\u3001\u5b9f\u884c\u306b\u4fbf\u5229\u306a\u30dc\u30bf\u30f3\u3092\u8a2d\u3051\u3001\u8ffd\u52a0\u3057\u305f\u30de\u30af\u30ed\u3092\u767b\u9332\u3057\u307e\u3057\u3087\u3046\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12606\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2023\/11\/111723_0919_1.png\" alt=\"\" width=\"507\" height=\"230\" srcset=\"https:\/\/extan.jp\/wp-content\/uploads\/2023\/11\/111723_0919_1.png 507w, https:\/\/extan.jp\/wp-content\/uploads\/2023\/11\/111723_0919_1-300x136.png 300w\" sizes=\"auto, (max-width: 507px) 100vw, 507px\" \/><\/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>\u307e\u305a\u306f\u3053\u308c\u307e\u3067\u306e\u5168\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u53d6\u5f97\u3059\u308b\u51e6\u7406\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<p>\u306f\u3044\u3001\u683c\u7d0d\u5206\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u4e00\u89a7\u304c\u53d6\u5f97\u3067\u304d\u307e\u3057\u305f\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12607\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2023\/11\/111723_0919_2.png\" alt=\"\" width=\"901\" height=\"212\" srcset=\"https:\/\/extan.jp\/wp-content\/uploads\/2023\/11\/111723_0919_2.png 901w, https:\/\/extan.jp\/wp-content\/uploads\/2023\/11\/111723_0919_2-300x71.png 300w, https:\/\/extan.jp\/wp-content\/uploads\/2023\/11\/111723_0919_2-768x181.png 768w, https:\/\/extan.jp\/wp-content\/uploads\/2023\/11\/111723_0919_2-718x169.png 718w\" sizes=\"auto, (max-width: 901px) 100vw, 901px\" \/><\/p>\n<p>\u6b21\u306b\u3001\u8ffd\u52a0\u5b9f\u88c5\u3057\u305fPDF\u30d5\u30a1\u30a4\u30eb\u306e\u307f\u306b\u7d5e\u308a\u8fbc\u3080VBA\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12610\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2023\/11\/111723_0919_5.png\" alt=\"\" width=\"178\" height=\"127\" \/><\/p>\n<p>\u306f\u3044\uff01PDF\u30d5\u30a1\u30a4\u30eb\u306e\u307f\u306b\u7d5e\u308a\u8fbc\u3080\u3053\u3068\u304c\u3067\u304d\u307e\u3057\u305f\u306d\uff01<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12609\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2023\/11\/111723_0919_4.png\" alt=\"\" width=\"610\" height=\"178\" srcset=\"https:\/\/extan.jp\/wp-content\/uploads\/2023\/11\/111723_0919_4.png 610w, https:\/\/extan.jp\/wp-content\/uploads\/2023\/11\/111723_0919_4-300x88.png 300w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><br \/>\n<!--\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\">\u5927\u6587\u5b57\u3001\u5c0f\u6587\u5b57\u306ePDF\u30d5\u30a1\u30a4\u30eb\u3059\u3079\u3066\u62fe\u3063\u3066\u3044\u308b\u3053\u3068\u304c\u78ba\u8a8d\u3067\u304d\u307e\u3059\u306d\u3002<\/div>\n<\/div>\n<\/div>\n<p><!--\u5439\u304d\u51fa\u3057\u7d42\u308f\u308a--><\/p>\n<h3><span class=\"ez-toc-section\" id=\"VBA%E3%81%AE%E8%AA%AC%E6%98%8E-3\"><\/span>VBA\u306e\u8aac\u660e<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>PDF\u306e\u307f\u306b\u7d5e\u308a\u8fbc\u3080\u5224\u5b9a\u3092\u8ffd\u52a0\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<div class=\"info\"><code>If LCase(objfFSO.GetExtensionName(objFile.Name)) = &quot;pdf&quot; Then<\/code><\/div>\n<p>objFile \u306f For Each \u30eb\u30fc\u30d7\u3067\u7e70\u308a\u8fd4\u3057\u53c2\u7167\u3055\u308c\u308b\u5404\u30d5\u30a1\u30a4\u30eb\u3092\u8868\u3057\u307e\u3059\u3002<br \/>\n.Name \u306f\u305d\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u540d\u524d\uff08\u62e1\u5f35\u5b50\u3092\u542b\u3080\uff09\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\n<p>GetExtensionName \u30e1\u30bd\u30c3\u30c9\u306f\u5f15\u6570\u3068\u3057\u3066\u4e0e\u3048\u3089\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u540d\u306e\u62e1\u5f35\u5b50\u90e8\u5206\u306e\u307f\u3092\u62bd\u51fa\u3057\u307e\u3059\u3002<\/p>\n<p>LCase \u95a2\u6570\u306f\u4e0e\u3048\u3089\u308c\u305f\u6587\u5b57\u5217\u3092\u5168\u3066\u5c0f\u6587\u5b57\u306b\u5909\u63db\u3057\u62e1\u5f35\u5b50\u304c\u5927\u6587\u5b57\u3001\u5c0f\u6587\u5b57\u3001\u307e\u305f\u306f\u305d\u306e\u7d44\u307f\u5408\u308f\u305b\u3067\u66f8\u304b\u308c\u3066\u3044\u3066\u3082\u3001\u4e00\u8cab\u3057\u305f\u5f62\u5f0f\uff08\u3053\u306e\u5834\u5408\u306f\u5c0f\u6587\u5b57\uff09\u3067\u51e6\u7406\u3067\u304d\u308b\u3088\u3046\u306b\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\">\u62e1\u5f35\u5b50\u306f\u5927\u6587\u5b57\u3001\u5c0f\u6587\u5b57\u304c\u6df7\u5728\u3059\u308b\u30b1\u30fc\u30b9\u304c\u591a\u3044\u306e\u3067\u3001LCase \u95a2\u6570\u3067\u7d71\u4e00\u3059\u308b\u3088\u3046\u306b\u3057\u307e\u3057\u305f\u3002<\/div>\n<\/div>\n<\/div>\n<p><!--\u5439\u304d\u51fa\u3057\u7d42\u308f\u308a--><\/p>\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>\u4eca\u56de\u306fExcel\u5074\u306b\u3053\u306eVBA\u3092\u5b9f\u88c5\u3057\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-2\"><\/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<br \/>\n\u203b\u5b8c\u4e86\u30e1\u30c3\u30bb\u30fc\u30b8\u3084\u30b9\u30c6\u30fc\u30bf\u30b9\u7ba1\u7406\u306a\u3069\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u5b9f\u88c5\u3057\u3066\u3082\u3089\u3048\u3070\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\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\u30d5\u30a9\u30eb\u30c0\u5185\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3084\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5<br \/>\n\u30fbExcel VBA\u3067\u30d5\u30a9\u30eb\u30c0\u5185\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3084\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u3092\u53d6\u5f97\u3057\u62e1\u5f35\u5b50\u90e8\u5206\u3092\u524a\u9664\u3059\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\u30d5\u30a9\u30eb\u30c0\u5185\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3084\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u3092\u53d6\u5f97\u3057\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\u30d5\u30a9\u30eb\u30c0\u5185\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3084\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u3092\u53d6\u5f97\u3059\u308b\u3084\u308a\u65b9\u304c\u308f\u304b\u3089\u306a\u3044\u3002 \u30fb\u62e1\u5f35\u5b50&#8230;<\/p>\n","protected":false},"author":1,"featured_media":5025,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[264,71,65],"class_list":{"0":"post-5023","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-excelvba","8":"tag-264","9":"tag-71","10":"tag-65","11":"article cf"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v18.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<meta name=\"description\" content=\"\u30fbExcel VBA\u3067\u30d5\u30a9\u30eb\u30c0\u5185\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3084\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5\u30fbExcel VBA\u3067\u30d5\u30a9\u30eb\u30c0\u5185\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3084\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u3092\u53d6\u5f97\u3057\u62e1\u5f35\u5b50\u90e8\u5206\u3092\u524a\u9664\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u307e\u3068\u3081\u307e\u3059\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/extan.jp\/?p=5023\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u3010Excel VBA\u3011\u30d5\u30a1\u30a4\u30eb\u540d\u30fb\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5\uff01\u62e1\u5f35\u5b50\u7121\u3057\u7248\u3082\uff01 - \u30a8\u30af\u77ed\uff5cExtan.jp\" \/>\n<meta property=\"og:description\" content=\"\u30fbExcel VBA\u3067\u30d5\u30a9\u30eb\u30c0\u5185\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3084\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5\u30fbExcel VBA\u3067\u30d5\u30a9\u30eb\u30c0\u5185\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3084\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u3092\u53d6\u5f97\u3057\u62e1\u5f35\u5b50\u90e8\u5206\u3092\u524a\u9664\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u307e\u3068\u3081\u307e\u3059\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/extan.jp\/?p=5023\" \/>\n<meta property=\"og:site_name\" content=\"\u30a8\u30af\u77ed\uff5cExtan.jp\" \/>\n<meta property=\"article:published_time\" content=\"2023-11-16T09:13:44+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-08-19T23:55:40+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/extan.jp\/wp-content\/uploads\/2021\/08\/str-21.png\" \/>\n\t<meta property=\"og:image:width\" content=\"652\" \/>\n\t<meta property=\"og:image:height\" content=\"416\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u30bf\u30ab\u30d2\u30ed@extan\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"19\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@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\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/extan.jp\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"ja\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/extan.jp\/?p=5023#primaryimage\",\"inLanguage\":\"ja\",\"url\":\"https:\/\/extan.jp\/wp-content\/uploads\/2021\/08\/str-21.png\",\"contentUrl\":\"https:\/\/extan.jp\/wp-content\/uploads\/2021\/08\/str-21.png\",\"width\":652,\"height\":416},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/extan.jp\/?p=5023#webpage\",\"url\":\"https:\/\/extan.jp\/?p=5023\",\"name\":\"\u3010Excel VBA\u3011\u30d5\u30a1\u30a4\u30eb\u540d\u30fb\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5\uff01\u62e1\u5f35\u5b50\u7121\u3057\u7248\u3082\uff01 - \u30a8\u30af\u77ed\uff5cExtan.jp\",\"isPartOf\":{\"@id\":\"https:\/\/extan.jp\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/extan.jp\/?p=5023#primaryimage\"},\"datePublished\":\"2023-11-16T09:13:44+00:00\",\"dateModified\":\"2024-08-19T23:55:40+00:00\",\"author\":{\"@id\":\"https:\/\/extan.jp\/#\/schema\/person\/ccb8849fcf749d5f74439b1af7d4df1a\"},\"description\":\"\u30fbExcel VBA\u3067\u30d5\u30a9\u30eb\u30c0\u5185\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3084\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5\u30fbExcel VBA\u3067\u30d5\u30a9\u30eb\u30c0\u5185\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3084\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u3092\u53d6\u5f97\u3057\u62e1\u5f35\u5b50\u90e8\u5206\u3092\u524a\u9664\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u307e\u3068\u3081\u307e\u3059\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/extan.jp\/?p=5023#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/extan.jp\/?p=5023\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/extan.jp\/?p=5023#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u30db\u30fc\u30e0\",\"item\":\"https:\/\/extan.jp\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u3010Excel VBA\u3011\u30d5\u30a1\u30a4\u30eb\u540d\u30fb\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5\uff01\u62e1\u5f35\u5b50\u7121\u3057\u7248\u3082\uff01\"}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/extan.jp\/#\/schema\/person\/ccb8849fcf749d5f74439b1af7d4df1a\",\"name\":\"\u30bf\u30ab\u30d2\u30ed@extan\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/extan.jp\/#personlogo\",\"inLanguage\":\"ja\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/24a74fef504a714c468411d23f2d1fd451892ffebbba0d84f70d4ce0d489aefb?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/24a74fef504a714c468411d23f2d1fd451892ffebbba0d84f70d4ce0d489aefb?s=96&d=mm&r=g\",\"caption\":\"\u30bf\u30ab\u30d2\u30ed@extan\"},\"url\":\"https:\/\/extan.jp\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"description":"\u30fbExcel VBA\u3067\u30d5\u30a9\u30eb\u30c0\u5185\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3084\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5\u30fbExcel VBA\u3067\u30d5\u30a9\u30eb\u30c0\u5185\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3084\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u3092\u53d6\u5f97\u3057\u62e1\u5f35\u5b50\u90e8\u5206\u3092\u524a\u9664\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u307e\u3068\u3081\u307e\u3059\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/extan.jp\/?p=5023","og_locale":"ja_JP","og_type":"article","og_title":"\u3010Excel VBA\u3011\u30d5\u30a1\u30a4\u30eb\u540d\u30fb\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5\uff01\u62e1\u5f35\u5b50\u7121\u3057\u7248\u3082\uff01 - \u30a8\u30af\u77ed\uff5cExtan.jp","og_description":"\u30fbExcel VBA\u3067\u30d5\u30a9\u30eb\u30c0\u5185\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3084\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5\u30fbExcel VBA\u3067\u30d5\u30a9\u30eb\u30c0\u5185\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3084\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u3092\u53d6\u5f97\u3057\u62e1\u5f35\u5b50\u90e8\u5206\u3092\u524a\u9664\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u307e\u3068\u3081\u307e\u3059\u3002","og_url":"https:\/\/extan.jp\/?p=5023","og_site_name":"\u30a8\u30af\u77ed\uff5cExtan.jp","article_published_time":"2023-11-16T09:13:44+00:00","article_modified_time":"2024-08-19T23:55:40+00:00","og_image":[{"width":652,"height":416,"url":"https:\/\/extan.jp\/wp-content\/uploads\/2021\/08\/str-21.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"\u30bf\u30ab\u30d2\u30ed@extan","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"19\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@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","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/extan.jp\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"ja"},{"@type":"ImageObject","@id":"https:\/\/extan.jp\/?p=5023#primaryimage","inLanguage":"ja","url":"https:\/\/extan.jp\/wp-content\/uploads\/2021\/08\/str-21.png","contentUrl":"https:\/\/extan.jp\/wp-content\/uploads\/2021\/08\/str-21.png","width":652,"height":416},{"@type":"WebPage","@id":"https:\/\/extan.jp\/?p=5023#webpage","url":"https:\/\/extan.jp\/?p=5023","name":"\u3010Excel VBA\u3011\u30d5\u30a1\u30a4\u30eb\u540d\u30fb\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5\uff01\u62e1\u5f35\u5b50\u7121\u3057\u7248\u3082\uff01 - \u30a8\u30af\u77ed\uff5cExtan.jp","isPartOf":{"@id":"https:\/\/extan.jp\/#website"},"primaryImageOfPage":{"@id":"https:\/\/extan.jp\/?p=5023#primaryimage"},"datePublished":"2023-11-16T09:13:44+00:00","dateModified":"2024-08-19T23:55:40+00:00","author":{"@id":"https:\/\/extan.jp\/#\/schema\/person\/ccb8849fcf749d5f74439b1af7d4df1a"},"description":"\u30fbExcel VBA\u3067\u30d5\u30a9\u30eb\u30c0\u5185\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3084\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5\u30fbExcel VBA\u3067\u30d5\u30a9\u30eb\u30c0\u5185\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3084\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u3092\u53d6\u5f97\u3057\u62e1\u5f35\u5b50\u90e8\u5206\u3092\u524a\u9664\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u307e\u3068\u3081\u307e\u3059\u3002","breadcrumb":{"@id":"https:\/\/extan.jp\/?p=5023#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/extan.jp\/?p=5023"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/extan.jp\/?p=5023#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/extan.jp\/"},{"@type":"ListItem","position":2,"name":"\u3010Excel VBA\u3011\u30d5\u30a1\u30a4\u30eb\u540d\u30fb\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5\uff01\u62e1\u5f35\u5b50\u7121\u3057\u7248\u3082\uff01"}]},{"@type":"Person","@id":"https:\/\/extan.jp\/#\/schema\/person\/ccb8849fcf749d5f74439b1af7d4df1a","name":"\u30bf\u30ab\u30d2\u30ed@extan","image":{"@type":"ImageObject","@id":"https:\/\/extan.jp\/#personlogo","inLanguage":"ja","url":"https:\/\/secure.gravatar.com\/avatar\/24a74fef504a714c468411d23f2d1fd451892ffebbba0d84f70d4ce0d489aefb?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/24a74fef504a714c468411d23f2d1fd451892ffebbba0d84f70d4ce0d489aefb?s=96&d=mm&r=g","caption":"\u30bf\u30ab\u30d2\u30ed@extan"},"url":"https:\/\/extan.jp\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/extan.jp\/index.php?rest_route=\/wp\/v2\/posts\/5023","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=5023"}],"version-history":[{"count":31,"href":"https:\/\/extan.jp\/index.php?rest_route=\/wp\/v2\/posts\/5023\/revisions"}],"predecessor-version":[{"id":12614,"href":"https:\/\/extan.jp\/index.php?rest_route=\/wp\/v2\/posts\/5023\/revisions\/12614"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/extan.jp\/index.php?rest_route=\/wp\/v2\/media\/5025"}],"wp:attachment":[{"href":"https:\/\/extan.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5023"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/extan.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5023"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/extan.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5023"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}