{"id":643,"date":"2025-05-11T00:49:09","date_gmt":"2025-05-10T15:49:09","guid":{"rendered":"https:\/\/hajidai.com\/excel\/2025\/05\/%e3%80%90excel%e4%b8%8a%e7%b4%9a%e8%80%85%e5%bf%85%e8%a6%8b%e3%80%91%e3%83%a1%e3%83%a2%e3%83%aa%e3%83%aa%e3%83%bc%e3%82%af%e5%af%be%e7%ad%96%e3%81%a8%e5%8a%b9%e7%8e%87%e5%8c%96%e3%83%86%e3%82%af\/"},"modified":"2025-05-11T00:49:09","modified_gmt":"2025-05-10T15:49:09","slug":"%e3%80%90excel%e4%b8%8a%e7%b4%9a%e8%80%85%e5%bf%85%e8%a6%8b%e3%80%91%e3%83%a1%e3%83%a2%e3%83%aa%e3%83%aa%e3%83%bc%e3%82%af%e5%af%be%e7%ad%96%e3%81%a8%e5%8a%b9%e7%8e%87%e5%8c%96%e3%83%86%e3%82%af","status":"publish","type":"post","link":"https:\/\/hajidai.com\/excel\/2025\/05\/%e3%80%90excel%e4%b8%8a%e7%b4%9a%e8%80%85%e5%bf%85%e8%a6%8b%e3%80%91%e3%83%a1%e3%83%a2%e3%83%aa%e3%83%aa%e3%83%bc%e3%82%af%e5%af%be%e7%ad%96%e3%81%a8%e5%8a%b9%e7%8e%87%e5%8c%96%e3%83%86%e3%82%af\/","title":{"rendered":"\u3010Excel\u4e0a\u7d1a\u8005\u5fc5\u898b\u3011\u30e1\u30e2\u30ea\u30ea\u30fc\u30af\u5bfe\u7b56\u3068\u52b9\u7387\u5316\u30c6\u30af\u30cb\u30c3\u30af\u3067\u696d\u52d9\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3092\u5287\u7684\u5411\u4e0a\uff01"},"content":{"rendered":"<h2>Excel\u4e0a\u7d1a\u8005\u304c\u6975\u3081\u308b\u30e1\u30e2\u30ea\u30ea\u30fc\u30af\u691c\u51fa\u3068\u9632\u6b62<\/h2>\n<h3>\u4e0a\u7d1a\u8005\u5411\u3051\u306e\u52b9\u7387\u5316\u30de\u30af\u30ed\u30b3\u30fc\u30c9<\/h3>\n<p>\u4ee5\u4e0b\u306f\u3001Excel\u306e\u30e1\u30e2\u30ea\u4f7f\u7528\u91cf\u3092\u76e3\u8996\u3057\u3001\u8b66\u544a\u3092\u8868\u793a\u3059\u308b\u30de\u30af\u30ed\u30b3\u30fc\u30c9\u3067\u3059\uff1a<\/p>\n<p>&#8220;`vba<br \/>\nSub MonitorMemoryUsage()<br \/>\n    Dim memUsage As Long<\/p>\n<p>    Do<br \/>\n        memUsage = Application.Memory<br \/>\n        If memUsage > 1000000000 Then &#8216; 1GB\u4ee5\u4e0a\u306e\u5834\u5408<br \/>\n            MsgBox &#8220;\u30e1\u30e2\u30ea\u4f7f\u7528\u91cf\u304c1GB\u3092\u8d85\u3048\u3066\u3044\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u3092\u4fdd\u5b58\u3057\u3001Excel\u3092\u518d\u8d77\u52d5\u3059\u308b\u3053\u3068\u3092\u304a\u52e7\u3081\u3057\u307e\u3059\u3002&#8221;, vbExclamation<br \/>\n            Exit Do<br \/>\n        End If<br \/>\n        Application.Wait Now + TimeValue(&#8220;00:00:10&#8221;) &#8216; 10\u79d2\u3054\u3068\u306b\u30c1\u30a7\u30c3\u30af<br \/>\n    Loop<br \/>\nEnd Sub<br \/>\n&#8220;`<\/p>\n<p>\u3053\u306e\u30de\u30af\u30ed\u3092\u5b9f\u884c\u3059\u308b\u3068\u300110\u79d2\u3054\u3068\u306bExcel\u306e\u30e1\u30e2\u30ea\u4f7f\u7528\u91cf\u3092\u30c1\u30a7\u30c3\u30af\u3057\u30011GB\u4ee5\u4e0a\u306b\u306a\u3063\u305f\u5834\u5408\u306b\u8b66\u544a\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u8868\u793a\u3057\u307e\u3059\u3002<\/p>\n<h3>1. \u30e1\u30e2\u30ea\u30ea\u30fc\u30af\u3068\u306f\u4f55\u304b\uff1f<\/h3>\n<p>\u30e1\u30e2\u30ea\u30ea\u30fc\u30af\u3068\u306f\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u304c\u4f7f\u7528\u3057\u305f\u30e1\u30e2\u30ea\u3092\u9069\u5207\u306b\u89e3\u653e\u305b\u305a\u3001\u4e0d\u8981\u306a\u30e1\u30e2\u30ea\u3092\u5360\u6709\u3057\u7d9a\u3051\u308b\u73fe\u8c61\u3067\u3059\u3002Excel\u3067\u306f\u3001\u5927\u91cf\u306e\u30c7\u30fc\u30bf\u3092\u6271\u3063\u305f\u308a\u3001\u8907\u96d1\u306a\u8a08\u7b97\u3092\u884c\u3063\u305f\u308a\u3059\u308b\u969b\u306b\u30e1\u30e2\u30ea\u30ea\u30fc\u30af\u304c\u767a\u751f\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u30e1\u30e2\u30ea\u30ea\u30fc\u30af\u304c\u8d77\u3053\u308b\u3068\u3001Excel\u306e\u52d5\u4f5c\u304c\u9045\u304f\u306a\u3063\u305f\u308a\u3001\u6700\u60aa\u306e\u5834\u5408\u306f\u30af\u30e9\u30c3\u30b7\u30e5\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u305d\u306e\u305f\u3081\u3001\u4e0a\u7d1a\u8005\u306f\u30e1\u30e2\u30ea\u30ea\u30fc\u30af\u3092\u691c\u51fa\u3057\u3001\u9632\u6b62\u3059\u308b\u65b9\u6cd5\u3092\u77e5\u3063\u3066\u304a\u304f\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<h3>2. \u30e1\u30e2\u30ea\u30ea\u30fc\u30af\u306e\u691c\u51fa\u65b9\u6cd5<\/h3>\n<p>Excel\u306e\u30e1\u30e2\u30ea\u30ea\u30fc\u30af\u3092\u691c\u51fa\u3059\u308b\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\uff1a<\/p>\n<p>1. \u30bf\u30b9\u30af\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u306e\u5229\u7528\uff1aExcel\u306e\u30d7\u30ed\u30bb\u30b9\u306e\u30e1\u30e2\u30ea\u4f7f\u7528\u91cf\u3092\u5b9a\u671f\u7684\u306b\u30c1\u30a7\u30c3\u30af\u3057\u307e\u3059\u3002<br \/>\n2. Performance Monitor\u306e\u4f7f\u7528\uff1aWindows\u306b\u642d\u8f09\u3055\u308c\u3066\u3044\u308b\u30c4\u30fc\u30eb\u3067\u3001\u3088\u308a\u8a73\u7d30\u306a\u30e1\u30e2\u30ea\u4f7f\u7528\u72b6\u6cc1\u3092\u76e3\u8996\u3067\u304d\u307e\u3059\u3002<br \/>\n3. Excel \u30de\u30af\u30ed\u306e\u6d3b\u7528\uff1a\u4e0a\u8a18\u306e\u3088\u3046\u306a\u30ab\u30b9\u30bf\u30e0\u30de\u30af\u30ed\u3092\u4f5c\u6210\u3057\u3001\u30e1\u30e2\u30ea\u4f7f\u7528\u91cf\u3092\u81ea\u52d5\u7684\u306b\u76e3\u8996\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u3089\u306e\u65b9\u6cd5\u3092\u7d44\u307f\u5408\u308f\u305b\u308b\u3053\u3068\u3067\u3001\u30e1\u30e2\u30ea\u30ea\u30fc\u30af\u306e\u5146\u5019\u3092\u65e9\u671f\u306b\u767a\u898b\u3067\u304d\u307e\u3059\u3002<\/p>\n<h3>3. \u30e1\u30e2\u30ea\u30ea\u30fc\u30af\u306e\u9632\u6b62\u7b56<\/h3>\n<p>\u30e1\u30e2\u30ea\u30ea\u30fc\u30af\u3092\u9632\u3050\u305f\u3081\u306b\u3001\u4ee5\u4e0b\u306e\u5bfe\u7b56\u3092\u53d6\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\uff1a<\/p>\n<p>1. \u4e0d\u8981\u306a\u30c7\u30fc\u30bf\u306e\u524a\u9664\uff1a\u4f7f\u7528\u3057\u3066\u3044\u306a\u3044\u30bb\u30eb\u3084\u7bc4\u56f2\u3092\u5b9a\u671f\u7684\u306b\u524a\u9664\u3057\u307e\u3059\u3002<br \/>\n2. \u8a08\u7b97\u5f0f\u306e\u6700\u9069\u5316\uff1a\u8907\u96d1\u306a\u8a08\u7b97\u5f0f\u3092\u7c21\u7565\u5316\u3057\u305f\u308a\u3001\u5fc5\u8981\u306b\u5fdc\u3058\u3066VLOOKUP\u95a2\u6570\u306a\u3069\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<br \/>\n3. Excel \u30de\u30af\u30ed\u306e\u9069\u5207\u306a\u8a2d\u8a08\uff1a\u5909\u6570\u3092\u9069\u5207\u306b\u5ba3\u8a00\u3057\u3001\u4f7f\u7528\u5f8c\u306f\u30e1\u30e2\u30ea\u3092\u89e3\u653e\u3059\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002<br \/>\n4. \u5927\u91cf\u306e\u30c7\u30fc\u30bf\u51e6\u7406\u306e\u5206\u5272\uff1a\u5927\u898f\u6a21\u306a\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3092\u5c0f\u3055\u306a\u90e8\u5206\u306b\u5206\u5272\u3057\u3066\u51e6\u7406\u3057\u307e\u3059\u3002<br \/>\n5. \u5b9a\u671f\u7684\u306a\u4fdd\u5b58\u3068\u518d\u8d77\u52d5\uff1a\u9577\u6642\u9593\u4f5c\u696d\u3059\u308b\u5834\u5408\u306f\u3001\u3053\u307e\u3081\u306b\u4fdd\u5b58\u3057\u3001Excel\u3092\u518d\u8d77\u52d5\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u3089\u306e\u5bfe\u7b56\u3092\u5b9f\u8df5\u3059\u308b\u3053\u3068\u3067\u3001\u30e1\u30e2\u30ea\u30ea\u30fc\u30af\u306e\u30ea\u30b9\u30af\u3092\u5927\u5e45\u306b\u8efd\u6e1b\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>Excel \u30de\u30af\u30ed\u3092\u6d3b\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u30e1\u30e2\u30ea\u30ea\u30fc\u30af\u306e\u691c\u51fa\u3068\u9632\u6b62\u3092\u81ea\u52d5\u5316\u3067\u304d\u307e\u3059\u3002\u4e0a\u8a18\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3092\u57fa\u306b\u3001\u81ea\u5206\u306e\u696d\u52d9\u306b\u5408\u308f\u305b\u3066\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3059\u308b\u3053\u3068\u3067\u3001\u3088\u308a\u52b9\u7387\u7684\u306aExcel\u4f5c\u696d\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u30e1\u30e2\u30ea\u30ea\u30fc\u30af\u3092\u9632\u3050\u3053\u3068\u306f\u3001Excel\u306e\u5b89\u5b9a\u6027\u3068\u6027\u80fd\u3092\u7dad\u6301\u3059\u308b\u305f\u3081\u306b\u91cd\u8981\u3067\u3059\u3002\u4e0a\u7d1a\u8005\u306f\u3053\u308c\u3089\u306e\u30c6\u30af\u30cb\u30c3\u30af\u3092\u7fd2\u5f97\u3057\u3001\u65e5\u3005\u306e\u696d\u52d9\u306b\u6d3b\u304b\u3059\u3053\u3068\u3067\u3001\u3088\u308a\u52b9\u7387\u7684\u3067\u4fe1\u983c\u6027\u306e\u9ad8\u3044Excel\u30ef\u30fc\u30af\u3092\u5b9f\u73fe\u3067\u304d\u308b\u3067\u3057\u3087\u3046\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Excel\u4e0a\u7d1a\u8005\u304c\u6975\u3081\u308b\u30e1\u30e2\u30ea\u30ea\u30fc\u30af\u691c\u51fa\u3068\u9632\u6b62 \u4e0a\u7d1a\u8005\u5411\u3051\u306e\u52b9\u7387\u5316\u30de\u30af\u30ed\u30b3\u30fc\u30c9 \u4ee5\u4e0b\u306f\u3001Excel\u306e\u30e1\u30e2\u30ea\u4f7f\u7528\u91cf\u3092\u76e3\u8996\u3057\u3001\u8b66\u544a\u3092\u8868\u793a\u3059\u308b\u30de\u30af\u30ed\u30b3\u30fc\u30c9\u3067\u3059\uff1a #8220;`vba Sub MonitorMemoryUsa<\/p>\n","protected":false},"author":2,"featured_media":642,"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-643","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\/643","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=643"}],"version-history":[{"count":0,"href":"https:\/\/hajidai.com\/excel\/wp-json\/wp\/v2\/posts\/643\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hajidai.com\/excel\/wp-json\/wp\/v2\/media\/642"}],"wp:attachment":[{"href":"https:\/\/hajidai.com\/excel\/wp-json\/wp\/v2\/media?parent=643"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hajidai.com\/excel\/wp-json\/wp\/v2\/categories?post=643"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hajidai.com\/excel\/wp-json\/wp\/v2\/tags?post=643"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}