{"id":8642,"date":"2019-12-26T06:00:48","date_gmt":"2019-12-25T21:00:48","guid":{"rendered":"https:\/\/www.muscle-hypertrophy.com\/?p=8642"},"modified":"2019-09-20T20:01:58","modified_gmt":"2019-09-20T11:01:58","slug":"excel-vba-%e3%81%a7%e8%a4%87%e6%95%b0%e3%81%ae%e6%95%a3%e5%b8%83%e5%9b%b3%e3%82%92%e6%95%b7%e3%81%8d%e8%a9%b0%e3%82%81%e3%81%a6%e4%b8%a6%e3%81%b9%e3%82%8b","status":"publish","type":"post","link":"https:\/\/www.muscle-hypertrophy.com\/?p=8642","title":{"rendered":"EXCEL VBA \u3067\u8907\u6570\u306e\u6563\u5e03\u56f3\u3092\u6577\u304d\u8a70\u3081\u3066\u4e26\u3079\u308b"},"content":{"rendered":"\n<p>\u3000EXCEL \u3067\u6563\u5e03\u56f3\u3092\u63cf\u304f\u969b\uff0c\u30ef\u30fc\u30af\u30b7\u30fc\u30c8\u306b\u8907\u6570\uff0c\u304b\u3064\u540c\u3058\u66f8\u5f0f\u3067\u4e26\u3079\u3066\u63cf\u304d\u305f\u3044\u3068\u3044\u3046\u3053\u3068\u304c\u3042\u308b\uff0e\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u306e\u3088\u3046\u306a\u3082\u306e\u3092\u60f3\u50cf\u3059\u308b\u3068\u5206\u304b\u308a\u3084\u3059\u3044\uff0e<\/p>\n<p>\u3000\u30eb\u30fc\u30d7\u5185\u3067\u4f4d\u7f6e\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u306b\u306a\u308b\u304c\uff0c\u91cd\u8981\u306a\u306e\u306f Left \u30d7\u30ed\u30d1\u30c6\u30a3\u3068 Top \u30d7\u30ed\u30d1\u30c6\u30a3\u306b\u306a\u308b\uff0e\u4eca\u56de\u306f\u305d\u3053\u3092\u5099\u5fd8\u9332\u304c\u3066\u3089\u516c\u958b\u3059\u308b\uff0e<\/p>\n<p><!--more--><\/p>\n<h3>\u90fd\u9053\u5e9c\u770c\u306f47\u3042\u308b<\/h3>\n<p>\u3000\u7e26\u9577\u306b\u6577\u304d\u8a70\u3081\u308b\u5834\u5408\u3060\u3068\u6a2a 6 \u500b\uff0c\u7e26 8 \u500b\u306b\u4e26\u3079\u308b\u3068\u53ce\u307e\u308a\u304c\u826f\u3044\u3068\u601d\u308f\u308c\u308b\uff0e\u5de6\u4e0a\u304b\u3089\u53f3\u3078\uff0c\u4e00\u6bb5\u4e0b\u304c\u3063\u3066\u307e\u305f\u53f3\u3078\uff0c\u3068\u3044\u3046\u9806\u3067\u4e26\u3079\u308b\u306e\u304c\u59a5\u5f53\u3068\u601d\u308f\u308c\u308b\uff0eEXCEL \u306e Left \u30d7\u30ed\u30d1\u30c6\u30a3\u3068 Top \u30d7\u30ed\u30d1\u30c6\u30a3\u304c\u5de6\u4e0a\u3092\u57fa\u6e96\u306b\u3057\u3066\u3044\u308b\u305f\u3081\u3067\u3042\u308b\uff0e<\/p>\n<h3>\u5270\u4f59\u3068\u5546\u304c\u9375<\/h3>\n<p>\u3000\u30eb\u30fc\u30d7\u30ab\u30a6\u30f3\u30bf\u306f 1 \u304b\u3089 47 \u307e\u3067\uff0e\u6a2a\u306b 6 \u500b\u4e26\u3079\u308b\u306e\u3060\u304b\u3089 6 \u3067\u9664\u3057\u305f\u5270\u4f59\u3068\u5546\u304c\u9375\u306b\u306a\u308a\u305d\u3046\u306a\u6c17\u304c\u3059\u308b\uff0e<\/p>\n<p>\u3000\u30eb\u30fc\u30d7\u30ab\u30a6\u30f3\u30bf\u304c 1 \u5897\u3048\u308b\u3068\u5270\u4f59\u306f 1 \u5897\u3048\u308b\u306e\u3067 Left \u30d7\u30ed\u30d1\u30c6\u30a3\u306b\u95a2\u4fc2\u3057\u305d\u3046\u3060\uff0e\u30eb\u30fc\u30d7\u30ab\u30a6\u30f3\u30bf\u304c 6 \u5897\u3048\u308b\u3068\u5546\u304c 1 \u5897\u3048\u308b\u306e\u3067\uff0cTop \u30d7\u30ed\u30d1\u30c6\u30a3\u306b\u95a2\u4fc2\u3057\u305d\u3046\u3060\uff0e<\/p>\n<p>\u3000&#8230;\u3068\u3044\u3046\u3068\u3053\u308d\u307e\u3067\u982d\u306e\u4e2d\u3060\u3051\u3067\u601d\u3044\u3064\u304f\u4eba\u306a\u3089\uff0c\u3044\u304d\u306a\u308a\u30b3\u30fc\u30c9\u3092\u66f8\u304d\u59cb\u3081\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3060\u308d\u3046\u304c\uff0c\u4ffa\u306f\u4e00\u65e6\u7d19\u306b\u66f8\u304d\u51fa\u3055\u306a\u3044\u3068\u601d\u3044\u3064\u304b\u306a\u304b\u3063\u305f\uff0e<\/p>\n<h3>\u30ed\u30b8\u30c3\u30af\u306e\u4e2d\u5fc3<\/h3>\n<pre class=\"\">For i = 1 To 47\n    Debug.Print i, (i - 1) Mod 6, (i - 1) \\ 6\nNext i<\/pre>\n<p>\u3000\u4e0a\u8a18\u30b3\u30fc\u30c9\u304c\u30ed\u30b8\u30c3\u30af\u306e\u4e2d\u5fc3\u3067\u3042\u308b\uff0e\u30a4\u30df\u30c7\u30a3\u30a8\u30a4\u30c8\u30a6\u30a3\u30f3\u30c9\u30a6\u306b\u7d50\u679c\u3092\u66f8\u304d\u51fa\u3057\u3066\u307f\u308b\u3068\u826f\u3044\uff0e<\/p>\n<h3>\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9<\/h3>\n<p>\u3000\u5b9f\u969b\u306e\u30b3\u30fc\u30c9\u306f\u4e0b\u8a18\u306e\u3088\u3046\u306b\u306a\u308b\uff0e\u4e00\u8fba 150 \u30dd\u30a4\u30f3\u30c8\u306e\u6b63\u65b9\u5f62\u306e\u6563\u5e03\u56f3\u3092\u30ef\u30fc\u30af\u30b7\u30fc\u30c8\u306e\u5de6\u4e0a\u304b\u3089 47 \u500b\u6577\u304d\u8a70\u3081\u308b\u30b3\u30fc\u30c9\u3067\u3042\u308b\uff0e<\/p>\n<pre class=\"\">With Worksheets.Add\nFor i = 1 To 47\n    Set myCht = .Shapes.AddChart2(Style:=247, _\n                            XlChartType:=xlXYScatter, _\n                                   Left:=150 * ((i - 1) Mod 6), _\n                                    Top:=150 * ((i - 1) \\ 6), _\n                                  Width:=150, _\n                                 Height:=150).Chart\nNext i\nEnd With<\/pre>\n<p>\u3000\u5177\u4f53\u7684\u306a\u30c7\u30fc\u30bf\u7cfb\u5217\u3084\u66f8\u5f0f\u306e\u6307\u5b9a\u306f\u3053\u306e\u5927\u67a0\u306e\u4e2d\u3067\u884c\u3046\u3053\u3068\u306b\u306a\u308b\uff0e\u6700\u3082\u91cd\u8981\u306a\u30ed\u30b8\u30c3\u30af\u306e\u9aa8\u683c\u3092\u307e\u305a\u306f\u7406\u89e3\u3057\u3066\u304a\u304d\u305f\u3044\uff0e<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3000EXCEL \u3067\u6563\u5e03\u56f3\u3092\u63cf\u304f\u969b\uff0c\u30ef\u30fc\u30af\u30b7\u30fc\u30c8\u306b\u8907\u6570\uff0c\u304b\u3064\u540c\u3058\u66f8\u5f0f\u3067\u4e26\u3079\u3066\u63cf\u304d\u305f\u3044\u3068\u3044\u3046\u3053\u3068\u304c\u3042\u308b\uff0e\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u306e\u3088\u3046\u306a\u3082\u306e\u3092\u60f3\u50cf\u3059\u308b\u3068\u5206\u304b\u308a\u3084\u3059\u3044\uff0e \u3000\u30eb\u30fc\u30d7\u5185\u3067\u4f4d\u7f6e\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u306b\u306a\u308b\u304c\uff0c\u91cd\u8981\u306a\u306e\u306f Left \u30d7\u30ed\u30d1 &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.muscle-hypertrophy.com\/?p=8642\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;EXCEL VBA \u3067\u8907\u6570\u306e\u6563\u5e03\u56f3\u3092\u6577\u304d\u8a70\u3081\u3066\u4e26\u3079\u308b&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[5417,4601,4525,4533,265,5428,5413,5414,5429,4534,4600,5424,5415,5416,459,5427,5425,5426,5430,5423,248,4516,4593,5422,2500,663,4006,5421,5420,5419,5418,4326,3652,3627,4716,4439],"class_list":{"0":"post-8642","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"hentry","6":"category-technology","7":"tag-5417","8":"tag-addchart2","9":"tag-chart","10":"tag-debug","11":"tag-excel","12":"tag-height","13":"tag-left","15":"tag-mod","16":"tag-print","17":"tag-shapes","18":"tag-style","19":"tag-top","21":"tag-vba","22":"tag-width","23":"tag-xlcharttype","24":"tag-xlxyscatter","25":"tag-5430","26":"tag-5423","27":"tag-248","28":"tag-4516","29":"tag-4593","30":"tag-5422","31":"tag-2500","32":"tag-663","33":"tag-4006","34":"tag-5421","35":"tag-5420","36":"tag-5419","37":"tag-5418","38":"tag-4326","39":"tag-3652","40":"tag-3627","41":"tag-4716","42":"tag-4439"},"_links":{"self":[{"href":"https:\/\/www.muscle-hypertrophy.com\/index.php?rest_route=\/wp\/v2\/posts\/8642","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.muscle-hypertrophy.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.muscle-hypertrophy.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.muscle-hypertrophy.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.muscle-hypertrophy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=8642"}],"version-history":[{"count":20,"href":"https:\/\/www.muscle-hypertrophy.com\/index.php?rest_route=\/wp\/v2\/posts\/8642\/revisions"}],"predecessor-version":[{"id":8662,"href":"https:\/\/www.muscle-hypertrophy.com\/index.php?rest_route=\/wp\/v2\/posts\/8642\/revisions\/8662"}],"wp:attachment":[{"href":"https:\/\/www.muscle-hypertrophy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8642"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.muscle-hypertrophy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=8642"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.muscle-hypertrophy.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=8642"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}