{"id":2732,"date":"2017-12-26T01:32:26","date_gmt":"2017-12-25T16:32:26","guid":{"rendered":"http:\/\/nantoka.filmm.info\/blog\/?p=2732"},"modified":"2017-12-26T01:32:26","modified_gmt":"2017-12-25T16:32:26","slug":"excel%e3%81%ae%e3%83%9e%e3%82%af%e3%83%ad%e3%81%a7%e4%ba%91%e3%80%85","status":"publish","type":"post","link":"https:\/\/nantoka.filmm.info\/blog\/?p=2732","title":{"rendered":"Excel\u306e\u30de\u30af\u30ed\u3067\u4e91\u3005"},"content":{"rendered":"<p>\u6025\u304e\u306e\u6848\u4ef6\u3067\uff0c\u3044\u308d\u3044\u308d\u8a66\u3057\u305f\u3051\u3069\uff0c\u7d50\u5c40\u30de\u30af\u30ed\u3067\u5f37\u5f15\u306b\u52d5\u304b\u3059<\/p>\n<p>\u30c7\u30fc\u30bf\u304c\u7dba\u9e97\u306b\u305d\u308d\u3063\u3066\u3044\u305f\u304b\u3089\u3067\u304d\u305f\u3060\u3051\u306b\u3059\u304e\u306a\u3044<\/p>\n<p>10\u6570\u4e07\u884c\u00d77\u5217\u3067\u7d0450\u5206\u306e\u5b9f\u884c\u6642\u9593<\/p>\n<pre class=\"lang:vb decode:true\">Sub Macro3()\r\n'\r\n' Macro3 Macro\r\n'\r\nSheets(\"Sheet1\").Select\r\n\r\nDim i As Long\r\nDim j As Long\r\nDim h As Long\r\nh = 2\r\n\r\ni = 2\r\n\r\n\r\n For i = 2 To 515858 Step 66\r\n    j = i + 65\r\n\r\n    Sheets(\"Sheet1\").Select\r\n    Range(\"C\" &amp; i &amp; \":C\" &amp; j).Select\r\n    ActiveCell.Offset(0, 0).Activate\r\n    Selection.Copy\r\n    Sheets(\"Sheet2\").Select\r\n    Range(\"B\" &amp; h).Select\r\n    Selection.PasteSpecial Paste:=xlPasteAll, Operation:=xlNone, SkipBlanks:= _\r\n        False, Transpose:=True\r\n        \r\n    Sheets(\"Sheet1\").Select\r\n    Range(\"D\" &amp; i &amp; \":D\" &amp; j).Select\r\n    ActiveCell.Offset(0, 0).Activate\r\n    Selection.Copy\r\n    Sheets(\"Sheet2\").Select\r\n    Range(\"BP\" &amp; h).Select\r\n    Selection.PasteSpecial Paste:=xlPasteAll, Operation:=xlNone, SkipBlanks:= _\r\n        False, Transpose:=True\r\n        \r\n    \r\n    Sheets(\"Sheet1\").Select\r\n    Range(\"E\" &amp; i &amp; \":E\" &amp; j).Select\r\n    ActiveCell.Offset(0, 0).Activate\r\n    Selection.Copy\r\n    Sheets(\"Sheet2\").Select\r\n    Range(\"ED\" &amp; h).Select\r\n    Selection.PasteSpecial Paste:=xlPasteAll, Operation:=xlNone, SkipBlanks:= _\r\n        False, Transpose:=True\r\n    \r\n    Sheets(\"Sheet1\").Select\r\n    Range(\"F\" &amp; i &amp; \":F\" &amp; j).Select\r\n    ActiveCell.Offset(0, 0).Activate\r\n    Selection.Copy\r\n    Sheets(\"Sheet2\").Select\r\n    Range(\"GR\" &amp; h).Select\r\n    Selection.PasteSpecial Paste:=xlPasteAll, Operation:=xlNone, SkipBlanks:= _\r\n        False, Transpose:=True\r\n        \r\n    Sheets(\"Sheet1\").Select\r\n    Range(\"G\" &amp; i &amp; \":G\" &amp; j).Select\r\n    ActiveCell.Offset(0, 0).Activate\r\n    Selection.Copy\r\n    Sheets(\"Sheet2\").Select\r\n    Range(\"JF\" &amp; h).Select\r\n    Selection.PasteSpecial Paste:=xlPasteAll, Operation:=xlNone, SkipBlanks:= _\r\n        False, Transpose:=True\r\n        \r\n      h = h + 1\r\n        \r\n    Next\r\nEnd Sub\r\n<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6025\u304e\u306e\u6848\u4ef6\u3067\uff0c\u3044\u308d\u3044\u308d\u8a66\u3057\u305f\u3051\u3069\uff0c\u7d50\u5c40\u30de\u30af\u30ed\u3067\u5f37\u5f15\u306b\u52d5\u304b\u3059 \u30c7\u30fc\u30bf\u304c\u7dba\u9e97\u306b\u305d\u308d\u3063\u3066\u3044\u305f\u304b\u3089\u3067\u304d\u305f\u3060\u3051\u306b\u3059\u304e\u306a\u3044 10\u6570\u4e07\u884c\u00d77\u5217\u3067\u7d0450\u5206\u306e\u5b9f\u884c\u6642\u9593 Sub Macro3() &#8216; &#8216; Macro3 Macro &#8216; She &hellip; <a href=\"https:\/\/nantoka.filmm.info\/blog\/?p=2732\" class=\"more-link\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">Excel\u306e\u30de\u30af\u30ed\u3067\u4e91\u3005<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[52,53],"tags":[],"class_list":["post-2732","post","type-post","status-publish","format-standard","hentry","category-excel","category-vba"],"_links":{"self":[{"href":"https:\/\/nantoka.filmm.info\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2732","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nantoka.filmm.info\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nantoka.filmm.info\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nantoka.filmm.info\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nantoka.filmm.info\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2732"}],"version-history":[{"count":1,"href":"https:\/\/nantoka.filmm.info\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2732\/revisions"}],"predecessor-version":[{"id":2733,"href":"https:\/\/nantoka.filmm.info\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2732\/revisions\/2733"}],"wp:attachment":[{"href":"https:\/\/nantoka.filmm.info\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2732"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nantoka.filmm.info\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2732"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nantoka.filmm.info\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2732"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}