{"id":631,"date":"2025-04-26T04:49:10","date_gmt":"2025-04-25T19:49:10","guid":{"rendered":"https:\/\/hajidai.com\/excel\/2025\/04\/%e3%80%90%e4%b8%8a%e7%b4%9a%e8%80%85%e5%90%91%e3%81%91%e3%80%91excel%e3%83%9e%e3%82%af%e3%83%ad%e3%81%a7%e5%ae%9f%e7%8f%be%e3%81%99%e3%82%8b%e9%ab%98%e5%ba%a6%e3%81%aa%e8%a9%b3%e7%b4%b0%e3%83%88\/"},"modified":"2025-04-26T04:49:10","modified_gmt":"2025-04-25T19:49:10","slug":"%e3%80%90%e4%b8%8a%e7%b4%9a%e8%80%85%e5%90%91%e3%81%91%e3%80%91excel%e3%83%9e%e3%82%af%e3%83%ad%e3%81%a7%e5%ae%9f%e7%8f%be%e3%81%99%e3%82%8b%e9%ab%98%e5%ba%a6%e3%81%aa%e8%a9%b3%e7%b4%b0%e3%83%88","status":"publish","type":"post","link":"https:\/\/hajidai.com\/excel\/2025\/04\/%e3%80%90%e4%b8%8a%e7%b4%9a%e8%80%85%e5%90%91%e3%81%91%e3%80%91excel%e3%83%9e%e3%82%af%e3%83%ad%e3%81%a7%e5%ae%9f%e7%8f%be%e3%81%99%e3%82%8b%e9%ab%98%e5%ba%a6%e3%81%aa%e8%a9%b3%e7%b4%b0%e3%83%88\/","title":{"rendered":"\u3010\u4e0a\u7d1a\u8005\u5411\u3051\u3011Excel\u30de\u30af\u30ed\u3067\u5b9f\u73fe\u3059\u308b\u9ad8\u5ea6\u306a\u8a73\u7d30\u30c8\u30ec\u30fc\u30b9\u6a5f\u80fd\uff1a\u696d\u52d9\u52b9\u7387\u5316\u3068\u554f\u984c\u89e3\u6c7a\u306e\u9375"},"content":{"rendered":"<h2>\u4e0a\u7d1a\u8005\u5411\u3051Excel\u30de\u30af\u30ed\u3067\u696d\u52d9\u52b9\u7387\u5316\uff01\u8a73\u7d30\u30c8\u30ec\u30fc\u30b9\u5b9f\u88c5\u306e\u30b3\u30fc\u30c9\u4f8b<\/h2>\n<p>&#8220;`vba<br \/>\nSub DetailedLogging()<br \/>\n    Dim ws As Worksheet<br \/>\n    Dim lastRow As Long<br \/>\n    Dim i As Long<\/p>\n<p>    Set ws = ThisWorkbook.Sheets(&#8220;LogSheet&#8221;)<br \/>\n    lastRow = ws.Cells(ws.Rows.Count, &#8220;A&#8221;).End(xlUp).Row + 1<\/p>\n<p>    For i = 1 To 100<br \/>\n        ws.Cells(lastRow, 1).Value = Now()<br \/>\n        ws.Cells(lastRow, 2).Value = &#8220;Action &#8221; &#038; i<br \/>\n        ws.Cells(lastRow, 3).Value = &#8220;Details for action &#8221; &#038; i<br \/>\n        lastRow = lastRow + 1<br \/>\n    Next i<\/p>\n<p>    MsgBox &#8220;Logging complete!&#8221;, vbInformation<br \/>\nEnd Sub<br \/>\n&#8220;`<\/p>\n<h3>1. \u8a73\u7d30\u30c8\u30ec\u30fc\u30b9\u306e\u91cd\u8981\u6027<\/h3>\n<p>Excel\u30de\u30af\u30ed\u3092\u4f7f\u3063\u305f\u8a73\u7d30\u30c8\u30ec\u30fc\u30b9\u5b9f\u88c5\u306f\u3001\u4e0a\u7d1a\u8005\u306b\u3068\u3063\u3066\u6b20\u304b\u305b\u306a\u3044\u30b9\u30ad\u30eb\u3067\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u8907\u96d1\u306a\u51e6\u7406\u306e\u6d41\u308c\u3092\u6b63\u78ba\u306b\u628a\u63e1\u3057\u3001\u554f\u984c\u304c\u767a\u751f\u3057\u305f\u969b\u306b\u8fc5\u901f\u306b\u539f\u56e0\u3092\u7279\u5b9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u8a73\u7d30\u30c8\u30ec\u30fc\u30b9\u3092\u5b9f\u88c5\u3059\u308b\u3053\u3068\u3067\u3001\u4ee5\u4e0b\u306e\u30e1\u30ea\u30c3\u30c8\u304c\u5f97\u3089\u308c\u307e\u3059\uff1a<\/p>\n<p>&#8211; \u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u52d5\u4f5c\u3092\u7d30\u304b\u304f\u8ffd\u8de1\u3067\u304d\u308b<br \/>\n&#8211; \u30c7\u30d0\u30c3\u30b0\u4f5c\u696d\u304c\u52b9\u7387\u5316\u3055\u308c\u308b<br \/>\n&#8211; \u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u306e\u30dc\u30c8\u30eb\u30cd\u30c3\u30af\u3092\u767a\u898b\u3057\u3084\u3059\u304f\u306a\u308b<\/p>\n<h3>2. \u30c8\u30ec\u30fc\u30b9\u30ed\u30b0\u306e\u69cb\u9020\u8a2d\u8a08<\/h3>\n<p>\u52b9\u679c\u7684\u306a\u30c8\u30ec\u30fc\u30b9\u30ed\u30b0\u3092\u5b9f\u88c5\u3059\u308b\u306b\u306f\u3001\u9069\u5207\u306a\u69cb\u9020\u8a2d\u8a08\u304c\u4e0d\u53ef\u6b20\u3067\u3059\u3002\u4e00\u822c\u7684\u306b\u3001\u4ee5\u4e0b\u306e\u8981\u7d20\u3092\u542b\u3081\u308b\u3053\u3068\u304c\u63a8\u5968\u3055\u308c\u307e\u3059\uff1a<\/p>\n<p>&#8211; \u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7\uff1a\u30a2\u30af\u30b7\u30e7\u30f3\u304c\u5b9f\u884c\u3055\u308c\u305f\u65e5\u6642<br \/>\n&#8211; \u30a2\u30af\u30b7\u30e7\u30f3\u540d\uff1a\u5b9f\u884c\u3055\u308c\u305f\u51e6\u7406\u306e\u540d\u79f0<br \/>\n&#8211; \u8a73\u7d30\u60c5\u5831\uff1a\u51e6\u7406\u306e\u5185\u5bb9\u3084\u7d50\u679c\u306b\u95a2\u3059\u308b\u5177\u4f53\u7684\u306a\u60c5\u5831<br \/>\n&#8211; \u30a8\u30e9\u30fc\u60c5\u5831\uff1a\u767a\u751f\u3057\u305f\u30a8\u30e9\u30fc\u306e\u7a2e\u985e\u3084\u8a73\u7d30\uff08\u8a72\u5f53\u3059\u308b\u5834\u5408\uff09<\/p>\n<p>\u3053\u308c\u3089\u306e\u60c5\u5831\u3092\u9069\u5207\u306b\u7d44\u307f\u5408\u308f\u305b\u308b\u3053\u3068\u3067\u3001\u5f8c\u304b\u3089\u30ed\u30b0\u3092\u898b\u8fd4\u3057\u305f\u969b\u306b\u3001\u51e6\u7406\u306e\u6d41\u308c\u3092\u5bb9\u6613\u306b\u7406\u89e3\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h3>3. \u9ad8\u5ea6\u306a\u30c8\u30ec\u30fc\u30b9\u6280\u8853<\/h3>\n<p>\u4e0a\u7d1a\u8005\u5411\u3051\u306eExcel\u30de\u30af\u30ed\u3067\u306f\u3001\u3088\u308a\u9ad8\u5ea6\u306a\u30c8\u30ec\u30fc\u30b9\u6280\u8853\u3092\u6d3b\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u4ee5\u4e0b\u306b\u3001\u3044\u304f\u3064\u304b\u306e\u91cd\u8981\u306a\u30dd\u30a4\u30f3\u30c8\u3092\u6319\u3052\u307e\u3059\uff1a<\/p>\n<p>&#8211; \u6761\u4ef6\u4ed8\u304d\u30ed\u30ae\u30f3\u30b0\uff1a\u7279\u5b9a\u306e\u6761\u4ef6\u4e0b\u3067\u306e\u307f\u30ed\u30b0\u3092\u8a18\u9332\u3059\u308b<br \/>\n&#8211; \u30ed\u30b0\u30ec\u30d9\u30eb\u306e\u8a2d\u5b9a\uff1a\u91cd\u8981\u5ea6\u306b\u5fdc\u3058\u3066\u30ed\u30b0\u306e\u8a73\u7d30\u5ea6\u3092\u5909\u66f4\u3059\u308b<br \/>\n&#8211; \u5916\u90e8\u30d5\u30a1\u30a4\u30eb\u3078\u306e\u51fa\u529b\uff1a\u5927\u91cf\u306e\u30ed\u30b0\u30c7\u30fc\u30bf\u3092\u5225\u30d5\u30a1\u30a4\u30eb\u306b\u4fdd\u5b58\u3059\u308b<\/p>\n<p>\u3053\u308c\u3089\u306e\u6280\u8853\u3092\u99c6\u4f7f\u3059\u308b\u3053\u3068\u3067\u3001\u3088\u308a\u67d4\u8edf\u3067\u52b9\u7387\u7684\u306a\u30c8\u30ec\u30fc\u30b9\u30b7\u30b9\u30c6\u30e0\u3092\u69cb\u7bc9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>Excel\u30de\u30af\u30ed\u3092\u6d3b\u7528\u3057\u305f\u8a73\u7d30\u30c8\u30ec\u30fc\u30b9\u5b9f\u88c5\u306f\u3001\u30c7\u30d0\u30c3\u30b0\u4f5c\u696d\u306e\u52b9\u7387\u5316\u3084\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u54c1\u8cea\u5411\u4e0a\u306b\u5927\u304d\u304f\u8ca2\u732e\u3057\u307e\u3059\u3002\u4e0a\u8a18\u306e\u30b3\u30fc\u30c9\u4f8b\u3084\u6280\u8853\u3092\u53c2\u8003\u306b\u3001\u81ea\u8eab\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u6700\u9069\u306a\u30c8\u30ec\u30fc\u30b9\u30b7\u30b9\u30c6\u30e0\u3092\u69cb\u7bc9\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e0a\u7d1a\u8005\u5411\u3051Excel\u30de\u30af\u30ed\u3067\u696d\u52d9\u52b9\u7387\u5316\uff01\u8a73\u7d30\u30c8\u30ec\u30fc\u30b9\u5b9f\u88c5\u306e\u30b3\u30fc\u30c9\u4f8b #8220;`vba Sub DetailedLogging() Dim ws As Worksheet Dim lastRow As Long Di<\/p>\n","protected":false},"author":2,"featured_media":630,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[5],"tags":[],"class_list":["post-631","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-advanced"],"_links":{"self":[{"href":"https:\/\/hajidai.com\/excel\/wp-json\/wp\/v2\/posts\/631","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hajidai.com\/excel\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hajidai.com\/excel\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hajidai.com\/excel\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/hajidai.com\/excel\/wp-json\/wp\/v2\/comments?post=631"}],"version-history":[{"count":0,"href":"https:\/\/hajidai.com\/excel\/wp-json\/wp\/v2\/posts\/631\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hajidai.com\/excel\/wp-json\/wp\/v2\/media\/630"}],"wp:attachment":[{"href":"https:\/\/hajidai.com\/excel\/wp-json\/wp\/v2\/media?parent=631"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hajidai.com\/excel\/wp-json\/wp\/v2\/categories?post=631"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hajidai.com\/excel\/wp-json\/wp\/v2\/tags?post=631"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}