{"id":3641,"date":"2015-09-13T10:01:22","date_gmt":"2015-09-13T01:01:22","guid":{"rendered":"http:\/\/excelwork.info\/excel\/?p=3641"},"modified":"2015-09-13T10:01:22","modified_gmt":"2015-09-13T01:01:22","slug":"rangeautofilter9","status":"publish","type":"post","link":"https:\/\/excelwork.info\/excel\/rangeautofilter9\/","title":{"rendered":"\u30aa\u30fc\u30c8\u30d5\u30a3\u30eb\u30bf\uff08\u5e73\u5747\u3088\u308a\u4e0a\u30fb\u5e73\u5747\u3088\u308a\u4e0b\uff09AutoFilter \u30e1\u30bd\u30c3\u30c9"},"content":{"rendered":"<h2>\u5e73\u5747\u5024\u3088\u308a\u3082\u5927\u304d\u3044\uff08\u5c0f\u3055\u3044\uff09\u5024\u306e\u30ec\u30b3\u30fc\u30c9\u3092\u62bd\u51fa<\/h2>\n<div class=\"m30-l\">\n<p><strong>AutoFilter \u30e1\u30bd\u30c3\u30c9<\/strong>\u3067\u3001\u5f15\u6570 <em>operator<\/em> \u306b\u3001<strong>xlFilterDynamic<\/strong> \u3092\u6307\u5b9a\u3057\u3001\u5f15\u6570 <em>criteria1<\/em> \u306b\u3001<strong>xlFilterAboveAverage<\/strong> \u3092\u6307\u5b9a\u3059\u308b\u3068\u5e73\u5747\u5024\u3088\u308a\u3082\u5927\u304d\u3044\u5024\u3092\u62bd\u51fa\u3001\u5f15\u6570 <em>operator<\/em> \u306b\u3001<strong>xlFilterDynamic<\/strong> \u3092\u6307\u5b9a\u3057\u3001\u5f15\u6570 <em>criteria1<\/em> \u306b\u3001<strong>xlFilterBelowAverage<\/strong> \u3092\u6307\u5b9a\u3059\u308b\u3068\u5e73\u5747\u5024\u3088\u308a\u3082\u5c0f\u3055\u3044\u5024\u3092\u62bd\u51fa\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\uff08Excel 2007 \u4ee5\u964d\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\uff09\u3002<\/p>\n<br \/>\n<div class=\"kkbox\"><strong>\u3010\u66f8\u5f0f\u3011<\/strong><\/p>\n<p>    <em>object<\/em>.<strong>AutoFilter<\/strong> ( [ <em>field<\/em>, <em>criteria1<\/em>, <em>operator<\/em> ] )<\/p><\/div>\n<br \/>\n<h3>\u5f15\u6570\u30fb\u623b\u308a\u5024<\/h3>\n<div class=\"m30-l\">\n<ul style=\"margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0;\">\n<li>object&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u5bfe\u8c61\u3068\u306a\u308b <span class=\"red\"><strong>Range \u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong><\/span>\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<li>field&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u30d5\u30a3\u30eb\u30bf\u30fc\u306e\u5bfe\u8c61\u3068\u306a\u308b\u30d5\u30a3\u30fc\u30eb\u30c9\u756a\u53f7\u3092\u6574\u6570\u3067\u6307\u5b9a\u3057\u307e\u3059\u3002\u5bfe\u8c61\u3068\u306a\u308b\u7bc4\u56f2\u306e\u6700\u3082\u5de6\u5074\u306e\u5217\uff08\u30d5\u30a3\u30fc\u30eb\u30c9\uff09\u304c\u3001\u30d5\u30a3\u30fc\u30eb\u30c9\u756a\u53f7 1 \u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n\t\u8907\u6570\u306e\u5217\uff08\u30d5\u30a3\u30fc\u30eb\u30c9\uff09\u3092\u307e\u3068\u3081\u3066\u6271\u3044\u305f\u3044\u5834\u5408\u306f\u3001\u914d\u5217\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002<br \/>\n\t\u3000\uff08\u4f8b\uff09field := Array(1,3,6)<\/li>\n<li>criteria1&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u5e73\u5747\u3092\u4e0a\u56de\u308b\u5024\u3092\u62bd\u51fa\u3057\u305f\u3044\u5834\u5408\u306f\u3001<strong>xlFilterAboveAverage<\/strong> \u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u5e73\u5747\u672a\u6e80\u306e\u5024\u3092\u62bd\u51fa\u3057\u305f\u3044\u5834\u5408\u306f\u3001<strong>xlFilterBelowAverage<\/strong> \u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<li>operator&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;<strong>xlFilterDynamic<\/strong> \u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<br \/>\n<p class=\"caution4\"><strong>AutoFilter \u30e1\u30bd\u30c3\u30c9<\/strong> \u306e\u5f15\u6570\u306e\u8a73\u7d30\u306b\u3064\u3044\u3066\u306f\u3001<a href=\"https:\/\/excelwork.info\/excel\/rangeautofilter2\/\">\u30aa\u30fc\u30c8\u30d5\u30a3\u30eb\u30bf\uff08AutoFilter \u30e1\u30bd\u30c3\u30c9\uff09<\/a> \u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<\/p><\/div>\n<\/div>\n<br \/><br \/>\n<h2>\u5e73\u5747\u3088\u308a\u4e0a\u306e\u5024\u3092\u62bd\u51fa\u3059\u308b\u4f8b<\/h2>\n<div class=\"m30-l\">\n<h3 id=\"vba_sample\">\u30b5\u30f3\u30d7\u30ebVBA\u30bd\u30fc\u30b9\u3000\uff11<\/h3>\n<pre class=\"lang:vb mark:0 decode:true \" title=\"\u5e73\u5747\u3088\u308a\u4e0a\u306e\u5024\u3092\u62bd\u51fa\u3059\u308b\u4f8b\" data-url=\"http:\/\/example.co.jp\" >\r\n\u3000\r\nSub Sample09_1_AutoFilter()\r\n\r\n    '\u5168\u6559\u79d1\u3059\u3079\u3066\u5e73\u5747\u70b9\u3088\u308a\u4e0a\r\n    Range(\"B3\").AutoFilter Field:=Array(3, 4, 5, 6, 7), _\r\n                           criteria1:=xlFilterAboveAverage, _\r\n                           Operator:=xlFilterDynamic\r\n\r\nEnd Sub\r\n\u3000\r\n  <\/pre>\n<br \/>\n<h3>\u5b9f\u884c\u7d50\u679c<\/h3>\n<p>\u30b5\u30f3\u30d7\u30ebVBA\u30bd\u30fc\u30b9 \u5b9f\u884c\u524d<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/09\/autofilter09_01_1.jpg?ssl=1\" rel=\"lightbox[3641]\"><img loading=\"lazy\" src=\"https:\/\/i0.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/09\/autofilter09_01_1.jpg?resize=580%2C364&#038;ssl=1\" alt=\"AutoFilter \u30e1\u30bd\u30c3\u30c9 \u4f8b\uff19_\uff11\" width=\"580\" height=\"364\" class=\"alignnone size-large wp-image-3643\" srcset=\"https:\/\/i0.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/09\/autofilter09_01_1.jpg?resize=580%2C364&amp;ssl=1 580w, https:\/\/i0.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/09\/autofilter09_01_1.jpg?resize=400%2C251&amp;ssl=1 400w, https:\/\/i0.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/09\/autofilter09_01_1.jpg?w=899&amp;ssl=1 899w\" sizes=\"(max-width: 580px) 100vw, 580px\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<p>\u5b9f\u884c\u5f8c<\/p>\n<p><a href=\"https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/09\/autofilter09_01_2.jpg?ssl=1\" rel=\"lightbox[3641]\"><img loading=\"lazy\" src=\"https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/09\/autofilter09_01_2.jpg?resize=580%2C364&#038;ssl=1\" alt=\"AutoFilter \u30e1\u30bd\u30c3\u30c9 \u4f7f\u7528\u4f8b\uff19_\uff12\" width=\"580\" height=\"364\" class=\"alignnone size-large wp-image-3644\" srcset=\"https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/09\/autofilter09_01_2.jpg?resize=580%2C364&amp;ssl=1 580w, https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/09\/autofilter09_01_2.jpg?resize=400%2C251&amp;ssl=1 400w, https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/09\/autofilter09_01_2.jpg?w=898&amp;ssl=1 898w\" sizes=\"(max-width: 580px) 100vw, 580px\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<\/div>\n<br \/><br \/>\n<h2>\u5e73\u5747\u3088\u308a\u4e0b\u306e\u5024\u3092\u62bd\u51fa\u3059\u308b\u4f8b<\/h2>\n<div class=\"m30-l\">\n<h3 id=\"vba_sample\">\u30b5\u30f3\u30d7\u30ebVBA\u30bd\u30fc\u30b9\u3000\uff12<\/h3>\n<pre class=\"lang:vb mark:0 decode:true \" title=\"\u5e73\u5747\u3088\u308a\u4e0b\u306e\u5024\u3092\u62bd\u51fa\u3059\u308b\u4f8b\" data-url=\"http:\/\/example.co.jp\" >\r\n\u3000\r\nSub Sample09_2_AutoFilter()\r\n\r\n    '\u5408\u8a08\u70b9\u304c\u5e73\u5747\u672a\u6e80\r\n    Range(\"B3\").AutoFilter Field:=8, _\r\n                           criteria1:=xlFilterBelowAverage, _\r\n                           Operator:=xlFilterDynamic\r\n\r\nEnd Sub\r\n\u3000\r\n  <\/pre>\n<br \/>\n<h3>\u5b9f\u884c\u7d50\u679c<\/h3>\n<p>\u30b5\u30f3\u30d7\u30ebVBA\u30bd\u30fc\u30b9 \u5b9f\u884c\u524d<\/p>\n<p><a href=\"https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/09\/autofilter09_02_1.jpg?ssl=1\" rel=\"lightbox[3641]\"><img loading=\"lazy\" src=\"https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/09\/autofilter09_02_1.jpg?resize=580%2C364&#038;ssl=1\" alt=\"AutoFilter \u30e1\u30bd\u30c3\u30c9 \u4f7f\u7528\u4f8b\uff19_\uff13\" width=\"580\" height=\"364\" class=\"alignnone size-large wp-image-3645\" srcset=\"https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/09\/autofilter09_02_1.jpg?resize=580%2C364&amp;ssl=1 580w, https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/09\/autofilter09_02_1.jpg?resize=400%2C251&amp;ssl=1 400w, https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/09\/autofilter09_02_1.jpg?w=899&amp;ssl=1 899w\" sizes=\"(max-width: 580px) 100vw, 580px\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<p>\u5b9f\u884c\u5f8c<\/p>\n<p><a href=\"https:\/\/i1.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/09\/autofilter09_02_2.jpg?ssl=1\" rel=\"lightbox[3641]\"><img loading=\"lazy\" src=\"https:\/\/i1.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/09\/autofilter09_02_2.jpg?resize=580%2C366&#038;ssl=1\" alt=\"AutoFilter \u30e1\u30bd\u30c3\u30c9 \u4f7f\u7528\u4f8b\uff19_\uff14\" width=\"580\" height=\"366\" class=\"alignnone size-large wp-image-3646\" srcset=\"https:\/\/i1.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/09\/autofilter09_02_2.jpg?resize=580%2C366&amp;ssl=1 580w, https:\/\/i1.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/09\/autofilter09_02_2.jpg?resize=400%2C253&amp;ssl=1 400w, https:\/\/i1.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/09\/autofilter09_02_2.jpg?w=899&amp;ssl=1 899w\" sizes=\"(max-width: 580px) 100vw, 580px\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<\/div>\n<br \/>\n","protected":false},"excerpt":{"rendered":"<p>\u5e73\u5747\u5024\u3088\u308a\u3082\u5927\u304d\u3044\uff08\u5c0f\u3055\u3044\uff09\u5024\u306e\u30ec\u30b3\u30fc\u30c9\u3092\u62bd\u51fa AutoFilter \u30e1\u30bd\u30c3\u30c9\u3067 &#8230; <\/p>\n","protected":false},"author":1,"featured_media":3702,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"amp_status":"","spay_email":"","jetpack_publicize_message":""},"categories":[268],"tags":[546,270,63,38,269],"jetpack_featured_media_url":"https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/09\/autofilter09_01_1-580x3641.jpg?fit=580%2C364&ssl=1","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4Ye9i-WJ","_links":{"self":[{"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts\/3641"}],"collection":[{"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/comments?post=3641"}],"version-history":[{"count":4,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts\/3641\/revisions"}],"predecessor-version":[{"id":3701,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts\/3641\/revisions\/3701"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/media\/3702"}],"wp:attachment":[{"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/media?parent=3641"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/categories?post=3641"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/tags?post=3641"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}