{"id":9503,"date":"2022-09-20T08:25:54","date_gmt":"2022-09-19T23:25:54","guid":{"rendered":"https:\/\/extan.jp\/?p=9503"},"modified":"2022-12-20T22:45:00","modified_gmt":"2022-12-20T13:45:00","slug":"%e3%80%90excel-vba%e3%80%91%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%82%92zip%e5%bd%a2%e5%bc%8f%e3%81%a7%e5%9c%a7%e7%b8%ae%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95%ef%bc%81%e8%a4%87%e6%95%b0%e4%b8%80","status":"publish","type":"post","link":"https:\/\/extan.jp\/?p=9503","title":{"rendered":"\u3010Excel VBA\u3011\u30d5\u30a1\u30a4\u30eb\u3092ZIP\u5f62\u5f0f\u3067\u5727\u7e2e\u3059\u308b\u65b9\u6cd5\uff01\u8907\u6570\u4e00\u62ec\u51e6\u7406\u3082\u53ef\uff01"},"content":{"rendered":"<p>\u30d5\u30a1\u30a4\u30eb\u3092ZIP\u5f62\u5f0f\u3067\u5727\u7e2e\u3059\u308b\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\">\u30fb\u30d5\u30a1\u30a4\u30eb\u3092ZIP\u5f62\u5f0f\u3067\u5727\u7e2e\u3059\u308b\u3057\u305f\u3044\u304c\u65b9\u6cd5\u304c\u3088\u304f\u308f\u304b\u3089\u306a\u3044<br \/>\n\u30fbVBA\u3067\u8907\u6570\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u4e00\u62ec\u3067ZIP\u5727\u7e2e\u3059\u308b\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\">\u30fbVBA\u3067\u8907\u6570\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u305d\u308c\u305e\u308cZIP\u5f62\u5f0f\u3067\u5727\u7e2e\u3059\u308b\u65b9\u6cd5<br \/>\n\u30fbVBA\u3067\u8907\u6570\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u307e\u3068\u3081\u3066ZIP\u5f62\u5f0f\u3067\u5727\u7e2e\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=9503\/#VBA%E3%81%A7%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E3%82%92ZIP%E5%BD%A2%E5%BC%8F%E3%81%A7%E5%9C%A7%E7%B8%AE%E3%81%99%E3%82%8B%E3%82%A4%E3%83%A1%E3%83%BC%E3%82%B8\" title=\"VBA\u3067\u30d5\u30a1\u30a4\u30eb\u3092ZIP\u5f62\u5f0f\u3067\u5727\u7e2e\u3059\u308b\u30a4\u30e1\u30fc\u30b8\">VBA\u3067\u30d5\u30a1\u30a4\u30eb\u3092ZIP\u5f62\u5f0f\u3067\u5727\u7e2e\u3059\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=9503\/#VBA%E3%81%A7%E8%A4%87%E6%95%B0%E3%81%AE%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E3%82%92%E3%81%9D%E3%82%8C%E3%81%9E%E3%82%8CZIP%E5%BD%A2%E5%BC%8F%E3%81%A7%E5%9C%A7%E7%B8%AE%E3%81%99%E3%82%8B\" title=\"VBA\u3067\u8907\u6570\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u305d\u308c\u305e\u308cZIP\u5f62\u5f0f\u3067\u5727\u7e2e\u3059\u308b\">VBA\u3067\u8907\u6570\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u305d\u308c\u305e\u308cZIP\u5f62\u5f0f\u3067\u5727\u7e2e\u3059\u308b<\/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=9503\/#PDF%E4%BF%9D%E5%AD%98%E5%85%88%E3%83%AA%E3%82%B9%E3%83%88%E3%82%92%E6%BA%96%E5%82%99%E3%81%99%E3%82%8B\" title=\"PDF\u4fdd\u5b58\u5148\u30ea\u30b9\u30c8\u3092\u6e96\u5099\u3059\u308b\">PDF\u4fdd\u5b58\u5148\u30ea\u30b9\u30c8\u3092\u6e96\u5099\u3059\u308b<\/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=9503\/#VBA%E3%82%B3%E3%83%BC%E3%83%89\" title=\"VBA\u30b3\u30fc\u30c9\">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-5\" href=\"https:\/\/extan.jp\/?p=9503\/#VBA%E3%82%92%E8%A8%AD%E5%AE%9A%E3%81%99%E3%82%8B\" title=\"VBA\u3092\u8a2d\u5b9a\u3059\u308b\">VBA\u3092\u8a2d\u5b9a\u3059\u308b<\/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=9503\/#VBA%E3%81%AE%E5%AE%9F%E8%A3%85\" title=\"VBA\u306e\u5b9f\u88c5\">VBA\u306e\u5b9f\u88c5<\/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=9503\/#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-8\" href=\"https:\/\/extan.jp\/?p=9503\/#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-9\" href=\"https:\/\/extan.jp\/?p=9503\/#VBA%E3%81%A7%E8%A4%87%E6%95%B0%E3%81%AE%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E3%82%92%E3%81%BE%E3%81%A8%E3%82%81%E3%81%A6ZIP%E5%BD%A2%E5%BC%8F%E3%81%A7%E5%9C%A7%E7%B8%AE%E3%81%99%E3%82%8B\" title=\"VBA\u3067\u8907\u6570\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u307e\u3068\u3081\u3066ZIP\u5f62\u5f0f\u3067\u5727\u7e2e\u3059\u308b\">VBA\u3067\u8907\u6570\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u307e\u3068\u3081\u3066ZIP\u5f62\u5f0f\u3067\u5727\u7e2e\u3059\u308b<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/extan.jp\/?p=9503\/#PDF%E4%BF%9D%E5%AD%98%E5%85%88%E3%83%AA%E3%82%B9%E3%83%88%E3%82%92%E6%BA%96%E5%82%99%E3%81%99%E3%82%8B-2\" title=\"PDF\u4fdd\u5b58\u5148\u30ea\u30b9\u30c8\u3092\u6e96\u5099\u3059\u308b\">PDF\u4fdd\u5b58\u5148\u30ea\u30b9\u30c8\u3092\u6e96\u5099\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=9503\/#VBA%E3%82%B3%E3%83%BC%E3%83%89-2\" title=\"VBA\u30b3\u30fc\u30c9\">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=9503\/#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-3'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/extan.jp\/?p=9503\/#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-14\" href=\"https:\/\/extan.jp\/?p=9503\/#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-15\" href=\"https:\/\/extan.jp\/?p=9503\/#VBA%E3%82%92%E5%AE%9F%E8%A1%8C%E3%81%99%E3%82%8B-3\" 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-16\" href=\"https:\/\/extan.jp\/?p=9503\/#%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=\"VBA%E3%81%A7%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E3%82%92ZIP%E5%BD%A2%E5%BC%8F%E3%81%A7%E5%9C%A7%E7%B8%AE%E3%81%99%E3%82%8B%E3%82%A4%E3%83%A1%E3%83%BC%E3%82%B8\"><\/span>VBA\u3067\u30d5\u30a1\u30a4\u30eb\u3092ZIP\u5f62\u5f0f\u3067\u5727\u7e2e\u3059\u308b\u30a4\u30e1\u30fc\u30b8<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>VBA\u3067\u30d5\u30a1\u30a4\u30eb\u3092ZIP\u5f62\u5f0f\u3067\u5727\u7e2e\u3059\u308b\u30a4\u30e1\u30fc\u30b8\u306b\u3064\u3044\u3066\u8aac\u660e\u3092\u3057\u307e\u3059\u3002<\/p>\n<p>Excel\u5074\u306bPDF\u4fdd\u5b58\u5148\u30d1\u30b9\u3092\u5165\u529b\u3057\u305f\u4e00\u89a7\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9557\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/09\/092022_0157_6.png\" alt=\"\" width=\"446\" height=\"168\" srcset=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/09\/092022_0157_6.png 446w, https:\/\/extan.jp\/wp-content\/uploads\/2022\/09\/092022_0157_6-300x113.png 300w\" sizes=\"auto, (max-width: 446px) 100vw, 446px\" \/><\/p>\n<p>VBA\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u8907\u6570\u306e\u30d5\u30a1\u30a4\u30eb\u304c\u305d\u308c\u305e\u308cZIP\u5f62\u5f0f\u3067\u5727\u7e2e\u3055\u308c\u3001\u6307\u5b9a\u306e\u7b87\u6240\u306b\u4fdd\u5b58\u3055\u308c\u307e\u3059\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9553\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/09\/092022_0157_2.png\" alt=\"\" width=\"187\" height=\"320\" srcset=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/09\/092022_0157_2.png 187w, https:\/\/extan.jp\/wp-content\/uploads\/2022\/09\/092022_0157_2-175x300.png 175w\" sizes=\"auto, (max-width: 187px) 100vw, 187px\" \/><\/p>\n<p>\u6b21\u306b\u8907\u6570\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u3072\u3068\u3064\u306eZIP\u30d5\u30a1\u30a4\u30eb\u306b\u307e\u3068\u3081\u307e\u3059\u3002<br \/>\n\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u6307\u5b9a\u3057\u3001<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9558\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/09\/092022_0157_7.png\" alt=\"\" width=\"514\" height=\"185\" srcset=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/09\/092022_0157_7.png 514w, https:\/\/extan.jp\/wp-content\/uploads\/2022\/09\/092022_0157_7-300x108.png 300w\" sizes=\"auto, (max-width: 514px) 100vw, 514px\" \/><\/p>\n<p>VBA\u3092\u5b9f\u884c\u3059\u308b\u3068\u3072\u3068\u3064\u306eZIP\u30d5\u30a1\u30a4\u30eb\u3068\u3057\u3066\u5727\u7e2e\u3055\u308c\u3001\u6307\u5b9a\u306e\u7b87\u6240\u306b\u4fdd\u5b58\u3057\u3066\u3044\u304d\u307e\u3059\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9559\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/09\/092022_0157_8.png\" alt=\"\" width=\"173\" height=\"227\" \/><\/p>\n<p>ZIP\u30d5\u30a1\u30a4\u30eb\u306e\u4e2d\u8eab\u3067\u3059\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9560\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/09\/092022_0157_9.png\" alt=\"\" width=\"190\" height=\"207\" \/><\/p>\n<p>\u306a\u306b\u304b\u3068\u591a\u3044ZIP\u5727\u7e2e\u304c\u4e00\u5ea6\u306b\u51e6\u7406\u3067\u304d\u308b\u306e\u3067\u4fbf\u5229\u3067\u3059\u306d\uff01<\/p>\n<p>\u305d\u308c\u3067\u306f\u65e9\u901f\u8a66\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"VBA%E3%81%A7%E8%A4%87%E6%95%B0%E3%81%AE%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E3%82%92%E3%81%9D%E3%82%8C%E3%81%9E%E3%82%8CZIP%E5%BD%A2%E5%BC%8F%E3%81%A7%E5%9C%A7%E7%B8%AE%E3%81%99%E3%82%8B\"><\/span>VBA\u3067\u8907\u6570\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u305d\u308c\u305e\u308cZIP\u5f62\u5f0f\u3067\u5727\u7e2e\u3059\u308b<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>VBA\u3067\u8907\u6570\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u305d\u308c\u305e\u308cZIP\u5f62\u5f0f\u3067\u5727\u7e2e\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8aac\u660e\u3092\u3057\u307e\u3059\u3002<\/p>\n<h3><span class=\"ez-toc-section\" id=\"PDF%E4%BF%9D%E5%AD%98%E5%85%88%E3%83%AA%E3%82%B9%E3%83%88%E3%82%92%E6%BA%96%E5%82%99%E3%81%99%E3%82%8B\"><\/span>PDF\u4fdd\u5b58\u5148\u30ea\u30b9\u30c8\u3092\u6e96\u5099\u3059\u308b<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Excel\u306bPDF\u4fdd\u5b58\u5148\u30d1\u30b9\u4e00\u89a7\u3092A\u5217\u306b\u3001ZIP\u5727\u7e2e\u5148\u30d1\u30b9\u3068\u30d5\u30a1\u30a4\u30eb\u540d\u4e00\u89a7\u3092B\u5217\u306b\u5165\u529b\u3057\u3066\u3044\u304d\u307e\u3059\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9557\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/09\/092022_0157_6.png\" alt=\"\" width=\"446\" height=\"168\" srcset=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/09\/092022_0157_6.png 446w, https:\/\/extan.jp\/wp-content\/uploads\/2022\/09\/092022_0157_6-300x113.png 300w\" sizes=\"auto, (max-width: 446px) 100vw, 446px\" \/><\/p>\n<p>\u3053\u306e\u30ea\u30b9\u30c8\u306b\u6cbf\u3063\u3066\u3001ZIP\u30d5\u30a1\u30a4\u30eb\u304c\u4f5c\u6210\/\u4fdd\u5b58\u3055\u308c\u308b\u5f62\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u307e\u305fZIP\u5727\u7e2e\u5bfe\u8c61\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u7528\u610f\u3057\u307e\u3057\u3087\u3046\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9552\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/09\/092022_0157_1.png\" alt=\"\" width=\"228\" height=\"206\" \/><\/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>\u30b5\u30f3\u30d7\u30eb\u306eVBA\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 \u8907\u6570\u306e\u5bfe\u8c61\u30d5\u30a1\u30a4\u30eb\u3092\u305d\u308c\u305e\u308cZIP\u5727\u7e2e\u3059\u308b()\n    \n    Dim strCommand As String\n    Dim objWsh As Object\n    Dim intEndrow As Integer\n    Dim i As Integer\n    \n    &#039;Wscript.Shell\u3092\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u30bb\u30c3\u30c8\u3057\u307e\u3059\u3002\n    Set objWsh = CreateObject(&quot;WScript.Shell&quot;)\n\n    &#039;\u30de\u30af\u30ed\u5b9f\u88c5\u30d6\u30c3\u30af\u306e\uff11\u30b7\u30fc\u30c8\u76ee\u3092\u5bfe\u8c61\u306b\u3057\u307e\u3059\u3002\n    With ThisWorkbook.Worksheets(1)\n    \n        &#039;PDF\u51fa\u529b\u5148\u30ea\u30b9\u30c8\u306e\u6700\u7d42\u884c\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002\n        intEndrow = .Cells(Rows.Count, 1).End(xlUp).Row\n        \n        &#039;3\u884c\u76ee\u304b\u3089\u6700\u7d42\u884c\u307e\u3067\u51e6\u7406\u3092\u7e70\u308a\u8fd4\u3057\u307e\u3059\u3002\n        For i = 3 To intEndrow\n\n           &#039;PowerShell\u306eZIP\u5727\u7e2e\u30b3\u30de\u30f3\u30c9\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\n           strCommand = &quot;powershell -NoProfile -ExecutionPolicy Unrestricted Compress-Archive -Path &quot; &amp; .Cells(i, 1).Value &amp; &quot; -DestinationPath &quot; &amp; .Cells(i, 2).Value &amp; &quot; -Force&quot;\n           \n           &#039;ZIP\u5727\u7e2e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\n           objWsh.Run Command:=strCommand, WindowStyle:=0, WaitOnReturn:=True\n    \n        Next i\n    \n    End With\n\n    MsgBox &quot;ZIP\u5727\u7e2e\u304c\u5b8c\u4e86\u3057\u307e\u3057\u305f\u3002&quot;\n\n    &#039;\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u958b\u653e\u3057\u307e\u3059\u3002\n    Set objWsh = Nothing\n    \nEnd Sub<\/code><\/pre>\n<h3><span class=\"ez-toc-section\" id=\"VBA%E3%82%92%E8%A8%AD%E5%AE%9A%E3%81%99%E3%82%8B\"><\/span>VBA\u3092\u8a2d\u5b9a\u3059\u308b<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u30de\u30af\u30ed\u5b9f\u88c5\u30d6\u30c3\u30af\u306e\uff11\u30b7\u30fc\u30c8\u76ee\u3092\u5bfe\u8c61\u306b\u3057\u307e\u3059\u3002\u30b7\u30fc\u30c8\u540d\u3092\u6307\u5b9a\u3057\u305f\u3044\u5834\u5408\u306f\u30b7\u30fc\u30c8\u756a\u53f7\u300c1\u300d\u3092\u30b7\u30fc\u30c8\u540d\u306b\u5909\u66f4\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<div class=\"info\"><code>With ThisWorkbook.Worksheets(1)<\/code><\/div>\n<p>PDF\u51fa\u529b\u5148\u30ea\u30b9\u30c8\u306e\u6700\u7d42\u884c\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002Excel\u30d6\u30c3\u30af1\u30b7\u30fc\u30c8\u76ee\u306eA\u5217\u3092\u5bfe\u8c61\u3068\u3057\u3066\u3044\u307e\u3059\u306e\u3067\u3001\u5909\u66f4\u3059\u308b\u5834\u5408\u306f\u5217\u756a\u53f7\u300c1\u300d\u3092\u5225\u306e\u5217\u756a\u53f7\u306b\u5909\u66f4\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<div class=\"info\"><code>intEndrow = .Cells(Rows.Count, 1).End(xlUp).Row<\/code><\/div>\n<p>3\u884c\u76ee\u304b\u3089\u6700\u7d42\u884c\u307e\u3067\u51e6\u7406\u3092\u7e70\u308a\u8fd4\u3057\u307e\u3059\u3002\u958b\u59cb\u884c\u304c3\u884c\u76ee\u3067\u306a\u3044\u5834\u5408\u306f\u5909\u66f4\u3092\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<div class=\"info\"><code>For i = 3 To intEndrow<\/code><\/div>\n<h3><span class=\"ez-toc-section\" id=\"VBA%E3%81%AE%E5%AE%9F%E8%A3%85\"><\/span>VBA\u306e\u5b9f\u88c5<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>VBA\u3092\u5b9f\u884c\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u305d\u308c\u305e\u308c\u306e\u30d5\u30a1\u30a4\u30eb\u304cZIP\u5727\u7e2e\u3055\u308c\u3001\u6307\u5b9a\u306e\u30d1\u30b9\u306b\u683c\u7d0d\u3055\u308c\u3066\u3044\u307e\u3059\u306d\uff01<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9553\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/09\/092022_0157_2.png\" alt=\"\" width=\"187\" height=\"320\" srcset=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/09\/092022_0157_2.png 187w, https:\/\/extan.jp\/wp-content\/uploads\/2022\/09\/092022_0157_2-175x300.png 175w\" sizes=\"auto, (max-width: 187px) 100vw, 187px\" \/><\/p>\n<p>\u4e2d\u8eab\u3082\u6307\u5b9a\u306e\u30d5\u30a1\u30a4\u30eb\u901a\u308a\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9554\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/09\/092022_0157_3.png\" alt=\"\" width=\"204\" height=\"160\" \/><\/p>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9555\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/09\/092022_0157_4.png\" alt=\"\" width=\"192\" height=\"191\" srcset=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/09\/092022_0157_4.png 192w, https:\/\/extan.jp\/wp-content\/uploads\/2022\/09\/092022_0157_4-150x150.png 150w\" sizes=\"auto, (max-width: 192px) 100vw, 192px\" \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9556\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/09\/092022_0157_5.png\" alt=\"\" width=\"202\" height=\"159\" \/>\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\u306b\u3064\u3044\u3066\u8aac\u660e\u3092\u3057\u307e\u3059\u3002<\/p>\n<p>Wscript.Shell\u3092\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u30bb\u30c3\u30c8\u3057\u307e\u3059\u3002<\/p>\n<div class=\"info\"><code>Set objWsh = CreateObject(&quot;WScript.Shell&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\">VBA\u3067\u306fZIP\u5727\u7e2e\u306e\u95a2\u6570\u306f\u7528\u610f\u3055\u308c\u3066\u3044\u306a\u3044\u306e\u3067Windows\u306e\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u3067PowerShell\u306b\u3042\u308bZIP\u30b3\u30de\u30f3\u30c9\u304b\u3089\u5b9f\u884c\u3059\u308b\u5f62\u306b\u306a\u308a\u307e\u3059\u3002<\/div>\n<\/div>\n<\/div>\n<p><!--\u5439\u304d\u51fa\u3057\u7d42\u308f\u308a--><\/p>\n<p>\u30de\u30af\u30ed\u5b9f\u88c5\u30d6\u30c3\u30af\u306e\uff11\u30b7\u30fc\u30c8\u76ee\u3092\u5bfe\u8c61\u306b\u3057\u307e\u3059\u3002<\/p>\n<div class=\"info\"><code>With ThisWorkbook.Worksheets(1)<\/code><\/div>\n<p>PDF\u51fa\u529b\u5148\u30ea\u30b9\u30c8\u306e\u6700\u7d42\u884c\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\n<div class=\"info\"><code>intEndrow = .Cells(Rows.Count, 1).End(xlUp).Row<\/code><\/div>\n<p>3\u884c\u76ee\u304b\u3089\u6700\u7d42\u884c\u307e\u3067\u51e6\u7406\u3092\u7e70\u308a\u8fd4\u3057\u307e\u3059\u3002<\/p>\n<div class=\"info\"><code>For i = 3 To intEndrow<\/code><\/div>\n<p>PowerShell\u306eZIP\u5727\u7e2e\u30b3\u30de\u30f3\u30c9\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<div class=\"info\"><code>strCommand = &quot;powershell -NoProfile -ExecutionPolicy Unrestricted Compress-Archive -Path &quot; &amp; .Cells(i, 1).Value &amp; &quot; -DestinationPath &quot; &amp; .Cells(i, 2).Value &amp; &quot; -Force&quot;<\/code><\/div>\n<table width=\"100%\">\n<tbody>\n<tr>\n<th>\u30b3\u30de\u30f3\u30c9\u540d<\/th>\n<td>Compress-Archive<\/td>\n<\/tr>\n<tr>\n<th>\u6a5f\u80fd<\/th>\n<td>\u6307\u5b9a\u3055\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u3068\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304b\u3089\u3001\u5727\u7e2e\u3055\u308c\u305f\u30a2\u30fc\u30ab\u30a4\u30d6 (zip \u30d5\u30a1\u30a4\u30eb) \u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<th>\u5f15\u6570<\/th>\n<td>-Path:\u5727\u7e2e\u5143\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9 \u5fc5\u9808<br \/>\n-DestinationPath:\u5727\u7e2e\u30d5\u30a1\u30a4\u30eb\u51fa\u529b\u5148\u30d1\u30b9 \u5fc5\u9808<br \/>\n-Force:\u4e0a\u66f8\u304d\u6307\u5b9a\u3002\u6307\u5b9a\u306a\u3057\u3067\u540c\u540d\u306e\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u5834\u5408\u306f\u30a8\u30e9\u30fc\u3068\u306a\u308b\u3002<br \/>\n-CompressionLevel:\u5727\u7e2e\u91cf\uff08\u30ec\u30d9\u30eb\uff09\u3092\u6307\u5b9a<br \/>\nFastest\uff1a\u6700\u901f\u306e\u5727\u7e2e\u6cd5\u3002\u30d5\u30a1\u30a4\u30eb\u30b5\u30a4\u30ba\u4e2d<br \/>\nNoCompression\uff1a\u5727\u7e2e\u306a\u3057\u3002\u30d5\u30a1\u30a4\u30eb\u30b5\u30a4\u30ba\u5927<br \/>\nOptimal\uff1a\u51e6\u7406\u6642\u9593\u6700\u9069\u5316\u3002\u30d5\u30a1\u30a4\u30eb\u30b5\u30a4\u30ba\u5c0f<br \/>\n-Update\uff1a\u6307\u5b9a\u3055\u308c\u305f\u30a2\u30fc\u30ab\u30a4\u30d6\u30d5\u30a1\u30a4\u30eb\u3092\u66f4\u65b0<br \/>\n-WhatIf\uff1a\u30b3\u30de\u30f3\u30c9\u30ec\u30c3\u30c8\u304c\u5b9f\u884c\u3055\u308c\u305f\u5834\u5408\u306e\u52d5\u4f5c\uff08\u5b9f\u969b\u306b\u5727\u7e2e\u5b9f\u884c\u306f\u3057\u306a\u3044\uff09<br \/>\n-Confirm\uff1a\u30b3\u30de\u30f3\u30c9\u30ec\u30c3\u30c8\u3092\u5b9f\u884c\u3059\u308b\u524d\u306e\u78ba\u8a8d\u6709\u7121<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u53c2\u8003\uff1ahttps:\/\/learn.microsoft.com\/ja-jp\/powershell\/module\/microsoft.powershell.archive\/compress-archive?view=powershell-7.2<\/p>\n<p>ZIP\u5727\u7e2e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<div class=\"info\"><code>objWsh.Run Command:=strCommand, WindowStyle:=0, WaitOnReturn:=True<\/code><\/div>\n<p>\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u958b\u653e\u3057\u307e\u3059\u3002<\/p>\n<div class=\"info\"><code>Set objWsh = Nothing<\/code><\/div>\n<h2><span class=\"ez-toc-section\" id=\"VBA%E3%81%A7%E8%A4%87%E6%95%B0%E3%81%AE%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E3%82%92%E3%81%BE%E3%81%A8%E3%82%81%E3%81%A6ZIP%E5%BD%A2%E5%BC%8F%E3%81%A7%E5%9C%A7%E7%B8%AE%E3%81%99%E3%82%8B\"><\/span>VBA\u3067\u8907\u6570\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u307e\u3068\u3081\u3066ZIP\u5f62\u5f0f\u3067\u5727\u7e2e\u3059\u308b<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>VBA\u3067\u8907\u6570\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u307e\u3068\u3081\u3066ZIP\u5f62\u5f0f\u3067\u5727\u7e2e\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8aac\u660e\u3092\u3057\u307e\u3059\u3002<\/p>\n<h3><span class=\"ez-toc-section\" id=\"PDF%E4%BF%9D%E5%AD%98%E5%85%88%E3%83%AA%E3%82%B9%E3%83%88%E3%82%92%E6%BA%96%E5%82%99%E3%81%99%E3%82%8B-2\"><\/span>PDF\u4fdd\u5b58\u5148\u30ea\u30b9\u30c8\u3092\u6e96\u5099\u3059\u308b<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Excel\u306bPDF\u4fdd\u5b58\u5148\u30d1\u30b9\u4e00\u89a7\u3092A\u5217\u306b\u3001\u3072\u3068\u3064\u306eZIP\u5727\u7e2e\u5148\u30d1\u30b9\u3068\u30d5\u30a1\u30a4\u30eb\u540d\u3092B\u5217\u306b\u5165\u529b\u3057\u3066\u3044\u304d\u307e\u3059\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9558\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/09\/092022_0157_7.png\" alt=\"\" width=\"514\" height=\"185\" srcset=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/09\/092022_0157_7.png 514w, https:\/\/extan.jp\/wp-content\/uploads\/2022\/09\/092022_0157_7-300x108.png 300w\" sizes=\"auto, (max-width: 514px) 100vw, 514px\" \/><\/p>\n<p>\u3053\u306e\u30ea\u30b9\u30c8\u306b\u6cbf\u3063\u3066\u3001ZIP\u30d5\u30a1\u30a4\u30eb\u304c\u4f5c\u6210\/\u4fdd\u5b58\u3055\u308c\u308b\u5f62\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u30d5\u30a1\u30a4\u30eb\u306f\u524d\u56de\u3068\u540c\u69d8\u3067\u3059\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9552\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/09\/092022_0157_1.png\" alt=\"\" width=\"228\" height=\"206\" \/><\/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>\u30b5\u30f3\u30d7\u30eb\u306eVBA\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 \u8907\u6570\u306e\u5bfe\u8c61\u30d5\u30a1\u30a4\u30eb\u3092\u3072\u3068\u3064\u306b\u307e\u3068\u3081ZIP\u5727\u7e2e\u3059\u308b()\n    \n    Dim strMotoFilePath As String\n    Dim strCommand As String\n    Dim objWsh As Object\n    Dim intEndrow As Integer\n    Dim i As Integer\n    \n    &#039;Wscript.Shell\u3092\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u30bb\u30c3\u30c8\u3057\u307e\u3059\u3002\n    Set objWsh = CreateObject(&quot;WScript.Shell&quot;)\n\n    &#039;\u30de\u30af\u30ed\u5b9f\u88c5\u30d6\u30c3\u30af\u306e\uff11\u30b7\u30fc\u30c8\u76ee\u3092\u5bfe\u8c61\u306b\u3057\u307e\u3059\u3002\n    With ThisWorkbook.Worksheets(1)\n    \n        &#039;PDF\u51fa\u529b\u5148\u30ea\u30b9\u30c8\u306e\u6700\u7d42\u884c\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002\n        intEndrow = .Cells(Rows.Count, 1).End(xlUp).Row\n        \n        &#039;3\u884c\u76ee\u304b\u3089\u6700\u7d42\u884c\u307e\u3067\u51e6\u7406\u3092\u7e70\u308a\u8fd4\u3057\u307e\u3059\u3002\n        For i = 3 To intEndrow\n            \n            &#039;\u5bfe\u8c61\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u3092\u6587\u5b57\u7d50\u5408\u3057\u307e\u3059\u3002\n            strMotoFilePath = .Cells(i, 1).Value &amp; &quot;,&quot; &amp; strMotoFilePath\n    \n        Next i\n        \n        &#039;\u30d0\u30b0\u308b\u306e\u3067\u672b\u5c3e\u306e&quot;,&quot;\u3092\u524a\u9664\u3057\u307e\u3059\u3002\n        strMotoFilePath = Left(strMotoFilePath, Len(strMotoFilePath) - 1)\n        \n        &#039;PowerShell\u306eZIP\u5727\u7e2e\u30b3\u30de\u30f3\u30c9\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\n        strCommand = &quot;powershell -NoProfile -ExecutionPolicy Unrestricted Compress-Archive -Path &quot; &amp; strMotoFilePath &amp; &quot; -DestinationPath &quot; &amp; .Range(&quot;B3&quot;).Value &amp; &quot; -Force&quot;\n\n    End With\n    \n    &#039;ZIP\u5727\u7e2e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\n    objWsh.Run Command:=strCommand, WindowStyle:=0, WaitOnReturn:=True\n    \n\n    MsgBox &quot;ZIP\u5727\u7e2e\u304c\u5b8c\u4e86\u3057\u307e\u3057\u305f\u3002&quot;\n\n    &#039;\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u958b\u653e\u3057\u307e\u3059\u3002\n    Set objWsh = Nothing\n    \nEnd Sub<\/code><\/pre>\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>\u305d\u308c\u305e\u308c\u306e\u30d5\u30a1\u30a4\u30eb\u304c\u3072\u3068\u3064\u306bZIP\u5727\u7e2e\u3055\u308c\u3001\u6307\u5b9a\u306e\u30d1\u30b9\u306b\u683c\u7d0d\u3055\u308c\u3066\u3044\u307e\u3059\u306d\uff01<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9559\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/09\/092022_0157_8.png\" alt=\"\" width=\"173\" height=\"227\" \/><\/p>\n<p>\u4e2d\u8eab\u3082\u6307\u5b9a\u306e\u30d5\u30a1\u30a4\u30eb\u901a\u308a\u306b\u306a\u3063\u3066\u3044\u307e\u3059\uff01<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9560\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/09\/092022_0157_9.png\" alt=\"\" width=\"190\" height=\"207\" \/><\/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\u306b\u3064\u3044\u3066\u8aac\u660e\u3092\u3057\u307e\u3059\u3002<\/p>\n<p>Wscript.Shell\u3092\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u30bb\u30c3\u30c8\u3057\u307e\u3059\u3002<\/p>\n<div class=\"info\"><code>Set objWsh = CreateObject(&quot;WScript.Shell&quot;)<\/code><\/div>\n<p>\u30de\u30af\u30ed\u5b9f\u88c5\u30d6\u30c3\u30af\u306e\uff11\u30b7\u30fc\u30c8\u76ee\u3092\u5bfe\u8c61\u306b\u3057\u307e\u3059\u3002<\/p>\n<div class=\"info\"><code>With ThisWorkbook.Worksheets(1)<\/code><\/div>\n<p>PDF\u51fa\u529b\u5148\u30ea\u30b9\u30c8\u306e\u6700\u7d42\u884c\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\n<div class=\"info\"><code>intEndrow = .Cells(Rows.Count, 1).End(xlUp).Row<\/code><\/div>\n<p>3\u884c\u76ee\u304b\u3089\u6700\u7d42\u884c\u307e\u3067\u51e6\u7406\u3092\u7e70\u308a\u8fd4\u3057\u307e\u3059\u3002<\/p>\n<div class=\"info\"><code>For i = 3 To intEndrow<\/code><\/div>\n<p>\u5bfe\u8c61\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u3092\u6587\u5b57\u7d50\u5408\u3057\u307e\u3059\u3002<\/p>\n<div class=\"info\"><code>strMotoFilePath = .Cells(i, 1).Value &amp; &quot;,&quot; &amp; strMotoFilePath<\/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\">\u5bfe\u8c61\u30d5\u30a1\u30a4\u30eb\u3092\u30ab\u30f3\u30de&#8221;,&#8221;\u3067\u533a\u5207\u3063\u3066\u6307\u5b9a\u3092\u3059\u308b\u3068\u51e6\u7406\u5bfe\u8c61\u3068\u3057\u3066\u307e\u3068\u3081\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/div>\n<\/div>\n<\/div>\n<p><!--\u5439\u304d\u51fa\u3057\u7d42\u308f\u308a--><\/p>\n<p>\u30d0\u30b0\u308b\u306e\u3067strMotoFilePath\u672b\u5c3e\u306e&#8221;,&#8221;\u3092\u524a\u9664\u3057\u307e\u3059\u3002<\/p>\n<div class=\"info\"><code>strMotoFilePath = Left(strMotoFilePath, Len(strMotoFilePath) - 1)<\/code><\/div>\n<p>PowerShell\u306eZIP\u5727\u7e2e\u30b3\u30de\u30f3\u30c9\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<div class=\"info\"><code>strCommand = &quot;powershell -NoProfile -ExecutionPolicy Unrestricted Compress-Archive -Path &quot; &amp; strMotoFilePath &amp; &quot; -DestinationPath &quot; &amp; .Range(&quot;B3&quot;).Value &amp; &quot; -Force&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\">\u5f15\u6570\u306e\u69cb\u6210\u306f\u524d\u56de\u3068\u5909\u308f\u308a\u307e\u305b\u3093\u3002<\/div>\n<\/div>\n<\/div>\n<p><!--\u5439\u304d\u51fa\u3057\u7d42\u308f\u308a--><\/p>\n<p>ZIP\u5727\u7e2e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<div class=\"info\"><code>objWsh.Run Command:=strCommand, WindowStyle:=0, WaitOnReturn:=True<\/code><\/div>\n<p>\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u958b\u653e\u3057\u307e\u3059\u3002<\/p>\n<div class=\"info\"><code>Set objWsh = 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=\"%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\">\u30fbVBA\u3067\u8907\u6570\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u305d\u308c\u305e\u308cZIP\u5f62\u5f0f\u3067\u5727\u7e2e\u3059\u308b\u65b9\u6cd5<br \/>\n\u30fbVBA\u3067\u8907\u6570\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u307e\u3068\u3081\u3066ZIP\u5f62\u5f0f\u3067\u5727\u7e2e\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>\u30d5\u30a1\u30a4\u30eb\u3092ZIP\u5f62\u5f0f\u3067\u5727\u7e2e\u3059\u308b\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 \u30fb\u30d5\u30a1\u30a4\u30eb\u3092ZIP\u5f62\u5f0f\u3067\u5727\u7e2e\u3059\u308b\u3057\u305f\u3044\u304c\u65b9\u6cd5\u304c\u3088\u304f\u308f\u304b\u3089\u306a\u3044 \u30fbVBA\u3067\u8907\u6570\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u4e00\u62ec\u3067ZIP\u5727\u7e2e\u3059\u308b\u3057\u305f\u3044\u304c\u65b9\u6cd5\u304c\u3088\u304f\u308f\u304b&#8230;<\/p>\n","protected":false},"author":1,"featured_media":9562,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,204],"tags":[203],"class_list":{"0":"post-9503","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-excelvba","8":"category-powershell","9":"tag-powershell","10":"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=\"\u30fbVBA\u3067\u8907\u6570\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u305d\u308c\u305e\u308cZIP\u5f62\u5f0f\u3067\u5727\u7e2e\u3059\u308b\u65b9\u6cd5\u30fbVBA\u3067\u8907\u6570\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u307e\u3068\u3081\u3066ZIP\u5f62\u5f0f\u3067\u5727\u7e2e\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=9503\" \/>\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\u3092ZIP\u5f62\u5f0f\u3067\u5727\u7e2e\u3059\u308b\u65b9\u6cd5\uff01\u8907\u6570\u4e00\u62ec\u51e6\u7406\u3082\u53ef\uff01 - \u30a8\u30af\u77ed\uff5cExtan.jp\" \/>\n<meta property=\"og:description\" content=\"\u30fbVBA\u3067\u8907\u6570\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u305d\u308c\u305e\u308cZIP\u5f62\u5f0f\u3067\u5727\u7e2e\u3059\u308b\u65b9\u6cd5\u30fbVBA\u3067\u8907\u6570\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u307e\u3068\u3081\u3066ZIP\u5f62\u5f0f\u3067\u5727\u7e2e\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u307e\u3068\u3081\u307e\u3059\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/extan.jp\/?p=9503\" \/>\n<meta property=\"og:site_name\" content=\"\u30a8\u30af\u77ed\uff5cExtan.jp\" \/>\n<meta property=\"article:published_time\" content=\"2022-09-19T23:25:54+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-12-20T13:45:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/09\/str-130.png\" \/>\n\t<meta property=\"og:image:width\" content=\"687\" \/>\n\t<meta property=\"og:image:height\" content=\"487\" \/>\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=\"18\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=9503#primaryimage\",\"inLanguage\":\"ja\",\"url\":\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/09\/str-130.png\",\"contentUrl\":\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/09\/str-130.png\",\"width\":687,\"height\":487,\"caption\":\"\u3010Excel VBA\u3011\u30d5\u30a1\u30a4\u30eb\u3092ZIP\u5f62\u5f0f\u3067\u5727\u7e2e\u3059\u308b\u65b9\u6cd5\uff01\u8907\u6570\u4e00\u62ec\u51e6\u7406\u3082\u53ef\uff01\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/extan.jp\/?p=9503#webpage\",\"url\":\"https:\/\/extan.jp\/?p=9503\",\"name\":\"\u3010Excel VBA\u3011\u30d5\u30a1\u30a4\u30eb\u3092ZIP\u5f62\u5f0f\u3067\u5727\u7e2e\u3059\u308b\u65b9\u6cd5\uff01\u8907\u6570\u4e00\u62ec\u51e6\u7406\u3082\u53ef\uff01 - \u30a8\u30af\u77ed\uff5cExtan.jp\",\"isPartOf\":{\"@id\":\"https:\/\/extan.jp\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/extan.jp\/?p=9503#primaryimage\"},\"datePublished\":\"2022-09-19T23:25:54+00:00\",\"dateModified\":\"2022-12-20T13:45:00+00:00\",\"author\":{\"@id\":\"https:\/\/extan.jp\/#\/schema\/person\/ccb8849fcf749d5f74439b1af7d4df1a\"},\"description\":\"\u30fbVBA\u3067\u8907\u6570\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u305d\u308c\u305e\u308cZIP\u5f62\u5f0f\u3067\u5727\u7e2e\u3059\u308b\u65b9\u6cd5\u30fbVBA\u3067\u8907\u6570\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u307e\u3068\u3081\u3066ZIP\u5f62\u5f0f\u3067\u5727\u7e2e\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u307e\u3068\u3081\u307e\u3059\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/extan.jp\/?p=9503#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/extan.jp\/?p=9503\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/extan.jp\/?p=9503#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\u3092ZIP\u5f62\u5f0f\u3067\u5727\u7e2e\u3059\u308b\u65b9\u6cd5\uff01\u8907\u6570\u4e00\u62ec\u51e6\u7406\u3082\u53ef\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":"\u30fbVBA\u3067\u8907\u6570\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u305d\u308c\u305e\u308cZIP\u5f62\u5f0f\u3067\u5727\u7e2e\u3059\u308b\u65b9\u6cd5\u30fbVBA\u3067\u8907\u6570\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u307e\u3068\u3081\u3066ZIP\u5f62\u5f0f\u3067\u5727\u7e2e\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=9503","og_locale":"ja_JP","og_type":"article","og_title":"\u3010Excel VBA\u3011\u30d5\u30a1\u30a4\u30eb\u3092ZIP\u5f62\u5f0f\u3067\u5727\u7e2e\u3059\u308b\u65b9\u6cd5\uff01\u8907\u6570\u4e00\u62ec\u51e6\u7406\u3082\u53ef\uff01 - \u30a8\u30af\u77ed\uff5cExtan.jp","og_description":"\u30fbVBA\u3067\u8907\u6570\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u305d\u308c\u305e\u308cZIP\u5f62\u5f0f\u3067\u5727\u7e2e\u3059\u308b\u65b9\u6cd5\u30fbVBA\u3067\u8907\u6570\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u307e\u3068\u3081\u3066ZIP\u5f62\u5f0f\u3067\u5727\u7e2e\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u307e\u3068\u3081\u307e\u3059\u3002","og_url":"https:\/\/extan.jp\/?p=9503","og_site_name":"\u30a8\u30af\u77ed\uff5cExtan.jp","article_published_time":"2022-09-19T23:25:54+00:00","article_modified_time":"2022-12-20T13:45:00+00:00","og_image":[{"width":687,"height":487,"url":"https:\/\/extan.jp\/wp-content\/uploads\/2022\/09\/str-130.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":"18\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=9503#primaryimage","inLanguage":"ja","url":"https:\/\/extan.jp\/wp-content\/uploads\/2022\/09\/str-130.png","contentUrl":"https:\/\/extan.jp\/wp-content\/uploads\/2022\/09\/str-130.png","width":687,"height":487,"caption":"\u3010Excel VBA\u3011\u30d5\u30a1\u30a4\u30eb\u3092ZIP\u5f62\u5f0f\u3067\u5727\u7e2e\u3059\u308b\u65b9\u6cd5\uff01\u8907\u6570\u4e00\u62ec\u51e6\u7406\u3082\u53ef\uff01"},{"@type":"WebPage","@id":"https:\/\/extan.jp\/?p=9503#webpage","url":"https:\/\/extan.jp\/?p=9503","name":"\u3010Excel VBA\u3011\u30d5\u30a1\u30a4\u30eb\u3092ZIP\u5f62\u5f0f\u3067\u5727\u7e2e\u3059\u308b\u65b9\u6cd5\uff01\u8907\u6570\u4e00\u62ec\u51e6\u7406\u3082\u53ef\uff01 - \u30a8\u30af\u77ed\uff5cExtan.jp","isPartOf":{"@id":"https:\/\/extan.jp\/#website"},"primaryImageOfPage":{"@id":"https:\/\/extan.jp\/?p=9503#primaryimage"},"datePublished":"2022-09-19T23:25:54+00:00","dateModified":"2022-12-20T13:45:00+00:00","author":{"@id":"https:\/\/extan.jp\/#\/schema\/person\/ccb8849fcf749d5f74439b1af7d4df1a"},"description":"\u30fbVBA\u3067\u8907\u6570\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u305d\u308c\u305e\u308cZIP\u5f62\u5f0f\u3067\u5727\u7e2e\u3059\u308b\u65b9\u6cd5\u30fbVBA\u3067\u8907\u6570\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u307e\u3068\u3081\u3066ZIP\u5f62\u5f0f\u3067\u5727\u7e2e\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u307e\u3068\u3081\u307e\u3059\u3002","breadcrumb":{"@id":"https:\/\/extan.jp\/?p=9503#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/extan.jp\/?p=9503"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/extan.jp\/?p=9503#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\u3092ZIP\u5f62\u5f0f\u3067\u5727\u7e2e\u3059\u308b\u65b9\u6cd5\uff01\u8907\u6570\u4e00\u62ec\u51e6\u7406\u3082\u53ef\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\/9503","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=9503"}],"version-history":[{"count":2,"href":"https:\/\/extan.jp\/index.php?rest_route=\/wp\/v2\/posts\/9503\/revisions"}],"predecessor-version":[{"id":9563,"href":"https:\/\/extan.jp\/index.php?rest_route=\/wp\/v2\/posts\/9503\/revisions\/9563"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/extan.jp\/index.php?rest_route=\/wp\/v2\/media\/9562"}],"wp:attachment":[{"href":"https:\/\/extan.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9503"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/extan.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9503"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/extan.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9503"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}