{"id":5712,"date":"2023-04-19T17:06:46","date_gmt":"2023-04-19T08:06:46","guid":{"rendered":"https:\/\/okamurax.com\/?p=5712"},"modified":"2023-04-19T17:06:46","modified_gmt":"2023-04-19T08:06:46","slug":"vba-%e3%83%a2%e3%82%b8%e3%83%a5%e3%83%bc%e3%83%ab%e3%82%a8%e3%82%af%e3%82%b9%e3%83%9d%e3%83%bc%e3%83%88","status":"publish","type":"post","link":"https:\/\/appbay.org\/?p=5712","title":{"rendered":"VBA \u30e2\u30b8\u30e5\u30fc\u30eb\u30a8\u30af\u30b9\u30dd\u30fc\u30c8"},"content":{"rendered":"<pre class=\"lang:vb decode:true \">Sub export()\r\n\r\n' VBA\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30e2\u30c7\u30eb\u3078\u306e\u30a2\u30af\u30bb\u30b9\u3092\u4fe1\u983c\u3059\u308b\r\n' \u53c2\u7167\u8a2d\u5b9a\u3000Microsoft Visual Basic for Applications Extensibility\r\n\r\nFor Each m In ThisWorkbook.VBProject.VBComponents\r\n\r\n  extension = \"\"\r\n\r\n  If m.Type = vbext_ct_ClassModule Then extension = \"cls\"\r\n  If m.Type = vbext_ct_MSForm Then extension = \"frm\"\r\n  If m.Type = vbext_ct_StdModule Then extension = \"bas\"\r\n  If extension &lt;&gt; \"\" Then m.export (ThisWorkbook.Path &amp; \"\\\" &amp; m.Name &amp; \".\" &amp; extension)\r\n  \r\nNext\r\n    \r\nEnd Sub\r\n<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sub export() &#8216; VBA\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30e2\u30c7\u30eb\u3078\u306e\u30a2\u30af\u30bb\u30b9\u3092\u4fe1\u983c\u3059\u308b &#8216; \u53c2\u7167\u8a2d\u5b9a\u3000Microsoft Visual Basic for Applications Extensibility For  &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/appbay.org\/?p=5712\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;VBA \u30e2\u30b8\u30e5\u30fc\u30eb\u30a8\u30af\u30b9\u30dd\u30fc\u30c8&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[5],"class_list":["post-5712","post","type-post","status-publish","format-standard","hentry","category-1","tag-vba"],"_links":{"self":[{"href":"https:\/\/appbay.org\/index.php?rest_route=\/wp\/v2\/posts\/5712","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/appbay.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/appbay.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/appbay.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/appbay.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5712"}],"version-history":[{"count":1,"href":"https:\/\/appbay.org\/index.php?rest_route=\/wp\/v2\/posts\/5712\/revisions"}],"predecessor-version":[{"id":5713,"href":"https:\/\/appbay.org\/index.php?rest_route=\/wp\/v2\/posts\/5712\/revisions\/5713"}],"wp:attachment":[{"href":"https:\/\/appbay.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5712"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/appbay.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5712"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/appbay.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5712"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}