{"id":3754,"date":"2015-09-22T08:33:09","date_gmt":"2015-09-21T23:33:09","guid":{"rendered":"http:\/\/excelwork.info\/excel\/?p=3754"},"modified":"2015-09-22T08:33:10","modified_gmt":"2015-09-21T23:33:10","slug":"%e9%80%a3%e7%b6%9a%e3%83%87%e3%83%bc%e3%82%bf%e3%82%92%e5%85%a5%e5%8a%9b%e3%81%99%e3%82%8b%ef%bc%88autofill-%e3%83%a1%e3%82%bd%e3%83%83%e3%83%89%ef%bc%89","status":"publish","type":"post","link":"https:\/\/excelwork.info\/excel\/%e9%80%a3%e7%b6%9a%e3%83%87%e3%83%bc%e3%82%bf%e3%82%92%e5%85%a5%e5%8a%9b%e3%81%99%e3%82%8b%ef%bc%88autofill-%e3%83%a1%e3%82%bd%e3%83%83%e3%83%89%ef%bc%89\/","title":{"rendered":"\u9023\u7d9a\u30c7\u30fc\u30bf\u3092\u5165\u529b\u3059\u308b\uff08AutoFill \u30e1\u30bd\u30c3\u30c9\uff09"},"content":{"rendered":"<h2>AutoFill \u30e1\u30bd\u30c3\u30c9<\/h2>\n<div class=\"m30-l\">\n<p>Excel \u3067\u3001\u9023\u7d9a\u3059\u308b\u30c7\u30fc\u30bf\u3092\u5165\u529b\u3059\u308b\u300c<strong>\u30aa\u30fc\u30c8\u30d5\u30a3\u30eb<\/strong>\u300d\u6a5f\u80fd\u3092 VBA \u3067\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<br \/>\n<div class=\"kkbox\"><strong>\u3010\u66f8\u5f0f\u3011<\/strong><\/p>\n<p>    <em>object<\/em>.<strong>AutoFill<\/strong> ( <em>destination<\/em> [, <em>type<\/em> ] )<\/p><\/div>\n<br \/>\n<h4>\u5f15\u6570\u30fb\u623b\u308a\u5024<\/h4>\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>destination&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u9023\u7d9a\u30c7\u30fc\u30bf\u306e\u66f8\u304d\u8fbc\u307f\u5148\u3068\u306a\u308b\u30bb\u30eb\u7bc4\u56f2\uff08<strong>Range \u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong>\uff09\u3092\u6307\u5b9a\u3057\u307e\u3059\uff08\u7701\u7565\u4e0d\u53ef\uff09\u3002<\/li>\n<li>type&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u30aa\u30fc\u30c8\u30d5\u30a3\u30eb\u306e\u7a2e\u985e\u3092\u8868\u3059 <strong>XlAutoFillType \u5217\u6319\u578b<\/strong> \u306e\u5b9a\u6570\u307e\u305f\u306f\u305d\u306e\u5024\u3092\u6307\u5b9a\u3057\u307e\u3059\uff08\u7701\u7565\u53ef\u80fd\uff09\u3002<br \/>\n<table>\n<tr>\n<td align = \"center\" width=\"130\" bgcolor=\"#fffccc\"><strong>\u540d\u524d<\/strong><\/td>\n<td align = \"center\" width=\"50\" bgcolor=\"#fffccc\"><strong>\u5024<\/strong><\/td>\n<td align = \"center\" width=\"470\" bgcolor=\"#fffccc\"><strong>\u8aac\u660e<\/strong><\/td>\n<\/tr>\n<tr>\n<td width=\"130\">xlFillDefault<\/td>\n<td align = \"center\" width=\"50\">0<\/td>\n<td width=\"470\">Excel \u304c\u6c7a\u5b9a\uff08\u65e2\u5b9a\u5024\uff09<\/td>\n<\/tr>\n<tr>\n<td width=\"130\">xlFillCopy<\/td>\n<td align = \"center\" width=\"50\">1<\/td>\n<td width=\"470\">\u5024\u3068\u5f62\u5f0f<\/td>\n<\/tr>\n<tr>\n<td width=\"130\">xlFillSeries<\/td>\n<td align = \"center\" width=\"50\">2<\/td>\n<td width=\"470\">\u9023\u7d9a\u3059\u308b\u6570\u5024\uff08\u305f\u3068\u3048\u3070\u3001&#8217;1, 2&#8242; \u306f &#8216;3, 4, 5&#8217; \u3068\u306a\u308a\u307e\u3059\uff09<\/td>\n<\/tr>\n<tr>\n<td width=\"130\">xlFillFormats<\/td>\n<td align = \"center\" width=\"50\">3<\/td>\n<td width=\"470\">\u66f8\u5f0f\u306e\u307f<\/td>\n<\/tr>\n<tr>\n<td width=\"130\">xlFillValues<\/td>\n<td align = \"center\" width=\"50\">4<\/td>\n<td width=\"470\">\u5024\u306e\u307f<\/td>\n<\/tr>\n<tr>\n<td width=\"130\">xlFillDays<\/td>\n<td align = \"center\" width=\"50\">5<\/td>\n<td width=\"470\">\u66dc\u65e5\u540d<\/td>\n<\/tr>\n<tr>\n<td width=\"130\">xlFillWeekdays<\/td>\n<td align = \"center\" width=\"50\">6<\/td>\n<td width=\"470\">\u5e73\u65e5\u306e\u540d\u524d<\/td>\n<\/tr>\n<tr>\n<td width=\"130\">xlFillMonths<\/td>\n<td align = \"center\" width=\"50\">7<\/td>\n<td width=\"470\">\u6708<\/td>\n<\/tr>\n<tr>\n<td width=\"130\">xlFillYears<\/td>\n<td align = \"center\" width=\"50\">8<\/td>\n<td width=\"470\">\u5e74<\/td>\n<\/tr>\n<tr>\n<td width=\"130\">xlLinearTrend<\/td>\n<td align = \"center\" width=\"50\">9<\/td>\n<td width=\"470\">\u52a0\u7b97\u306b\u3088\u308b\u9023\u7d9a\u30c7\u30fc\u30bf<\/td>\n<\/tr>\n<tr>\n<td width=\"130\">xlGrowthTrend<\/td>\n<td align = \"center\" width=\"50\">10<\/td>\n<td width=\"470\">\u4e57\u7b97\u306b\u3088\u308b\u9023\u7d9a\u30c7\u30fc\u30bf<\/td>\n<\/tr>\n<tr>\n<td width=\"130\">xlFlashFill<\/td>\n<td align = \"center\" width=\"50\">11<\/td>\n<td width=\"470\">\u524d\u306e\u30e6\u30fc\u30b6\u30fc \u30a2\u30af\u30b7\u30e7\u30f3\u306e\u691c\u51fa\u3055\u308c\u305f\u30d1\u30bf\u30fc\u30f3\u306b\u57fa\u3065\u3044\u305f\u5024\uff08Excel 2013 \u4ee5\u964d\uff09<\/td>\n<\/tr>\n<\/table>\n<p>\n      <\/li>\n<\/ul>\n<br \/><\/div>\n<\/div>\n<br \/><br \/>\n<h2>AutoFill \u30e1\u30bd\u30c3\u30c9 \u4f7f\u7528\u4f8b<\/h2>\n<div class=\"m30-l\">\n<h3 id=\"vba_sample\">\u30b5\u30f3\u30d7\u30ebVBA\u30bd\u30fc\u30b9<\/h3>\n<pre class=\"lang:vb mark:0 decode:true \" title=\"AutoFill \u30e1\u30bd\u30c3\u30c9 \u4f7f\u7528\u4f8b\" data-url=\"http:\/\/example.co.jp\" >\r\n\u3000\r\nSub Sample_AutoFill()\r\n\r\n\r\n    'Type:\u7701\u7565\uff08Excel\u304c\u81ea\u52d5\u5224\u5b9a\uff09\r\n    Range(\"A2:A4\").AutoFill Destination:=Range(\"A2:A16\")\r\n    \r\n    'Type:\u9023\u7d9a\r\n    Range(\"B2\").AutoFill Destination:=Range(\"B2:B16\"), _\r\n                         Type:=xlFillSeries\r\n    \r\n    'Type:\u66dc\u65e5\r\n    Range(\"C2\").AutoFill Destination:=Range(\"C2:C16\"), _\r\n                         Type:=xlFillDays\r\n    \r\n    'Type:\u66f8\u5f0f\u306e\u307f\r\n    Range(\"D2\").AutoFill Destination:=Range(\"D2:D16\"), _\r\n                         Type:=xlFillFormats\r\n        \r\n    'Type:Excel\u304c\u81ea\u52d5\u5224\u5b9a\r\n    Range(\"E3\").AutoFill Destination:=Range(\"E3:E16\"), _\r\n                         Type:=xlFillDefault\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\/autofill01a.jpg?ssl=1\" rel=\"lightbox[3754]\"><img loading=\"lazy\" src=\"https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/09\/autofill01a.jpg?resize=549%2C425&#038;ssl=1\" alt=\"AutoFill \u30e1\u30bd\u30c3\u30c9 \u4f7f\u7528\u4f8b 1\" width=\"549\" height=\"425\" class=\"alignnone size-full wp-image-3761\" srcset=\"https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/09\/autofill01a.jpg?w=549&amp;ssl=1 549w, https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/09\/autofill01a.jpg?resize=400%2C310&amp;ssl=1 400w\" sizes=\"(max-width: 549px) 100vw, 549px\" 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\/autofill02a.jpg?ssl=1\" rel=\"lightbox[3754]\"><img loading=\"lazy\" src=\"https:\/\/i1.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/09\/autofill02a.jpg?resize=548%2C422&#038;ssl=1\" alt=\"AutoFill \u30e1\u30bd\u30c3\u30c9 \u4f7f\u7528\u4f8b 2\" width=\"548\" height=\"422\" class=\"alignnone size-full wp-image-3763\" srcset=\"https:\/\/i1.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/09\/autofill02a.jpg?w=548&amp;ssl=1 548w, https:\/\/i1.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/09\/autofill02a.jpg?resize=400%2C308&amp;ssl=1 400w\" sizes=\"(max-width: 548px) 100vw, 548px\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<\/div>\n<br \/>\n","protected":false},"excerpt":{"rendered":"<p>AutoFill \u30e1\u30bd\u30c3\u30c9 Excel \u3067\u3001\u9023\u7d9a\u3059\u308b\u30c7\u30fc\u30bf\u3092\u5165\u529b\u3059\u308b\u300c\u30aa\u30fc\u30c8\u30d5\u30a3 &#8230; <\/p>\n","protected":false},"author":1,"featured_media":3761,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"amp_status":"","spay_email":"","jetpack_publicize_message":""},"categories":[268],"tags":[557,270,63,38,269],"jetpack_featured_media_url":"https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/09\/autofill01a.jpg?fit=549%2C425&ssl=1","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4Ye9i-Yy","_links":{"self":[{"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts\/3754"}],"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=3754"}],"version-history":[{"count":7,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts\/3754\/revisions"}],"predecessor-version":[{"id":3796,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts\/3754\/revisions\/3796"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/media\/3761"}],"wp:attachment":[{"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/media?parent=3754"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/categories?post=3754"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/tags?post=3754"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}