{"id":818,"date":"2021-02-22T02:49:41","date_gmt":"2021-02-22T02:49:41","guid":{"rendered":"http:\/\/mio-web.net\/pcsupport\/?p=818"},"modified":"2021-02-22T02:49:43","modified_gmt":"2021-02-22T02:49:43","slug":"excel-vba-%e3%82%aa%e3%83%bc%e3%83%88%e3%83%95%e3%82%a3%e3%83%ab%e3%82%bf%e3%83%bc%e3%81%a7%e6%8a%bd%e5%87%ba%e3%81%97%e3%81%9f%e8%a1%8c%e3%82%92%e4%b8%80%e6%8b%ac%e5%89%8a%e9%99%a4","status":"publish","type":"post","link":"https:\/\/mio-web.net\/pcsupport\/archives\/818\/","title":{"rendered":"Excel VBA \u30aa\u30fc\u30c8\u30d5\u30a3\u30eb\u30bf\u30fc\u3067\u62bd\u51fa\u3057\u305f\u884c\u3092\u4e00\u62ec\u524a\u9664"},"content":{"rendered":"\n<p>&#8216;\u30aa\u30fc\u30c8\u30d5\u30a3\u30eb\u30bf\u6a5f\u80fd\u3092\u7528\u3044\u3066Y\u5217 0\u304b\u7a7a\u6b04 \u306e\u884c\u3092\u524a\u9664<\/p>\n\n\n\n<p>Dim rng As Range<\/p>\n\n\n\n<p>With wksTarget<\/p>\n\n\n\n<p>&#8217;21-150\u884c\u307e\u3067\u3092\u4e00\u5fdc\u7bc4\u56f2\u306b\u3057\u3066\u304a\u304f<\/p>\n\n\n\n<p>Set rng = .Range(.Cells(21, 25), .Cells(150, 25))<br>.AutoFilterMode = False<br>rng.AutoFilter Field:=1, Criteria1:=&#8221;=&#8221;, Operator:=xlOr, Criteria2:=&#8221;=0&#8243;<br>.Activate<br>rng.SpecialCells(xlCellTypeVisible).EntireRow.Select<br>.AutoFilterMode = False<br>xls.Selection.EntireRow.Delete<\/p>\n\n\n\n<p>End With<\/p>\n\n\n\n<p>\u53c2\u7167URL<\/p>\n\n\n\n<p><a href=\"http:\/\/officetanaka.net\/excel\/vba\/tips\/tips155d.htm\">http:\/\/officetanaka.net\/excel\/vba\/tips\/tips155d.htm<\/a><\/p>\n\n\n\n<p>\u305f\u3060\u3057\u3001\u30aa\u30fc\u30c8\u30d5\u30a3\u30eb\u30bf\u3092\u304b\u3051\u308b\u969b\u306b\u9078\u629e\u3059\u308b1\u884c\u76ee\u306f\u3001\u62bd\u51fa\u5f8c\u3082\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u62bd\u51fa\u5f8c\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u30bb\u30eb\u3092\u524a\u9664\u3059\u308b\u3068\u3044\u3046\u5834\u5408\u3001\u5fc5\u305a\u524a\u9664\u306e\u5bfe\u8c61\u306b\u306a\u308b\u306e\u3067\u3001\u30aa\u30d5\u30bb\u30c3\u30c8\u3059\u308b\u304b\u3001\u3082\u3057\u304f\u306f\u3001\u524a\u9664\u3055\u308c\u3066\u3082\u3088\u3044\u884c\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3068\u601d\u308f\u308c\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8216;\u30aa\u30fc\u30c8\u30d5\u30a3\u30eb\u30bf\u6a5f\u80fd\u3092\u7528\u3044\u3066Y\u5217 0\u304b\u7a7a\u6b04 \u306e\u884c\u3092\u524a\u9664 Dim rng As Range With wksTarget &#8217;21-150\u884c\u307e\u3067\u3092\u4e00\u5fdc\u7bc4\u56f2\u306b\u3057\u3066\u304a\u304f Set rng = .Range( [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"vkexunit_cta_each_option":"","footnotes":""},"categories":[24,32,34],"tags":[],"class_list":["post-818","post","type-post","status-publish","format-standard","hentry","category-access","category-excel","category-vba"],"_links":{"self":[{"href":"https:\/\/mio-web.net\/pcsupport\/wp-json\/wp\/v2\/posts\/818","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mio-web.net\/pcsupport\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mio-web.net\/pcsupport\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mio-web.net\/pcsupport\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mio-web.net\/pcsupport\/wp-json\/wp\/v2\/comments?post=818"}],"version-history":[{"count":1,"href":"https:\/\/mio-web.net\/pcsupport\/wp-json\/wp\/v2\/posts\/818\/revisions"}],"predecessor-version":[{"id":819,"href":"https:\/\/mio-web.net\/pcsupport\/wp-json\/wp\/v2\/posts\/818\/revisions\/819"}],"wp:attachment":[{"href":"https:\/\/mio-web.net\/pcsupport\/wp-json\/wp\/v2\/media?parent=818"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mio-web.net\/pcsupport\/wp-json\/wp\/v2\/categories?post=818"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mio-web.net\/pcsupport\/wp-json\/wp\/v2\/tags?post=818"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}