{"id":608,"date":"2025-03-25T02:33:35","date_gmt":"2025-03-24T17:33:35","guid":{"rendered":"https:\/\/hajidai.com\/excel\/2025\/03\/excel%e4%b8%8a%e7%b4%9a%e8%80%85%e5%bf%85%e8%a6%8b%ef%bc%81%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%e9%80%9f%e4%b8%a6%e5%88%97%e5%87%a6%e7%90%86%e3%83%86\/"},"modified":"2025-03-25T02:33:35","modified_gmt":"2025-03-24T17:33:35","slug":"excel%e4%b8%8a%e7%b4%9a%e8%80%85%e5%bf%85%e8%a6%8b%ef%bc%81%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%e9%80%9f%e4%b8%a6%e5%88%97%e5%87%a6%e7%90%86%e3%83%86","status":"publish","type":"post","link":"https:\/\/hajidai.com\/excel\/2025\/03\/excel%e4%b8%8a%e7%b4%9a%e8%80%85%e5%bf%85%e8%a6%8b%ef%bc%81%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%e9%80%9f%e4%b8%a6%e5%88%97%e5%87%a6%e7%90%86%e3%83%86\/","title":{"rendered":"&#8220;Excel\u4e0a\u7d1a\u8005\u5fc5\u898b\uff01\u30de\u30af\u30ed\u3067\u5b9f\u73fe\u3059\u308b\u9ad8\u901f\u4e26\u5217\u51e6\u7406\u30c6\u30af\u30cb\u30c3\u30af &#8211; \u30ef\u30fc\u30ab\u30fc\u30d7\u30fc\u30eb\u5b9f\u88c5\u3067\u51e6\u7406\u52b9\u7387\u3092\u5287\u7684\u306b\u5411\u4e0a&#8221;"},"content":{"rendered":"<h2>\u4e0a\u7d1a\u8005\u5411\u3051\uff1aExcel\u30de\u30af\u30ed\u3067\u4e26\u5217\u51e6\u7406\u3092\u5b9f\u73fe\u3059\u308b\u30ef\u30fc\u30ab\u30fc\u30d7\u30fc\u30eb\u5b9f\u88c5<\/h2>\n<p>\u4ee5\u4e0b\u306e\u30de\u30af\u30ed\u30b3\u30fc\u30c9\u3092\u4f7f\u7528\u3057\u3066\u3001Excel\u3067\u4e26\u5217\u51e6\u7406\u3092\u5b9f\u73fe\u3059\u308b\u30ef\u30fc\u30ab\u30fc\u30d7\u30fc\u30eb\u3092\u5b9f\u88c5\u3067\u304d\u307e\u3059\uff1a<\/p>\n<p>&#8220;`vba<br \/>\nSub CreateWorkerPool()<br \/>\n    Dim workers As Collection<br \/>\n    Set workers = New Collection<\/p>\n<p>    &#8216; \u30ef\u30fc\u30ab\u30fc\u306e\u6570\u3092\u8a2d\u5b9a<br \/>\n    Const NUM_WORKERS As Integer = 4<\/p>\n<p>    &#8216; \u30ef\u30fc\u30ab\u30fc\u3092\u4f5c\u6210<br \/>\n    For i = 1 To NUM_WORKERS<br \/>\n        workers.Add New WorkerClass<br \/>\n    Next i<\/p>\n<p>    &#8216; \u30bf\u30b9\u30af\u3092\u5272\u308a\u5f53\u3066\u3066\u5b9f\u884c<br \/>\n    AssignTasks workers<\/p>\n<p>    &#8216; \u7d50\u679c\u3092\u53ce\u96c6<br \/>\n    CollectResults workers<br \/>\nEnd Sub<br \/>\n&#8220;`<\/p>\n<h3>1. \u30ef\u30fc\u30ab\u30fc\u30d7\u30fc\u30eb\u306e\u57fa\u672c\u6982\u5ff5<\/h3>\n<p>\u30ef\u30fc\u30ab\u30fc\u30d7\u30fc\u30eb\u3068\u306f\u3001\u8907\u6570\u306e\u30bf\u30b9\u30af\u3092\u52b9\u7387\u7684\u306b\u51e6\u7406\u3059\u308b\u305f\u3081\u306e\u4ed5\u7d44\u307f\u3067\u3059\u3002Excel\u30de\u30af\u30ed\u3092\u4f7f\u7528\u3057\u3066\u5b9f\u88c5\u3059\u308b\u3053\u3068\u3067\u3001\u5927\u91cf\u306e\u30c7\u30fc\u30bf\u51e6\u7406\u3084\u8907\u96d1\u306a\u8a08\u7b97\u3092\u9ad8\u901f\u5316\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u30ef\u30fc\u30ab\u30fc\u30d7\u30fc\u30eb\u306e\u6838\u5fc3\u306f\u3001\u5229\u7528\u53ef\u80fd\u306a\u30ea\u30bd\u30fc\u30b9\uff08\u3053\u306e\u5834\u5408\u306fExcel\u306eVBA\u30b9\u30ec\u30c3\u30c9\uff09\u3092\u6700\u5927\u9650\u306b\u6d3b\u7528\u3059\u308b\u3053\u3068\u3067\u3059\u3002\u8907\u6570\u306e\u30ef\u30fc\u30ab\u30fc\uff08\u51e6\u7406\u5358\u4f4d\uff09\u3092\u4f5c\u6210\u3057\u3001\u305d\u308c\u305e\u308c\u306b\u72ec\u7acb\u3057\u305f\u30bf\u30b9\u30af\u3092\u5272\u308a\u5f53\u3066\u308b\u3053\u3068\u3067\u3001\u4e26\u5217\u51e6\u7406\u3092\u5b9f\u73fe\u3057\u307e\u3059\u3002<\/p>\n<h3>2. Excel\u30de\u30af\u30ed\u3067\u306e\u30ef\u30fc\u30ab\u30fc\u30d7\u30fc\u30eb\u5b9f\u88c5\u306e\u30dd\u30a4\u30f3\u30c8<\/h3>\n<p>Excel\u30de\u30af\u30ed\u3067\u30ef\u30fc\u30ab\u30fc\u30d7\u30fc\u30eb\u3092\u5b9f\u88c5\u3059\u308b\u969b\u306e\u91cd\u8981\u306a\u30dd\u30a4\u30f3\u30c8\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\uff1a<\/p>\n<p>1. \u30ef\u30fc\u30ab\u30fc\u30af\u30e9\u30b9\u306e\u8a2d\u8a08\uff1a\u5404\u30ef\u30fc\u30ab\u30fc\u306e\u632f\u308b\u821e\u3044\u3092\u5b9a\u7fa9\u3059\u308b\u30af\u30e9\u30b9\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u3053\u306e\u30af\u30e9\u30b9\u306b\u306f\u3001\u30bf\u30b9\u30af\u306e\u5b9f\u884c\u30e1\u30bd\u30c3\u30c9\u3084\u7d50\u679c\u306e\u4fdd\u5b58\u6a5f\u80fd\u3092\u542b\u3081\u307e\u3059\u3002<\/p>\n<p>2. \u30bf\u30b9\u30af\u5206\u914d\u30ed\u30b8\u30c3\u30af\uff1a\u5168\u4f53\u306e\u30bf\u30b9\u30af\u3092\u5c0f\u3055\u306a\u5358\u4f4d\u306b\u5206\u5272\u3057\u3001\u5404\u30ef\u30fc\u30ab\u30fc\u306b\u52b9\u7387\u7684\u306b\u5272\u308a\u5f53\u3066\u308b\u4ed5\u7d44\u307f\u3092\u5b9f\u88c5\u3057\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u51e6\u7406\u306e\u8ca0\u8377\u3092\u5747\u7b49\u306b\u5206\u6563\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>3. \u7d50\u679c\u306e\u53ce\u96c6\u3068\u7d71\u5408\uff1a\u5404\u30ef\u30fc\u30ab\u30fc\u304c\u51e6\u7406\u3057\u305f\u30bf\u30b9\u30af\u306e\u7d50\u679c\u3092\u53ce\u96c6\u3057\u3001\u6700\u7d42\u7684\u306a\u51fa\u529b\u3068\u3057\u3066\u7d71\u5408\u3059\u308b\u30e1\u30ab\u30cb\u30ba\u30e0\u3092\u5b9f\u88c5\u3057\u307e\u3059\u3002<\/p>\n<h3>3. \u4e26\u5217\u51e6\u7406\u306e\u52b9\u679c\u3068\u6ce8\u610f\u70b9<\/h3>\n<p>\u4e26\u5217\u51e6\u7406\u3092\u6d3b\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u5927\u898f\u6a21\u306a\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306e\u51e6\u7406\u6642\u9593\u3092\u5927\u5e45\u306b\u77ed\u7e2e\u3067\u304d\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001100\u4e07\u884c\u306e\u30c7\u30fc\u30bf\u30924\u3064\u306e\u30ef\u30fc\u30ab\u30fc\u3067\u4e26\u5217\u51e6\u7406\u3059\u308c\u3070\u3001\u7406\u60f3\u7684\u306b\u306f\u51e6\u7406\u6642\u9593\u30924\u5206\u306e1\u306b\u524a\u6e1b\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3057\u304b\u3057\u3001\u4e26\u5217\u51e6\u7406\u306b\u306f\u6ce8\u610f\u70b9\u3082\u3042\u308a\u307e\u3059\uff1a<\/p>\n<p>&#8211; \u30ea\u30bd\u30fc\u30b9\u7af6\u5408\uff1a\u8907\u6570\u306e\u30ef\u30fc\u30ab\u30fc\u304c\u540c\u3058\u30ea\u30bd\u30fc\u30b9\uff08\u4f8b\uff1a\u540c\u3058\u30bb\u30eb\uff09\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3088\u3046\u3068\u3059\u308b\u3068\u3001\u7af6\u5408\u304c\u767a\u751f\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u9069\u5207\u306a\u540c\u671f\u30e1\u30ab\u30cb\u30ba\u30e0\u3092\u5b9f\u88c5\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>&#8211; \u30aa\u30fc\u30d0\u30fc\u30d8\u30c3\u30c9\uff1a\u30ef\u30fc\u30ab\u30fc\u306e\u4f5c\u6210\u3084\u7ba1\u7406\u306b\u3082\u30b3\u30b9\u30c8\u304c\u304b\u304b\u308b\u305f\u3081\u3001\u5c0f\u898f\u6a21\u306a\u30bf\u30b9\u30af\u3067\u306f\u9006\u306b\u51e6\u7406\u304c\u9045\u304f\u306a\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u30bf\u30b9\u30af\u306e\u898f\u6a21\u306b\u5fdc\u3058\u3066\u3001\u4e26\u5217\u51e6\u7406\u306e\u6709\u52b9\u6027\u3092\u5224\u65ad\u3059\u308b\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002<\/p>\n<p>&#8211; \u30c7\u30d0\u30c3\u30b0\u306e\u96e3\u3057\u3055\uff1a\u4e26\u5217\u51e6\u7406\u306f\u305d\u306e\u6027\u8cea\u4e0a\u3001\u30c7\u30d0\u30c3\u30b0\u304c\u8907\u96d1\u306b\u306a\u308a\u307e\u3059\u3002\u30a8\u30e9\u30fc\u306e\u518d\u73fe\u3084\u539f\u56e0\u306e\u7279\u5b9a\u304c\u96e3\u3057\u304f\u306a\u308b\u5834\u5408\u304c\u3042\u308b\u305f\u3081\u3001\u5341\u5206\u306a\u30c6\u30b9\u30c8\u3068\u4f8b\u5916\u51e6\u7406\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<p>Excel\u30de\u30af\u30ed\u3092\u4f7f\u7528\u3057\u305f\u30ef\u30fc\u30ab\u30fc\u30d7\u30fc\u30eb\u306e\u5b9f\u88c5\u306f\u3001\u5927\u898f\u6a21\u306a\u30c7\u30fc\u30bf\u51e6\u7406\u3084\u8907\u96d1\u306a\u8a08\u7b97\u3092\u5fc5\u8981\u3068\u3059\u308b\u4e0a\u7d1a\u8005\u5411\u3051\u306e\u6280\u8853\u3067\u3059\u3002\u9069\u5207\u306b\u5b9f\u88c5\u3059\u308b\u3053\u3068\u3067\u3001Excel\u306e\u51e6\u7406\u80fd\u529b\u3092\u6700\u5927\u9650\u306b\u5f15\u304d\u51fa\u3057\u3001\u696d\u52d9\u52b9\u7387\u3092\u5927\u5e45\u306b\u5411\u4e0a\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u305f\u3060\u3057\u3001\u305d\u306e\u8907\u96d1\u6027\u304b\u3089\u3001\u5c0e\u5165\u524d\u306b\u5341\u5206\u306a\u691c\u8a0e\u3068\u6e96\u5099\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e0a\u7d1a\u8005\u5411\u3051\uff1aExcel\u30de\u30af\u30ed\u3067\u4e26\u5217\u51e6\u7406\u3092\u5b9f\u73fe\u3059\u308b\u30ef\u30fc\u30ab\u30fc\u30d7\u30fc\u30eb\u5b9f\u88c5 \u4ee5\u4e0b\u306e\u30de\u30af\u30ed\u30b3\u30fc\u30c9\u3092\u4f7f\u7528\u3057\u3066\u3001Excel\u3067\u4e26\u5217\u51e6\u7406\u3092\u5b9f\u73fe\u3059\u308b\u30ef\u30fc\u30ab\u30fc\u30d7\u30fc\u30eb\u3092\u5b9f\u88c5\u3067\u304d\u307e\u3059\uff1a #8220;`vba Sub CreateWorkerPo<\/p>\n","protected":false},"author":2,"featured_media":607,"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-608","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\/608","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=608"}],"version-history":[{"count":0,"href":"https:\/\/hajidai.com\/excel\/wp-json\/wp\/v2\/posts\/608\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hajidai.com\/excel\/wp-json\/wp\/v2\/media\/607"}],"wp:attachment":[{"href":"https:\/\/hajidai.com\/excel\/wp-json\/wp\/v2\/media?parent=608"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hajidai.com\/excel\/wp-json\/wp\/v2\/categories?post=608"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hajidai.com\/excel\/wp-json\/wp\/v2\/tags?post=608"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}