{"id":3605,"date":"2015-09-12T11:08:32","date_gmt":"2015-09-12T02:08:32","guid":{"rendered":"http:\/\/excelwork.info\/excel\/?p=3605"},"modified":"2015-09-12T11:08:32","modified_gmt":"2015-09-12T02:08:32","slug":"rangeautofilter8","status":"publish","type":"post","link":"https:\/\/excelwork.info\/excel\/rangeautofilter8\/","title":{"rendered":"\u30aa\u30fc\u30c8\u30d5\u30a3\u30eb\u30bf\uff08\u65e5\u4ed8\u306b\u3088\u308b\u62bd\u51fa\uff09AutoFilter \u30e1\u30bd\u30c3\u30c9"},"content":{"rendered":"<h2>\u65e5\u4ed8\u3067\u3001\u62bd\u51fa\u3059\u308b\uff08AutoFilter \u30e1\u30bd\u30c3\u30c9\uff09<\/h2>\n<div class=\"m30-l\">\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>, <em>criteria2<\/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;\u65e5\u4ed8\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<li>criteria2&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u8907\u6570\uff08\uff12\u65e5\uff09\u306e\u65e5\u4ed8\u3092\u6307\u5b9a\u3057\u305f\u308a\u3001\u7279\u5b9a\u306e\u671f\u9593\u3092\u6307\u5b9a\u3059\u308b\u5834\u5408\u306b\u306e\u307f\u65e5\u4ed8\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u6307\u5b9a\u65b9\u6cd5\u306f\u3001<em>operator<\/em> \u306e\u8aac\u660e\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/li>\n<li>operator&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u7279\u5b9a\u306e\u65e5\u4ed8\uff08\uff11\u65e5\uff09\u3092\u6307\u5b9a\u3059\u308b\u5834\u5408\u306f\u3001<strong>xlAnd<\/strong> \u3084 <strong>xlOr<\/strong> \u3092\u6307\u5b9a\u3057\u307e\u3059\uff08\u7701\u7565\u53ef\uff09\u3002<br \/>\n\t\u8907\u6570\uff08\uff12\u65e5\uff09\u306e\u65e5\u4ed8\u3092\u6307\u5b9a\u3059\u308b\u5834\u5408\u306f\u3001<strong>xlOr<\/strong> \u3092\u6307\u5b9a\u3057\u3001\u5f15\u6570 <em>criteria1<\/em> \u3068 <em>criteria2<\/em> \u306b\u62bd\u51fa\u3057\u305f\u3044\u65e5\u4ed8\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<br \/>\n\t\u7279\u5b9a\u306e\u671f\u9593\u306e\u62bd\u51fa\u3092\u3059\u308b\u5834\u5408\u306f\u4ee5\u4e0b\u306e\u3068\u304a\u308a\u306b\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<table>\n<tr>\n<td align = \"center\" width=\"250\" bgcolor=\"#ffffccc\"><strong>\u5f15\u6570<\/strong><\/td>\n<td align = \"center\" width=\"400\" bgcolor=\"#ffffccc\"><strong>\u5185\u5bb9<\/strong><\/td>\n<\/tr>\n<tr>\n<td width=\"250\"><em>criteria1<\/em><\/td>\n<td width=\"400\"><strong>&#8220;&gt;= [\u958b\u59cb\u65e5]&#8221;<\/strong> \u307e\u305f\u306f\u3001<strong>&#8220;&gt; [\u958b\u59cb\u65e5]&#8221;<\/strong> \u3092\u6307\u5b9a\u3057\u307e\u3059\u3002 <\/td>\n<\/tr>\n<tr>\n<td width=\"250\"><em>criteria2<\/em><\/td>\n<td width=\"400\"><strong>&#8220;&lt;= [\u7d42\u4e86\u65e5]&#8221;<\/strong> \u307e\u305f\u306f\u3001<strong>&#8220;&lt; [\u7d42\u4e86\u65e5]&#8221;<\/strong> \u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td width=\"250\"><em>operator<\/em><\/td>\n<td width=\"400\"><strong>xlAnd<\/strong> \u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<\/table>\n<p>\t<br \/><br \/>\n\t\u203b \uff13\u65e5\u4ee5\u4e0a\u306e\u65e5\u4ed8\u3092\u6307\u5b9a\u3059\u308b\u5834\u5408\u306f\u3001<strong>xlFilterValues<\/strong> \u3092\u6307\u5b9a\u3057\u307e\u3059\uff08Excel 2007 \u4ee5\u4e0a\u306e\u307f\uff09\u3002\u5f15\u6570 <em>criteria1<\/em> \u306b\u62bd\u51fa\u3057\u305f\u3044\u65e5\u4ed8\u3092\u914d\u5217\u3067\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<br \/><br \/>\n<p class=\"caution4\"><strong>\u65e5\u4ed8\u3092\u6307\u5b9a\u3059\u308b\u5834\u5408\u306e\u6ce8\u610f\u4e8b\u9805<\/strong><br \/>\n      \u30aa\u30fc\u30c8\u30d5\u30a3\u30eb\u30bf\u3067\u3001\u30ec\u30b3\u30fc\u30c9\u3092\u62bd\u51fa\u3059\u308b\u3068\u304d\u65e5\u4ed8\u306b\u3088\u3063\u3066\u7d5e\u308a\u8fbc\u3080\u5834\u5408\u3001<span class=\"red\">Excel \u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306b\u3088\u3063\u3066\u62bd\u51fa\u7d50\u679c\u304c\u3001\u7570\u306a\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059<\/span>\u3002\u4ee5\u4e0b\u306e\u8868\u306e\u3068\u304a\u308a\u306b\u884c\u3046\u3068\u671f\u5f85\u901a\u308a\u306e\u7d50\u679c\u304c\u5f97\u3089\u308c\u308b\u306f\u305a\u3067\u3059\u304c\u3001\u5ff5\u306e\u305f\u3081\u3001\u30de\u30af\u30ed\u306e\u8a18\u9332\u7b49\u306a\u3069\u3067\u3001\u78ba\u8a8d\u3059\u308b\u307b\u3046\u304c\u3088\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n<table>\n<tr>\n<td align = \"center\" width=\"230\" bgcolor=\"#ffffccc\"><strong>\u30bb\u30eb\u306e\u8868\u793a\u5f62\u5f0f<\/strong><\/td>\n<td align = \"center\" width=\"100\" bgcolor=\"#ffffccc\"><strong>Excel Ver.<\/strong><\/td>\n<td align = \"center\" width=\"320\" bgcolor=\"#ffffccc\"><strong>\u5f15\u6570 <em>criteria1<\/em> \u306b\u6307\u5b9a\u3059\u308b\u5185\u5bb9<\/strong><\/td>\n<\/tr>\n<tr>\n<td width=\"230\">\u5148\u982d\u306b\u300c*\u300d\u304c\u4ed8\u304f\u65e5\u4ed8\u5f62\u5f0f<br \/>\n    \u3000\u30002015\/7\/26<br \/>\u3000<br \/>\u3000<br \/>\u3000<\/td>\n<td width=\"100\" align = \"center\">2003\/2007<br \/>\u3000<br \/>\u3000<br \/>\u3000<br \/>\u3000<\/td>\n<td width=\"320\">DateValue \u95a2\u6570\u3092\u6307\u5b9a<br \/>\u3000\u3000criteria1 := DateValue(&#8220;2015\/7\/26&#8221;)<br \/>\n    \u3000\u307e\u305f\u306f<br \/>\n    \u65e5\u4ed8\u30ea\u30c6\u30e9\u30eb\u3092\u6307\u5b9a<br \/>\u3000\u3000criteria1 := #7\/26\/2015#<\/td>\n<\/tr>\n<tr>\n<td width=\"230\">\u5148\u982d\u306b\u300c*\u300d\u304c\u4ed8\u304f\u65e5\u4ed8\u5f62\u5f0f<br \/>\n    \u3000\u30002015\/7\/26<\/td>\n<td width=\"100\" align = \"center\">2010\/2013<br \/>\u3000<\/td>\n<td width=\"320\">\u6587\u5b57\u5217\u5f62\u5f0f\u3067\u6307\u5b9a<br \/>\n    \u3000\u3000criteria1 := &#8220;2015\/7\/26&#8221;<\/td>\n<\/tr>\n<tr>\n<td width=\"230\">\u5148\u982d\u306b\u300c*\u300d\u304c\u4ed8\u304b\u306a\u3044\u65e5\u4ed8\u5f62\u5f0f<br \/>\n    \u3000\u30007\u670826\u65e5<\/td>\n<td width=\"100\" align = \"center\">2003\/2007<br \/>2010\/2013<\/td>\n<td width=\"320\">\u30bb\u30eb\u306b\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u307e\u307e\u3092\u6587\u5b57\u5217\u3067\u6307\u5b9a<br \/>\n    \u3000\u3000criteria1 := &#8220;7\u670826\u65e5&#8221;<\/td>\n<\/tr>\n<\/table>\n<p>\n    <\/p>\n<br \/><br \/>\n<p class=\"caution4\"><strong>\u65e5\u4ed8\u3092\u6307\u5b9a\u3059\u308b\u5834\u5408\u3001\u3059\u3079\u3066\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3067\u540c\u3058\u7d50\u679c\u3092\u5f97\u308b\u65b9\u6cd5<\/strong><br \/>\n      \u300c\u7279\u5b9a\u306e\u671f\u9593\u300d\u3092\u62bd\u51fa\u3059\u308b\u65b9\u6cd5\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u66f8\u5f0f\u306b\u304b\u304b\u308f\u3089\u305a\u3001Excel 2003\/2007\/2010\/2013 \u306e\u3044\u305a\u308c\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3067\u3082\u7279\u5b9a\u306e\u65e5\u4ed8\u3092\u62bd\u51fa\u53ef\u80fd\u3067\u3059\u3002<br \/>\n      \uff08\u4f8b\uff092015\/7\/26 \u3092\u62bd\u51fa\u3057\u305f\u3044\u5834\u5408<br \/>\n      \u3000\u3000criteria1 =: &#8220;&gt;=2015\/7\/26&#8221;<br \/>\n      \u3000\u3000criteria2 =: &#8220;&lt;=2015\/7\/26&#8221;<br \/>\n      \u3000\u3000operator  =: xlAnd\n    <\/p>\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>\u65e5\u4ed8\u3067\u62bd\u51fa\u3059\u308b \u4f7f\u7528\u4f8b<\/h2>\n<div class=\"m30-l\">\n<h3 id=\"vba_sample\">\u30b5\u30f3\u30d7\u30ebVBA\u30bd\u30fc\u30b9\u3000\u5b9f\u884c\u524d<\/h3>\n<p><a href=\"https:\/\/i1.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/09\/autofilter08_00.jpg?ssl=1\" rel=\"lightbox[3605]\"><img loading=\"lazy\" src=\"https:\/\/i1.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/09\/autofilter08_00.jpg?resize=580%2C245&#038;ssl=1\" alt=\"AutoFilter \u30e1\u30bd\u30c3\u30c9 \u65e5\u4ed8\uff11\" width=\"580\" height=\"245\" class=\"alignnone size-large wp-image-3630\" srcset=\"https:\/\/i1.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/09\/autofilter08_00.jpg?resize=580%2C245&amp;ssl=1 580w, https:\/\/i1.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/09\/autofilter08_00.jpg?resize=400%2C169&amp;ssl=1 400w, https:\/\/i1.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/09\/autofilter08_00.jpg?w=1331&amp;ssl=1 1331w, https:\/\/i1.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/09\/autofilter08_00.jpg?w=1160&amp;ssl=1 1160w\" sizes=\"(max-width: 580px) 100vw, 580px\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<br \/><br \/>\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=\"\u65e5\u4ed8\u3067\u62bd\u51fa \u4f7f\u7528\u4f8b 1\" data-url=\"http:\/\/example.co.jp\" >\r\n\u3000\r\nSub Sammple08_1_AutoFilter()\r\n\r\n    '\u30d5\u30a3\u30fc\u30eb\u30c9\u756a\u53f710\u300c\u7d0d\u54c1\u65e5\u300d7\u670826\u65e5\u307e\u305f\u306f8\u67081\u65e5\u3092\u62bd\u51fa\uff08Excel 2013\uff09\r\n    Range(\"A1\").AutoFilter Field:=10, _\r\n                           Criteria1:=\"7\u670826\u65e5\", _\r\n                           Criteria2:=\"8\u67081\u65e5\", _\r\n                           Operator:=xlOr\r\n\r\nEnd Sub\r\n\u3000\r\n  <\/pre>\n<br \/>\n<h3>\u5b9f\u884c\u7d50\u679c<\/h3>\n<p><a href=\"https:\/\/i0.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/09\/autofilter08_01.jpg?ssl=1\" rel=\"lightbox[3605]\"><img loading=\"lazy\" src=\"https:\/\/i0.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/09\/autofilter08_01.jpg?resize=580%2C246&#038;ssl=1\" alt=\"AutoFilter \u30e1\u30bd\u30c3\u30c9 \u65e5\u4ed8\uff11 \uff11\" width=\"580\" height=\"246\" class=\"alignnone size-large wp-image-3631\" srcset=\"https:\/\/i0.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/09\/autofilter08_01.jpg?resize=580%2C246&amp;ssl=1 580w, https:\/\/i0.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/09\/autofilter08_01.jpg?resize=400%2C170&amp;ssl=1 400w, https:\/\/i0.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/09\/autofilter08_01.jpg?w=1330&amp;ssl=1 1330w, https:\/\/i0.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/09\/autofilter08_01.jpg?w=1160&amp;ssl=1 1160w\" sizes=\"(max-width: 580px) 100vw, 580px\" data-recalc-dims=\"1\" \/><\/a>\u3000<\/p>\n<br \/><br \/>\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=\"\u65e5\u4ed8\u3067\u62bd\u51fa \u4f7f\u7528\u4f8b 2\" data-url=\"http:\/\/example.co.jp\" >\r\n\u3000\r\nSub Sammple08_2_AutoFilter()\r\n\r\n    '\u30d5\u30a3\u30fc\u30eb\u30c9\u756a\u53f711\u300c\u652f\u6255\u65e5\u300d2015\/9\/10 \u3092\u62bd\u51fa\uff08Excel 2013\uff09\r\n    Range(\"A1\").AutoFilter Field:=11, _\r\n                           Criteria1:=\"2015\/9\/10\"\r\n                           \r\n\r\nEnd Sub\r\n\u3000\r\n  <\/pre>\n<br \/>\n<h3>\u5b9f\u884c\u7d50\u679c<\/h3>\n<p><a href=\"https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/09\/autofilter08_02.jpg?ssl=1\" rel=\"lightbox[3605]\"><img loading=\"lazy\" src=\"https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/09\/autofilter08_02.jpg?resize=580%2C248&#038;ssl=1\" alt=\"AutoFilter \u30e1\u30bd\u30c3\u30c9 \u65e5\u4ed8\uff11 \uff12\" width=\"580\" height=\"248\" class=\"alignnone size-large wp-image-3632\" srcset=\"https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/09\/autofilter08_02.jpg?resize=580%2C248&amp;ssl=1 580w, https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/09\/autofilter08_02.jpg?resize=400%2C171&amp;ssl=1 400w, https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/09\/autofilter08_02.jpg?w=1329&amp;ssl=1 1329w, https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/09\/autofilter08_02.jpg?w=1160&amp;ssl=1 1160w\" sizes=\"(max-width: 580px) 100vw, 580px\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<br \/><br \/>\n<h3 id=\"vba_sample\">\u30b5\u30f3\u30d7\u30ebVBA\u30bd\u30fc\u30b9\u3000\uff13<\/h3>\n<pre class=\"lang:vb mark:0 decode:true \" title=\"\u65e5\u4ed8\u3067\u62bd\u51fa \u4f7f\u7528\u4f8b 3\" data-url=\"http:\/\/example.co.jp\" >\r\n\u3000\r\nSub Sammple08_3_AutoFilter()\r\n\r\n    '\u30d5\u30a3\u30fc\u30eb\u30c9\u756a\u53f710\u300c\u7d0d\u54c1\u65e5\u300d\r\n    '2015\/7\/26 \u4ee5\u964d\uff08\u5f53\u65e5\u542b\u3080\uff092015\/7\/26 \u4ee5\u524d\uff08\u5f53\u65e5\u542b\u3080\uff09\uff08Excel 2013\uff09\r\n    Range(\"A1\").AutoFilter Field:=10, _\r\n                           Criteria1:=\"&gt;=2015\/7\/26\", _\r\n                           Criteria2:=\"&lt;=2015\/7\/26\", _\r\n                           Operator:=xlAnd\r\n\r\nEnd Sub\r\n\u3000\r\n  <\/pre>\n<br \/>\n<h3>\u5b9f\u884c\u7d50\u679c<\/h3>\n<p><a href=\"https:\/\/i1.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/09\/autofilter08_03.jpg?ssl=1\" rel=\"lightbox[3605]\"><img loading=\"lazy\" src=\"https:\/\/i1.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/09\/autofilter08_03.jpg?resize=580%2C247&#038;ssl=1\" alt=\"AutoFilter \u30e1\u30bd\u30c3\u30c9 \u65e5\u4ed8\uff11 \uff13\" width=\"580\" height=\"247\" class=\"alignnone size-large wp-image-3633\" srcset=\"https:\/\/i1.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/09\/autofilter08_03.jpg?resize=580%2C247&amp;ssl=1 580w, https:\/\/i1.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/09\/autofilter08_03.jpg?resize=400%2C171&amp;ssl=1 400w, https:\/\/i1.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/09\/autofilter08_03.jpg?w=1330&amp;ssl=1 1330w, https:\/\/i1.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/09\/autofilter08_03.jpg?w=1160&amp;ssl=1 1160w\" sizes=\"(max-width: 580px) 100vw, 580px\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<br \/><br \/>\n<h3 id=\"vba_sample\">\u30b5\u30f3\u30d7\u30ebVBA\u30bd\u30fc\u30b9\u3000\uff14<\/h3>\n<pre class=\"lang:vb mark:0 decode:true \" title=\"\u65e5\u4ed8\u3067\u62bd\u51fa \u4f7f\u7528\u4f8b 4\" data-url=\"http:\/\/example.co.jp\" >\r\n\u3000\r\nSub Sammple08_4_AutoFilter()\r\n\r\n    '\u30d5\u30a3\u30fc\u30eb\u30c9\u756a\u53f710\u300c\u7d0d\u54c1\u65e5\u300d\r\n    '2015\/12\/16 \u4ee5\u964d\uff08\u5f53\u65e5\u542b\u307e\u306a\u3044\uff092015\/12\/25 \u4ee5\u524d\uff08\u5f53\u65e5\u542b\u307e\u306a\u3044\uff09\uff08Excel 2013\uff09\r\n    Range(\"A1\").AutoFilter Field:=10, _\r\n                           Criteria1:=\"&gt;2015\/12\/15\", _\r\n                           Criteria2:=\"&lt;2015\/12\/25\", _\r\n                           Operator:=xlAnd\r\n\r\nEnd Sub\r\n\u3000\r\n  <\/pre>\n<br \/>\n<h3>\u5b9f\u884c\u7d50\u679c<\/h3>\n<p><a href=\"https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/09\/autofilter08_04.jpg?ssl=1\" rel=\"lightbox[3605]\"><img loading=\"lazy\" src=\"https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/09\/autofilter08_04.jpg?resize=580%2C246&#038;ssl=1\" alt=\"AutoFilter \u30e1\u30bd\u30c3\u30c9 \u65e5\u4ed8\uff11 \uff14\" width=\"580\" height=\"246\" class=\"alignnone size-large wp-image-3634\" srcset=\"https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/09\/autofilter08_04.jpg?resize=580%2C246&amp;ssl=1 580w, https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/09\/autofilter08_04.jpg?resize=400%2C170&amp;ssl=1 400w, https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/09\/autofilter08_04.jpg?w=1333&amp;ssl=1 1333w, https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/09\/autofilter08_04.jpg?w=1160&amp;ssl=1 1160w\" sizes=\"(max-width: 580px) 100vw, 580px\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<br \/><br \/>\n<h3 id=\"vba_sample\">\u30b5\u30f3\u30d7\u30ebVBA\u30bd\u30fc\u30b9\u3000\uff15<\/h3>\n<pre class=\"lang:vb mark:0 decode:true \" title=\"\u65e5\u4ed8\u3067\u62bd\u51fa \u4f7f\u7528\u4f8b 5\" data-url=\"http:\/\/example.co.jp\" >\r\n\u3000\r\nSub Sammple08_5_AutoFilter()\r\n\r\n    '\u30d5\u30a3\u30fc\u30eb\u30c9\u756a\u53f710\u300c\u7d0d\u54c1\u65e5\u300d\u6307\u5b9a\u65e5\u3092\u62bd\u51fa\uff08Excel 2013\uff09\r\n    Range(\"A1\").AutoFilter Field:=10, _\r\n                           Criteria1:=Array(\"8\u67081\u65e5\", \"12\u670817\u65e5\", \"12\u670825\u65e5\"), _\r\n                           Operator:=xlFilterValues\r\n\r\nEnd Sub\r\n\u3000\r\n  <\/pre>\n<br \/>\n<h3>\u5b9f\u884c\u7d50\u679c<\/h3>\n<p><a href=\"https:\/\/i1.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/09\/autofilter08_05.jpg?ssl=1\" rel=\"lightbox[3605]\"><img loading=\"lazy\" src=\"https:\/\/i1.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/09\/autofilter08_05.jpg?resize=580%2C247&#038;ssl=1\" alt=\"AutoFilter \u30e1\u30bd\u30c3\u30c9 \u65e5\u4ed8\uff11 \uff15\" width=\"580\" height=\"247\" class=\"alignnone size-large wp-image-3635\" srcset=\"https:\/\/i1.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/09\/autofilter08_05.jpg?resize=580%2C247&amp;ssl=1 580w, https:\/\/i1.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/09\/autofilter08_05.jpg?resize=400%2C171&amp;ssl=1 400w, https:\/\/i1.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/09\/autofilter08_05.jpg?w=1332&amp;ssl=1 1332w, https:\/\/i1.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/09\/autofilter08_05.jpg?w=1160&amp;ssl=1 1160w\" sizes=\"(max-width: 580px) 100vw, 580px\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<\/div>\n<br \/>\n","protected":false},"excerpt":{"rendered":"<p>\u65e5\u4ed8\u3067\u3001\u62bd\u51fa\u3059\u308b\uff08AutoFilter \u30e1\u30bd\u30c3\u30c9\uff09 \u3010\u66f8\u5f0f\u3011 object.Au &#8230; <\/p>\n","protected":false},"author":1,"featured_media":3700,"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\/autofilter08_00-580x2451.jpg?fit=580%2C245&ssl=1","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4Ye9i-W9","_links":{"self":[{"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts\/3605"}],"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=3605"}],"version-history":[{"count":26,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts\/3605\/revisions"}],"predecessor-version":[{"id":3699,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts\/3605\/revisions\/3699"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/media\/3700"}],"wp:attachment":[{"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/media?parent=3605"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/categories?post=3605"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/tags?post=3605"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}