{"id":2333,"date":"2018-06-26T17:42:29","date_gmt":"2018-06-26T08:42:29","guid":{"rendered":"http:\/\/okamurax.com\/?p=2333"},"modified":"2020-01-15T11:25:42","modified_gmt":"2020-01-15T02:25:42","slug":"vba-%e8%a1%8c%e6%95%b0%e7%a2%ba%e8%aa%8d","status":"publish","type":"post","link":"https:\/\/appbay.org\/?p=2333","title":{"rendered":"VBA \u884c\u6570\u78ba\u8a8d"},"content":{"rendered":"<p>\u5404\u30b7\u30fc\u30c8\u305d\u308c\u305e\u308c\u529b\u6280\u3067\u30eb\u30fc\u30d7\u3057\u3066\u3044\u3066\u968f\u5206\u6642\u9593\u304c\u304b\u304b\u308b\u306a\u3063\u3066\u3068\u304d\u304c\u3042\u308b\u3002\u7279\u5b9a\u306e\u5217\u304c\u7a7a\u767d\u306b\u306a\u308b\u307e\u3067\u3068\u304b\u3001End\u306a\u3069\u7279\u5b9a\u306e\u5358\u8a9e\u304c\u3067\u3066\u304f\u308b\u307e\u3067\u3068\u304b\u3001\u30eb\u30fc\u30d7\u306e\u5224\u5b9a\u306e\u4f5c\u308a\u65b9\u306f\u8272\u3005\u3042\u308b\u306e\u3060\u3051\u308c\u3069\u3001UsedRange\u3092\u5b89\u6613\u306b\u4f7f\u3063\u3066\u60aa\u3055\u3057\u3066\u3044\u308b\u3053\u3068\u304c\u3042\u3063\u305f\u3002<\/p>\n<p>\u30b7\u30fc\u30c8\u3092\u6bce\u56deVBA\u3067\u4f5c\u308a\u76f4\u3059\u51e6\u7406\u306a\u3089\u554f\u984c\u306a\u3044\u3051\u3069\u3001\u56fa\u5b9a\u30b7\u30fc\u30c8\u306b\u5165\u529b\u3057\u3066\u3082\u3089\u3046\u5834\u5408CurrentRegion\u3084UsedRange\u306f\u6ce8\u610f\u304c\u5fc5\u8981\u3068\u3044\u3046\u3053\u3068\u3002<\/p>\n<pre class=\"lang:vb decode:true\">Sub test()\r\n\r\nFor Each w In Sheets\r\n  Debug.Print w.Name, w.UsedRange.Rows.Count\r\nNext\r\n\r\nEnd Sub\r\n<\/pre>\n<p><iframe loading=\"lazy\" width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/y11LZ4PwnRg\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5404\u30b7\u30fc\u30c8\u305d\u308c\u305e\u308c\u529b\u6280\u3067\u30eb\u30fc\u30d7\u3057\u3066\u3044\u3066\u968f\u5206\u6642\u9593\u304c\u304b\u304b\u308b\u306a\u3063\u3066\u3068\u304d\u304c\u3042\u308b\u3002\u7279\u5b9a\u306e\u5217\u304c\u7a7a\u767d\u306b\u306a\u308b\u307e\u3067\u3068\u304b\u3001End\u306a\u3069\u7279\u5b9a\u306e\u5358\u8a9e\u304c\u3067\u3066\u304f\u308b\u307e\u3067\u3068\u304b\u3001\u30eb\u30fc\u30d7\u306e\u5224\u5b9a\u306e\u4f5c\u308a\u65b9\u306f\u8272\u3005\u3042\u308b\u306e\u3060\u3051\u308c\u3069\u3001UsedRange\u3092\u5b89\u6613\u306b\u4f7f\u3063\u3066\u60aa\u3055\u3057 &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/appbay.org\/?p=2333\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;VBA \u884c\u6570\u78ba\u8a8d&#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-2333","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\/2333","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=2333"}],"version-history":[{"count":4,"href":"https:\/\/appbay.org\/index.php?rest_route=\/wp\/v2\/posts\/2333\/revisions"}],"predecessor-version":[{"id":2946,"href":"https:\/\/appbay.org\/index.php?rest_route=\/wp\/v2\/posts\/2333\/revisions\/2946"}],"wp:attachment":[{"href":"https:\/\/appbay.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2333"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/appbay.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2333"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/appbay.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2333"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}