{"id":424,"date":"2025-01-12T02:33:34","date_gmt":"2025-01-11T17:33:34","guid":{"rendered":"https:\/\/hajidai.com\/excel\/2025\/01\/excel%e3%83%9e%e3%82%b9%e3%82%bf%e3%83%bc%e3%81%b8%e3%81%ae%e9%81%93-%e4%b8%8a%e7%b4%9a%e8%80%85%e3%81%ae%e3%81%9f%e3%82%81%e3%81%ae%e8%a4%87%e9%9b%91%e3%82%a4%e3%83%99%e3%83%b3%e3%83%88%e9%a7%86\/"},"modified":"2025-01-12T02:33:34","modified_gmt":"2025-01-11T17:33:34","slug":"excel%e3%83%9e%e3%82%b9%e3%82%bf%e3%83%bc%e3%81%b8%e3%81%ae%e9%81%93-%e4%b8%8a%e7%b4%9a%e8%80%85%e3%81%ae%e3%81%9f%e3%82%81%e3%81%ae%e8%a4%87%e9%9b%91%e3%82%a4%e3%83%99%e3%83%b3%e3%83%88%e9%a7%86","status":"publish","type":"post","link":"https:\/\/hajidai.com\/excel\/2025\/01\/excel%e3%83%9e%e3%82%b9%e3%82%bf%e3%83%bc%e3%81%b8%e3%81%ae%e9%81%93-%e4%b8%8a%e7%b4%9a%e8%80%85%e3%81%ae%e3%81%9f%e3%82%81%e3%81%ae%e8%a4%87%e9%9b%91%e3%82%a4%e3%83%99%e3%83%b3%e3%83%88%e9%a7%86\/","title":{"rendered":"Excel\u30de\u30b9\u30bf\u30fc\u3078\u306e\u9053: \u4e0a\u7d1a\u8005\u306e\u305f\u3081\u306e\u8907\u96d1\u30a4\u30d9\u30f3\u30c8\u99c6\u52d5\u578b\u30de\u30af\u30ed\u5b9f\u88c5\u30ac\u30a4\u30c9"},"content":{"rendered":"<h2>Excel\u4e0a\u7d1a\u8005\u306e\u305f\u3081\u306e\u8907\u96d1\u306a\u30a4\u30d9\u30f3\u30c8\u99c6\u52d5\u578b\u30de\u30af\u30ed\u306e\u5b9f\u88c5<\/h2>\n<h3>\u4e0a\u7d1a\u8005\u5411\u3051\u30de\u30af\u30ed\u30b3\u30fc\u30c9\uff1a\u30b7\u30fc\u30c8\u5909\u66f4\u6642\u306b\u81ea\u52d5\u5b9f\u884c\u3055\u308c\u308b\u51e6\u7406<\/h3>\n<p>&#8220;`vba<br \/>\nPrivate Sub Workbook_SheetChange(ByVal Sh As Object, ByVal Target As Range)<br \/>\n    If Sh.Name = &#8220;\u30c7\u30fc\u30bf\u5165\u529b&#8221; And Target.Column = 1 Then<br \/>\n        Call \u81ea\u52d5\u51e6\u7406\u30de\u30af\u30ed<br \/>\n    End If<br \/>\nEnd Sub<\/p>\n<p>Sub \u81ea\u52d5\u51e6\u7406\u30de\u30af\u30ed()<br \/>\n    &#8216; \u3053\u3053\u306b\u81ea\u52d5\u5b9f\u884c\u3057\u305f\u3044\u51e6\u7406\u3092\u8a18\u8ff0<br \/>\n    MsgBox &#8220;\u30c7\u30fc\u30bf\u304c\u66f4\u65b0\u3055\u308c\u307e\u3057\u305f\u3002&#8221;<br \/>\nEnd Sub<br \/>\n&#8220;`<\/p>\n<h3>1. \u30a4\u30d9\u30f3\u30c8\u99c6\u52d5\u578b\u30de\u30af\u30ed\u306e\u57fa\u672c\u6982\u5ff5<\/h3>\n<p>Excel \u30de\u30af\u30ed\u306e\u4e16\u754c\u3067\u306f\u3001\u30a4\u30d9\u30f3\u30c8\u99c6\u52d5\u578b\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u304c\u975e\u5e38\u306b\u5f37\u529b\u306a\u30c4\u30fc\u30eb\u3068\u306a\u308a\u307e\u3059\u3002\u3053\u308c\u306f\u3001\u7279\u5b9a\u306e\u30a2\u30af\u30b7\u30e7\u30f3\u3084\u5909\u66f4\u304c\u767a\u751f\u3057\u305f\u3068\u304d\u306b\u81ea\u52d5\u7684\u306b\u30de\u30af\u30ed\u304c\u5b9f\u884c\u3055\u308c\u308b\u4ed5\u7d44\u307f\u3067\u3059\u3002\u4f8b\u3048\u3070\u3001\u30b7\u30fc\u30c8\u304c\u5909\u66f4\u3055\u308c\u305f\u3068\u304d\u3001\u65b0\u3057\u3044\u30b7\u30fc\u30c8\u304c\u8ffd\u52a0\u3055\u308c\u305f\u3068\u304d\u3001\u30d6\u30c3\u30af\u304c\u958b\u304b\u308c\u305f\u3068\u304d\u306a\u3069\u3067\u3059\u3002<\/p>\n<p>\u30a4\u30d9\u30f3\u30c8\u99c6\u52d5\u578b\u30de\u30af\u30ed\u3092\u5b9f\u88c5\u3059\u308b\u3053\u3068\u3067\u3001\u30e6\u30fc\u30b6\u30fc\u306e\u64cd\u4f5c\u306b\u5fdc\u3058\u3066\u81ea\u52d5\u7684\u306b\u51e6\u7406\u3092\u5b9f\u884c\u3067\u304d\u308b\u305f\u3081\u3001\u4f5c\u696d\u306e\u52b9\u7387\u5316\u3084\u30a8\u30e9\u30fc\u306e\u9632\u6b62\u306b\u5927\u304d\u304f\u8ca2\u732e\u3057\u307e\u3059\u3002\u4e0a\u8a18\u306e\u30b3\u30fc\u30c9\u4f8b\u3067\u306f\u3001\u300c\u30c7\u30fc\u30bf\u5165\u529b\u300d\u30b7\u30fc\u30c8\u306e1\u5217\u76ee\u306e\u30bb\u30eb\u304c\u5909\u66f4\u3055\u308c\u305f\u3068\u304d\u306b\u81ea\u52d5\u7684\u306b\u51e6\u7406\u304c\u5b9f\u884c\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<h3>2. \u8907\u96d1\u306a\u30de\u30af\u30ed\u306e\u8a2d\u8a08\u3068\u69cb\u9020\u5316<\/h3>\n<p>\u8907\u96d1\u306a\u30de\u30af\u30ed\u3092\u5b9f\u88c5\u3059\u308b\u969b\u306f\u3001\u30b3\u30fc\u30c9\u306e\u69cb\u9020\u5316\u304c\u91cd\u8981\u3067\u3059\u3002\u4ee5\u4e0b\u306e\u30dd\u30a4\u30f3\u30c8\u306b\u6ce8\u610f\u3057\u307e\u3057\u3087\u3046\uff1a<\/p>\n<p>1. \u30e2\u30b8\u30e5\u30fc\u30eb\u5206\u5272\uff1a\u6a5f\u80fd\u3054\u3068\u306b\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u5206\u3051\u3066\u7ba1\u7406\u3059\u308b<br \/>\n2. \u30a8\u30e9\u30fc\u30cf\u30f3\u30c9\u30ea\u30f3\u30b0\uff1a\u4e88\u671f\u305b\u306c\u30a8\u30e9\u30fc\u306b\u5bfe\u51e6\u3059\u308b\u305f\u3081\u306e\u30b3\u30fc\u30c9\u3092\u7d44\u307f\u8fbc\u3080<br \/>\n3. \u5909\u6570\u306e\u9069\u5207\u306a\u4f7f\u7528\uff1a\u30b0\u30ed\u30fc\u30d0\u30eb\u5909\u6570\u3068\u5c40\u6240\u5909\u6570\u3092\u9069\u5207\u306b\u4f7f\u3044\u5206\u3051\u308b<\/p>\n<p>\u307e\u305f\u3001\u30b3\u30e1\u30f3\u30c8\u3092\u7a4d\u6975\u7684\u306b\u4f7f\u7528\u3057\u3066\u30b3\u30fc\u30c9\u306e\u610f\u56f3\u3092\u660e\u78ba\u306b\u3059\u308b\u3053\u3068\u3082\u3001\u8907\u96d1\u306a\u30de\u30af\u30ed\u306e\u4fdd\u5b88\u6027\u3092\u9ad8\u3081\u308b\u4e0a\u3067\u91cd\u8981\u3067\u3059\u3002<\/p>\n<h3>3. \u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u6700\u9069\u5316\u30c6\u30af\u30cb\u30c3\u30af<\/h3>\n<p>Excel \u30de\u30af\u30ed\u306e\u5b9f\u884c\u901f\u5ea6\u3092\u5411\u4e0a\u3055\u305b\u308b\u305f\u3081\u306b\u3001\u4ee5\u4e0b\u306e\u30c6\u30af\u30cb\u30c3\u30af\u3092\u6d3b\u7528\u3057\u307e\u3057\u3087\u3046\uff1a<\/p>\n<p>1. \u30b9\u30af\u30ea\u30fc\u30f3\u66f4\u65b0\u306e\u4e00\u6642\u505c\u6b62\uff1a<br \/>\n   &#8220;`vba<br \/>\n   Application.ScreenUpdating = False<br \/>\n   &#8216; \u51e6\u7406<br \/>\n   Application.ScreenUpdating = True<br \/>\n   &#8220;`<\/p>\n<p>2. \u8a08\u7b97\u306e\u4e00\u6642\u505c\u6b62\uff1a<br \/>\n   &#8220;`vba<br \/>\n   Application.Calculation = xlCalculationManual<br \/>\n   &#8216; \u51e6\u7406<br \/>\n   Application.Calculation = xlCalculationAutomatic<br \/>\n   &#8220;`<\/p>\n<p>3. \u914d\u5217\u306e\u6d3b\u7528\uff1a\u5927\u91cf\u306e\u30bb\u30eb\u64cd\u4f5c\u3092\u884c\u3046\u5834\u5408\u306f\u3001\u30bb\u30eb\u306e\u5024\u3092\u914d\u5217\u306b\u683c\u7d0d\u3057\u3066\u4e00\u62ec\u51e6\u7406\u3059\u308b\u3053\u3068\u3067\u51e6\u7406\u901f\u5ea6\u304c\u5927\u5e45\u306b\u5411\u4e0a\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u3089\u306e\u30c6\u30af\u30cb\u30c3\u30af\u3092\u7d44\u307f\u5408\u308f\u305b\u308b\u3053\u3068\u3067\u3001\u8907\u96d1\u306a\u51e6\u7406\u3067\u3082\u30b9\u30e0\u30fc\u30ba\u306a\u5b9f\u884c\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>Excel \u30de\u30af\u30ed\u3092\u6d3b\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u65e5\u3005\u306e\u696d\u52d9\u3092\u5927\u5e45\u306b\u52b9\u7387\u5316\u3067\u304d\u307e\u3059\u3002\u30a4\u30d9\u30f3\u30c8\u99c6\u52d5\u578b\u306e\u30de\u30af\u30ed\u3092\u5b9f\u88c5\u3059\u308b\u3053\u3068\u3067\u3001\u30e6\u30fc\u30b6\u30fc\u306e\u64cd\u4f5c\u306b\u5408\u308f\u305b\u3066\u81ea\u52d5\u7684\u306b\u51e6\u7406\u3092\u5b9f\u884c\u3057\u3001\u4f5c\u696d\u306e\u624b\u9593\u3092\u6e1b\u3089\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u307e\u305f\u3001\u30b3\u30fc\u30c9\u306e\u69cb\u9020\u5316\u3084\u6700\u9069\u5316\u30c6\u30af\u30cb\u30c3\u30af\u3092\u99c6\u4f7f\u3059\u308b\u3053\u3068\u3067\u3001\u3088\u308a\u9ad8\u5ea6\u3067\u52b9\u7387\u7684\u306a\u30de\u30af\u30ed\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p>\u3053\u308c\u3089\u306e\u6280\u8853\u3092\u7fd2\u5f97\u3057\u3001\u5b9f\u8df5\u3059\u308b\u3053\u3068\u3067\u3001Excel \u3092\u5358\u306a\u308b\u8868\u8a08\u7b97\u30bd\u30d5\u30c8\u304b\u3089\u3001\u5f37\u529b\u306a\u696d\u52d9\u81ea\u52d5\u5316\u30c4\u30fc\u30eb\u3078\u3068\u9032\u5316\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3067\u3057\u3087\u3046\u3002Excel \u30de\u30af\u30ed\u306e\u53ef\u80fd\u6027\u306f\u7121\u9650\u5927\u3067\u3059\u3002\u305c\u3072\u3001\u81ea\u5206\u306e\u696d\u52d9\u306b\u5408\u308f\u305b\u305f\u30ab\u30b9\u30bf\u30e0\u30de\u30af\u30ed\u3092\u4f5c\u6210\u3057\u3001\u4f5c\u696d\u52b9\u7387\u3092\u98db\u8e8d\u7684\u306b\u5411\u4e0a\u3055\u305b\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Excel\u4e0a\u7d1a\u8005\u306e\u305f\u3081\u306e\u8907\u96d1\u306a\u30a4\u30d9\u30f3\u30c8\u99c6\u52d5\u578b\u30de\u30af\u30ed\u306e\u5b9f\u88c5 \u4e0a\u7d1a\u8005\u5411\u3051\u30de\u30af\u30ed\u30b3\u30fc\u30c9\uff1a\u30b7\u30fc\u30c8\u5909\u66f4\u6642\u306b\u81ea\u52d5\u5b9f\u884c\u3055\u308c\u308b\u51e6\u7406 #8220;`vba Private Sub Workbook_SheetChange(ByVal S<\/p>\n","protected":false},"author":2,"featured_media":423,"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-424","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\/424","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=424"}],"version-history":[{"count":0,"href":"https:\/\/hajidai.com\/excel\/wp-json\/wp\/v2\/posts\/424\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hajidai.com\/excel\/wp-json\/wp\/v2\/media\/423"}],"wp:attachment":[{"href":"https:\/\/hajidai.com\/excel\/wp-json\/wp\/v2\/media?parent=424"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hajidai.com\/excel\/wp-json\/wp\/v2\/categories?post=424"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hajidai.com\/excel\/wp-json\/wp\/v2\/tags?post=424"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}