{"id":7445,"date":"2022-02-19T22:38:01","date_gmt":"2022-02-19T13:38:01","guid":{"rendered":"https:\/\/extan.jp\/?p=7445"},"modified":"2022-02-19T23:18:02","modified_gmt":"2022-02-19T14:18:02","slug":"vba%e3%81%a7outlook%e5%8f%97%e4%bf%a1%e3%83%a1%e3%83%bc%e3%83%ab%e4%b8%80%e8%a6%a7%e3%82%92excel%e3%81%ab%e5%8f%96%e3%82%8a%e8%be%bc%e3%82%80%e6%96%b9%e6%b3%95%ef%bc%81%e6%b7%bb%e4%bb%98%e3%83%95","status":"publish","type":"post","link":"https:\/\/extan.jp\/?p=7445","title":{"rendered":"VBA\u3067Outlook\u53d7\u4fe1\u30e1\u30fc\u30eb\u4e00\u89a7\u3092Excel\u306b\u53d6\u308a\u8fbc\u3080\u65b9\u6cd5\uff01\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u3084\u30b5\u30d6\u30d5\u30a9\u30eb\u30c0\u3082\u53d6\u5f97\u53ef\uff01"},"content":{"rendered":"<p>VBA\u3067Outlook\u53d7\u4fe1\u30e1\u30fc\u30eb\u4e00\u89a7\u3092Excel\u306b\u53d6\u308a\u8fbc\u307f\u305f\u3044\u3068\u304d\u306f\u306a\u3044\u3067\u3057\u3087\u3046\u304b\u3002<\/p>\n<p>\u3051\u3069\u3001\u305d\u3093\u306a\u4e2d\u3067\u60a9\u3080\u3053\u3068\u306f\u3001<\/p>\n<div class=\"kininarukoto1\">\u30fbVBA\u3067Outlook\u53d7\u4fe1\u30e1\u30fc\u30eb\u4e00\u89a7\u3092Excel\u306b\u53d6\u308a\u8fbc\u307f\u305f\u3044\u304c\u65b9\u6cd5\u304c\u308f\u304b\u3089\u306a\u3044\u3002<br \/>\n\u30fbVBA\u3067Outlook\u30b5\u30d6\u30d5\u30a9\u30eb\u30c0\u306e\u53d7\u4fe1\u30e1\u30fc\u30eb\u4e00\u89a7\u3092Excel\u306b\u53d6\u308a\u8fbc\u307f\u305f\u3044\u304c\u65b9\u6cd5\u304c\u308f\u304b\u3089\u306a\u3044\u3002<\/div>\n<p>\u3067\u3059\u3088\u306d\u3002<\/p>\n<p>\u4eca\u56de\u306f\u305d\u3093\u306a\u304a\u60a9\u307f\u3092\u89e3\u6c7a\u3059\u308b<\/p>\n<div class=\"rdinfo\">\u30fbVBA\u3067Outlook\u53d7\u4fe1\u30e1\u30fc\u30eb\u4e00\u89a7\u3092Excel\u306b\u53d6\u308a\u8fbc\u3080\u65b9\u6cd5<br \/>\n\u30fbVBA\u3067Outlook\u53d7\u4fe1\u30e1\u30fc\u30eb\u306e\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u4e00\u89a7\u3092Excel\u306b\u53d6\u308a\u8fbc\u3080\u65b9\u6cd5<br \/>\n\u30fbVBA\u3067Outlook\u30b5\u30d6\u30d5\u30a9\u30eb\u30c0\u306e\u53d7\u4fe1\u30e1\u30fc\u30eb\u4e00\u89a7\u3092Excel\u306b\u53d6\u308a\u8fbc\u3080\u65b9\u6cd5<\/div>\n<p>\u306b\u3064\u3044\u3066\u307e\u3068\u3081\u307e\u3059\uff01<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_66_1 counter-hierarchy ez-toc-counter ez-toc-light-blue ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\"><p class=\"ez-toc-title\">\u3082\u304f\u3058<\/p>\n<\/div><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/extan.jp\/?p=7445\/#VBA%E3%81%A7Outlook%E5%8F%97%E4%BF%A1%E3%83%A1%E3%83%BC%E3%83%AB%E4%B8%80%E8%A6%A7%E3%82%92Excel%E3%81%AB%E5%8F%96%E3%82%8A%E8%BE%BC%E3%82%80%E3%82%A4%E3%83%A1%E3%83%BC%E3%82%B8\" title=\"VBA\u3067Outlook\u53d7\u4fe1\u30e1\u30fc\u30eb\u4e00\u89a7\u3092Excel\u306b\u53d6\u308a\u8fbc\u3080\u30a4\u30e1\u30fc\u30b8\">VBA\u3067Outlook\u53d7\u4fe1\u30e1\u30fc\u30eb\u4e00\u89a7\u3092Excel\u306b\u53d6\u308a\u8fbc\u3080\u30a4\u30e1\u30fc\u30b8<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/extan.jp\/?p=7445\/#Outlook%E5%8F%97%E4%BF%A1%E3%83%A1%E3%83%BC%E3%83%AB%E4%B8%80%E8%A6%A7%E3%82%92Excel%E3%81%AB%E5%8F%96%E3%82%8A%E8%BE%BC%E3%82%80VBA\" title=\"Outlook\u53d7\u4fe1\u30e1\u30fc\u30eb\u4e00\u89a7\u3092Excel\u306b\u53d6\u308a\u8fbc\u3080VBA\">Outlook\u53d7\u4fe1\u30e1\u30fc\u30eb\u4e00\u89a7\u3092Excel\u306b\u53d6\u308a\u8fbc\u3080VBA<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/extan.jp\/?p=7445\/#VBA%E3%81%AE%E6%BA%96%E5%82%99\" title=\"VBA\u306e\u6e96\u5099\">VBA\u306e\u6e96\u5099<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/extan.jp\/?p=7445\/#VBA%E3%81%AE%E8%A8%AD%E5%AE%9A\" title=\"VBA\u306e\u8a2d\u5b9a\">VBA\u306e\u8a2d\u5b9a<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/extan.jp\/?p=7445\/#VBA%E3%81%AE%E5%AE%9F%E8%A3%85\" title=\"VBA\u306e\u5b9f\u88c5\">VBA\u306e\u5b9f\u88c5<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/extan.jp\/?p=7445\/#VBA%E3%81%AE%E5%AE%9F%E8%A1%8C\" title=\"VBA\u306e\u5b9f\u884c\">VBA\u306e\u5b9f\u884c<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/extan.jp\/?p=7445\/#VBA%E3%81%AE%E8%AA%AC%E6%98%8E\" title=\"VBA\u306e\u8aac\u660e\">VBA\u306e\u8aac\u660e<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/extan.jp\/?p=7445\/#%E6%B7%BB%E4%BB%98%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E3%82%92%E5%90%AB%E3%82%80Outlook%E5%8F%97%E4%BF%A1%E3%83%A1%E3%83%BC%E3%83%AB%E4%B8%80%E8%A6%A7%E3%82%92Excel%E3%81%AB%E5%8F%96%E3%82%8A%E8%BE%BC%E3%82%80VBA\" title=\"\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u3092\u542b\u3080Outlook\u53d7\u4fe1\u30e1\u30fc\u30eb\u4e00\u89a7\u3092Excel\u306b\u53d6\u308a\u8fbc\u3080VBA\">\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u3092\u542b\u3080Outlook\u53d7\u4fe1\u30e1\u30fc\u30eb\u4e00\u89a7\u3092Excel\u306b\u53d6\u308a\u8fbc\u3080VBA<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/extan.jp\/?p=7445\/#VBA%E3%81%AE%E6%BA%96%E5%82%99-2\" title=\"VBA\u306e\u6e96\u5099\">VBA\u306e\u6e96\u5099<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/extan.jp\/?p=7445\/#VBA%E3%82%92%E5%AE%9F%E8%A1%8C\" title=\"VBA\u3092\u5b9f\u884c\">VBA\u3092\u5b9f\u884c<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/extan.jp\/?p=7445\/#VBA%E3%81%AE%E8%AA%AC%E6%98%8E-2\" title=\"VBA\u306e\u8aac\u660e\">VBA\u306e\u8aac\u660e<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/extan.jp\/?p=7445\/#%E3%82%B5%E3%83%96%E3%83%95%E3%82%A9%E3%83%AB%E3%83%80%E3%81%AB%E3%81%82%E3%82%8BOutlook%E5%8F%97%E4%BF%A1%E3%83%A1%E3%83%BC%E3%83%AB%E4%B8%80%E8%A6%A7%E3%82%92Excel%E3%81%AB%E5%8F%96%E3%82%8A%E8%BE%BC%E3%82%80VBA\" title=\"\u30b5\u30d6\u30d5\u30a9\u30eb\u30c0\u306b\u3042\u308bOutlook\u53d7\u4fe1\u30e1\u30fc\u30eb\u4e00\u89a7\u3092Excel\u306b\u53d6\u308a\u8fbc\u3080VBA\">\u30b5\u30d6\u30d5\u30a9\u30eb\u30c0\u306b\u3042\u308bOutlook\u53d7\u4fe1\u30e1\u30fc\u30eb\u4e00\u89a7\u3092Excel\u306b\u53d6\u308a\u8fbc\u3080VBA<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/extan.jp\/?p=7445\/#VBA%E3%81%AE%E6%BA%96%E5%82%99-3\" title=\"VBA\u306e\u6e96\u5099\">VBA\u306e\u6e96\u5099<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/extan.jp\/?p=7445\/#VBA%E3%82%92%E8%A8%AD%E5%AE%9A\" title=\"VBA\u3092\u8a2d\u5b9a\">VBA\u3092\u8a2d\u5b9a<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/extan.jp\/?p=7445\/#VBA%E3%82%92%E5%AE%9F%E8%A1%8C%E3%81%99%E3%82%8B\" title=\"VBA\u3092\u5b9f\u884c\u3059\u308b\">VBA\u3092\u5b9f\u884c\u3059\u308b<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-16\" href=\"https:\/\/extan.jp\/?p=7445\/#VBA%E3%81%AE%E8%AA%AC%E6%98%8E-3\" title=\"VBA\u306e\u8aac\u660e\">VBA\u306e\u8aac\u660e<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-17\" href=\"https:\/\/extan.jp\/?p=7445\/#VBA%E3%81%AE%E5%AE%9F%E8%A3%85%E6%89%8B%E9%A0%86\" title=\"VBA\u306e\u5b9f\u88c5\u624b\u9806\">VBA\u306e\u5b9f\u88c5\u624b\u9806<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-18\" href=\"https:\/\/extan.jp\/?p=7445\/#Excel_VBA%E3%81%8B%E3%82%89Outlook%E3%82%92%E6%93%8D%E4%BD%9C%E3%81%99%E3%82%8B%E3%81%9F%E3%82%81%E3%81%AE%E4%B8%8B%E6%BA%96%E5%82%99\" title=\"Excel VBA\u304b\u3089Outlook\u3092\u64cd\u4f5c\u3059\u308b\u305f\u3081\u306e\u4e0b\u6e96\u5099\">Excel VBA\u304b\u3089Outlook\u3092\u64cd\u4f5c\u3059\u308b\u305f\u3081\u306e\u4e0b\u6e96\u5099<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-19\" href=\"https:\/\/extan.jp\/?p=7445\/#Excel%E5%81%B4%E3%81%B8VBA%E3%82%92%E5%AE%9F%E8%A3%85%E3%81%99%E3%82%8B\" title=\"Excel\u5074\u3078VBA\u3092\u5b9f\u88c5\u3059\u308b\">Excel\u5074\u3078VBA\u3092\u5b9f\u88c5\u3059\u308b<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-20\" href=\"https:\/\/extan.jp\/?p=7445\/#VBA%E3%82%92%E5%AE%9F%E8%A1%8C%E3%81%99%E3%82%8B-2\" title=\"VBA\u3092\u5b9f\u884c\u3059\u308b\">VBA\u3092\u5b9f\u884c\u3059\u308b<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-21\" href=\"https:\/\/extan.jp\/?p=7445\/#%E3%81%95%E3%81%84%E3%81%94%E3%81%AB\" title=\"\u3055\u3044\u3054\u306b\">\u3055\u3044\u3054\u306b<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"VBA%E3%81%A7Outlook%E5%8F%97%E4%BF%A1%E3%83%A1%E3%83%BC%E3%83%AB%E4%B8%80%E8%A6%A7%E3%82%92Excel%E3%81%AB%E5%8F%96%E3%82%8A%E8%BE%BC%E3%82%80%E3%82%A4%E3%83%A1%E3%83%BC%E3%82%B8\"><\/span>VBA\u3067Outlook\u53d7\u4fe1\u30e1\u30fc\u30eb\u4e00\u89a7\u3092Excel\u306b\u53d6\u308a\u8fbc\u3080\u30a4\u30e1\u30fc\u30b8<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>VBA\u3067Outlook\u53d7\u4fe1\u30e1\u30fc\u30eb\u4e00\u89a7\u3092Excel\u306b\u53d6\u308a\u8fbc\u3080\u30a4\u30e1\u30fc\u30b8\u306b\u3064\u3044\u3066\u8aac\u660e\u3092\u3057\u307e\u3059\u3002<\/p>\n<p>\u307e\u305a\u3001Outlook\u5074\u306e\u53d7\u4fe1\u30c8\u30ec\u30a4\u306b\u3042\u308b\u30e1\u30fc\u30eb\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7582\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp9.png\" alt=\"\" width=\"989\" height=\"421\" srcset=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp9.png 989w, https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp9-300x128.png 300w, https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp9-768x327.png 768w, https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp9-718x306.png 718w\" sizes=\"auto, (max-width: 989px) 100vw, 989px\" \/><\/p>\n<p>\u53d6\u5f97\u3057\u305f\u3044\u671f\u9593\u3092\u6307\u5b9a\u3057\u3001Excel\u5074\u3078VBA\u3092\u5b9f\u88c5\u3001\u30de\u30af\u30ed\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001<\/p>\n<p>Excel\u5074\u306b\u53d7\u4fe1\u30c8\u30ec\u30a4\u306b\u3042\u308b\u30e1\u30fc\u30eb\u4e00\u89a7\u60c5\u5831\u304c\u53d6\u308a\u8fbc\u307e\u308c\u307e\u3059\uff01<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7576\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp3.png\" alt=\"\" width=\"1290\" height=\"185\" srcset=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp3.png 1290w, https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp3-300x43.png 300w, https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp3-1024x147.png 1024w, https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp3-768x110.png 768w, https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp3-718x103.png 718w\" sizes=\"auto, (max-width: 1290px) 100vw, 1290px\" \/><\/p>\n<p>\u3055\u3089\u306b\u8907\u6570\u3042\u308b\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u51fa\u529b\u3057\u305f\u308a\u3001<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7575\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp2.png\" alt=\"\" width=\"339\" height=\"394\" srcset=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp2.png 339w, https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp2-258x300.png 258w\" sizes=\"auto, (max-width: 339px) 100vw, 339px\" \/><\/p>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7578\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp5.png\" alt=\"\" width=\"597\" height=\"183\" srcset=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp5.png 597w, https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp5-300x92.png 300w\" sizes=\"auto, (max-width: 597px) 100vw, 597px\" \/>\n<p>\u53d7\u4fe1\u30c8\u30ec\u30a4\u306e\u30b5\u30d6\u30d5\u30a9\u30eb\u30c0\u3092\u6307\u5b9a\u3057\u305f\u308a\u3082\u3067\u304d\u307e\u3059\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7581\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp8.png\" alt=\"\" width=\"1018\" height=\"339\" srcset=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp8.png 1018w, https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp8-300x100.png 300w, https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp8-768x256.png 768w, https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp8-718x239.png 718w\" sizes=\"auto, (max-width: 1018px) 100vw, 1018px\" \/><\/p>\n<p>\u30b5\u30d6\u30d5\u30a9\u30eb\u30c0\u306e\u51fa\u529b\u7d50\u679c\u3067\u3059\uff01<\/p>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7579\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp6.png\" alt=\"\" width=\"1285\" height=\"133\" srcset=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp6.png 1285w, https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp6-300x31.png 300w, https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp6-1024x106.png 1024w, https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp6-768x79.png 768w, https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp6-718x74.png 718w\" sizes=\"auto, (max-width: 1285px) 100vw, 1285px\" \/>\n<p>\u305d\u308c\u3067\u306f\u65e9\u901f\u3084\u3063\u3066\u307f\u307e\u3057\u3087\u3046\uff01<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Outlook%E5%8F%97%E4%BF%A1%E3%83%A1%E3%83%BC%E3%83%AB%E4%B8%80%E8%A6%A7%E3%82%92Excel%E3%81%AB%E5%8F%96%E3%82%8A%E8%BE%BC%E3%82%80VBA\"><\/span>Outlook\u53d7\u4fe1\u30e1\u30fc\u30eb\u4e00\u89a7\u3092Excel\u306b\u53d6\u308a\u8fbc\u3080VBA<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3><span class=\"ez-toc-section\" id=\"VBA%E3%81%AE%E6%BA%96%E5%82%99\"><\/span>VBA\u306e\u6e96\u5099<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Outlook\u53d7\u4fe1\u30e1\u30fc\u30eb\u4e00\u89a7\u3092Excel\u306b\u53d6\u308a\u8fbc\u3080VBA\u306e\u5b9f\u88c5\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8aac\u660e\u3092\u3057\u307e\u3059\u3002<\/p>\n<p>\u4eca\u56de\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<pre style=\"padding: 0;\"><code class=\"language-visual-basic line-numbers\">Sub Outlook\u53d7\u4fe1\u30e1\u30fc\u30eb\u4e00\u89a7\u3092\u53d6\u308a\u8fbc\u3080()\n\n    &#039;Outlook\u7528\u306e\u5b9a\u7fa9\n    Dim olApp As Outlook.Application\n    Dim olNamespace As Outlook.Namespace\n    Dim olFolder As Outlook.MAPIFolder\n    Dim olConItems As Outlook.Items\n    Dim olItem As Object\n    \n    &#039;Excel\u7528\u306e\u5b9a\u7fa9\n    Dim wbBook As Workbook\n    Dim wsSheet As Worksheet\n    Dim lnContactCount As Long\n\n    &#039;\u53d6\u5f97\u7d50\u679c\u3092\u8a18\u8ff0\u3059\u308b\u884c\u756a\u53f7\u3092\u6307\u5b9a\u3057\u307e\u3059\u30022\u306e\u5834\u5408\u30012\u884c\u76ee\u306e\u30bb\u30eb\u304b\u3089\u958b\u59cb\u3055\u308c\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002\n    lnContactCount = 2\n    \n    &#039;\u62bd\u51fa\u671f\u9593\u306e\u958b\u59cb\u65e5\u3068\u7d42\u4e86\u65e5\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\n    strStart = Format(&quot;2022\/2\/16&quot;, &quot;yyyy\/mm\/dd&quot;) &#039;\u958b\u59cb\u65e5\u3092\u6307\u5b9a\n    strEnd = Format(&quot;2022\/2\/17&quot;, &quot;yyyy\/mm\/dd&quot;)  &#039;\u7d42\u4e86\u65e5\u3092\u6307\u5b9a\n    \n    &#039;\u30b9\u30d4\u30fc\u30c9\u30a2\u30c3\u30d7\u306e\u305f\u3081\u30b9\u30af\u30ea\u30fc\u30f3\u306e\u66f4\u65b0\u3092\u7121\u52b9\u306b\u3057\u307e\u3059\u3002\n    Application.ScreenUpdating = False\n    \n    &#039;Excel\u306e\u30d6\u30c3\u30af\u3068\u30ef\u30fc\u30af\u30b7\u30fc\u30c8\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002\n    Set wbBook = ThisWorkbook\n    Set wsSheet = wbBook.Worksheets(1)\n    \n    &#039;\u66f8\u304d\u8fbc\u307f\u5148\u306e\u30bb\u30eb\u3092\u6307\u5b9a\u30571\u884c\u76ee\u306b\u30bf\u30a4\u30c8\u30eb\u3092\u5165\u529b\u3057\u307e\u3059\u3002\n    With wsSheet\n        .Cells.ClearContents\n        .Cells(1, 1).Value = &quot;To&quot;\n        .Cells(1, 2).Value = &quot;CC&quot;\n        .Cells(1, 3).Value = &quot;BCC&quot;\n        .Cells(1, 4).Value = &quot;ReceivedTime&quot;\n        .Cells(1, 5).Value = &quot;Subject&quot;\n        .Cells(1, 6).Value = &quot;Body&quot;\n        .Cells(1, 7).Value = &quot;SenderName&quot;\n        .Cells(1, 8).Value = &quot;SenderEmailAddress&quot;\n        .Cells(1, 9).Value = &quot;SentOn&quot;\n        .Cells(1, 10).Value = &quot;ReceivedByName&quot;\n        .Cells(1, 11).Value = &quot;Importance&quot;\n        .Cells(1, 12).Value = &quot;Size&quot;\n        .Cells(1, 13).Value = &quot;CreationTime&quot;\n        .Cells(1, 14).Value = &quot;LastModificationTime&quot;\n        .Cells(1, 15).Value = &quot;ReminderTime&quot;\n        .Cells(1, 16).Value = &quot;BodyFormat&quot;\n        .Cells(1, 17).Value = &quot;EntryID&quot;\n        \n        &#039;\u66f8\u5f0f\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002\n        With .Range(&quot;A1:Z1&quot;)\n            .Font.Bold = True\n            .Font.ColorIndex = 10\n            .Font.Size = 11\n        End With\n    End With\n    \n    wsSheet.Activate\n    \n    &#039;Outlook\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8a2d\u5b9a\u3057\u3001MAPI\u540d\u524d\u7a7a\u9593\u3092\u4ecb\u3057\u3066Outlook\u306e\u9023\u7d61\u5148\u4e00\u89a7\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002\n    Set olApp = New Outlook.Application\n    Set olNamespace = olApp.GetNamespace(&quot;MAPI&quot;)\n    \n    &#039;\u65e2\u5b9a\u30e6\u30fc\u30b6\u30fc\u306e\u53d7\u4fe1\u30c8\u30ec\u30a4\u3092\u5bfe\u8c61\u306b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002\n    Set olFolder = olNamespace.GetDefaultFolder(olFolderInbox)\n    Set olConItems = olFolder.Items\n    \n    &#039;Restrict\u30e1\u30bd\u30c3\u30c9\u3067\u671f\u9593\u3092\u6307\u5b9a\u3057\u62bd\u51fa\u3059\u308b\u30e1\u30fc\u30eb\u30a2\u30a4\u30c6\u30e0\u3092\u7d5e\u308a\u8fbc\u307f\u307e\u3059\u3002\n    Set olConItems = olConItems.Restrict(&quot;[ReceivedTime] &gt;= &#039;&quot; &amp; strStart &amp; &quot;&#039; And [ReceivedTime] &lt;= &#039;&quot; &amp; strEnd &amp; &quot;&#039;&quot;)\n\n    For Each olItem In olConItems\nDebug.Print TypeName(olItem)\n        &#039;\u30a2\u30a4\u30c6\u30e0\u306e\u30bf\u30a4\u30d7\u304c&quot;MailItem&quot;\u3060\u3063\u305f\u5834\u5408\u306e\u307f\u5024\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002\u203b\u305d\u308c\u4ee5\u5916\u306e\u30bf\u30a4\u30d7\u306e\u5834\u5408\u306f\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u69cb\u6210\u304c\u7570\u306a\u308b\u305f\u3081\u30a8\u30e9\u30fc\u3068\u306a\u308a\u307e\u3059\u3002\n        If TypeName(olItem) = &quot;MailItem&quot; Then\n            With olItem\n                Cells(lnContactCount, 1).Value = .To\n                Cells(lnContactCount, 2).Value = .CC\n                Cells(lnContactCount, 3).Value = .BCC\n                Cells(lnContactCount, 4).Value = .ReceivedTime\n                Cells(lnContactCount, 5).Value = .Subject\n                Cells(lnContactCount, 6).Value = .Body\n                Cells(lnContactCount, 7).Value = .SenderName\n                Cells(lnContactCount, 8).Value = .SenderEmailAddress\n                Cells(lnContactCount, 9).Value = .SentOn\n                Cells(lnContactCount, 10).Value = .ReceivedByName\n                Cells(lnContactCount, 11).Value = .Importance\n                Cells(lnContactCount, 12).Value = .Size\n                Cells(lnContactCount, 13).Value = .CreationTime\n                Cells(lnContactCount, 14).Value = .LastModificationTime\n                Cells(lnContactCount, 15).Value = .ReminderTime\n                Cells(lnContactCount, 16).Value = .BodyFormat\n                Cells(lnContactCount, 17).Value = .EntryID\n            End With\n            lnContactCount = lnContactCount + 1\n        End If\n    Next olItem\n    \n    &#039;\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u89e3\u653e\u3057\u307e\u3059\u3002\n    Set olItem = Nothing\n    Set olConItems = Nothing\n    Set olFolder = Nothing\n    Set olNamespace = Nothing\n    Set olApp = Nothing\n    \n\n    &#039;\u30b9\u30af\u30ea\u30fc\u30f3\u306e\u66f4\u65b0\u3092\u6709\u52b9\u306b\u3057\u307e\u3059\u3002\n    Application.ScreenUpdating = True\n    \n    MsgBox &quot;Outlook\u53d7\u4fe1\u30e1\u30fc\u30eb\u306e\u53d6\u308a\u8fbc\u307f\u304c\u5b8c\u4e86\u3057\u307e\u3057\u305f\uff01&quot;, vbInformation\n    \nEnd Sub<\/code><\/pre>\n<h3><span class=\"ez-toc-section\" id=\"VBA%E3%81%AE%E8%A8%AD%E5%AE%9A\"><\/span>VBA\u306e\u8a2d\u5b9a<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>VBA\u306e\u8a2d\u5b9a\u7b87\u6240\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<p>\u62bd\u51fa\u671f\u9593\u306e\u958b\u59cb\u65e5\u3068\u7d42\u4e86\u65e5\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<div class=\"info\"><code>    strStart = Format(&quot;2022\/2\/16&quot;, &quot;yyyy\/mm\/dd&quot;) &#039;\u958b\u59cb\u65e5\u3092\u6307\u5b9a<br \/>\nstrEnd = Format(&quot;2022\/2\/17&quot;, &quot;yyyy\/mm\/dd&quot;)  &#039;\u7d42\u4e86\u65e5\u3092\u6307\u5b9a<\/code><\/div>\n<p>\u53d6\u5f97\u7d50\u679c\u3092\u8a18\u8ff0\u3059\u308b\u884c\u756a\u53f7\u3092\u6307\u5b9a\u3057\u307e\u3059\u30022\u306e\u5834\u5408\u30012\u884c\u76ee\u306e\u30bb\u30eb\u304b\u3089\u958b\u59cb\u3055\u308c\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<div class=\"info\"><code> lnContactCount = 2<\/code><\/div>\n<h3><span class=\"ez-toc-section\" id=\"VBA%E3%81%AE%E5%AE%9F%E8%A3%85\"><\/span>VBA\u306e\u5b9f\u88c5<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u300cVBA\u306e\u5b9f\u88c5\u624b\u9806\u300d\u3092\u3054\u53c2\u7167\u304f\u3060\u3055\u3044\u3002<\/p>\n<h3><span class=\"ez-toc-section\" id=\"VBA%E3%81%AE%E5%AE%9F%E8%A1%8C\"><\/span>VBA\u306e\u5b9f\u884c<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>VBA\u3092\u5b9f\u884c\u3059\u308b\u524d\u306bOutlook\u306e\u53d7\u4fe1\u30c8\u30ec\u30a4\u3092\u307f\u3066\u307f\u307e\u3057\u3087\u3046\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7582\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp9.png\" alt=\"\" width=\"989\" height=\"421\" srcset=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp9.png 989w, https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp9-300x128.png 300w, https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp9-768x327.png 768w, https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp9-718x306.png 718w\" sizes=\"auto, (max-width: 989px) 100vw, 989px\" \/><\/p>\n<p>\u6307\u5b9a\u671f\u9593\u30673\u4ef6\u306e\u53d7\u4fe1\u30e1\u30fc\u30eb\u304c\u3042\u308b\u3053\u3068\u304c\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>VBA\u3092\u5b9f\u884c\u3057<\/p>\n<p>\u300cOutlook\u53d7\u4fe1\u30e1\u30fc\u30eb\u306e\u53d6\u308a\u8fbc\u307f\u304c\u5b8c\u4e86\u3057\u307e\u3057\u305f\uff01\u300d\u3068\u8868\u793a\u3055\u308c\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<p>Excel\u30b7\u30fc\u30c8\u3092\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u306f\u3044\u3001\u53d7\u4fe1\u30e1\u30fc\u30eb\u4e00\u89a7\u304cExcel\u306b\u53d6\u308a\u8fbc\u307e\u308c\u3066\u3044\u307e\u3059\u306d\uff01<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7576\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp3.png\" alt=\"\" width=\"1290\" height=\"185\" srcset=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp3.png 1290w, https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp3-300x43.png 300w, https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp3-1024x147.png 1024w, https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp3-768x110.png 768w, https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp3-718x103.png 718w\" sizes=\"auto, (max-width: 1290px) 100vw, 1290px\" \/><\/p>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7577\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp4.png\" alt=\"\" width=\"862\" height=\"187\" srcset=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp4.png 862w, https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp4-300x65.png 300w, https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp4-768x167.png 768w, https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp4-718x156.png 718w\" sizes=\"auto, (max-width: 862px) 100vw, 862px\" \/>\n<p>&nbsp;<\/p>\n<h3><span class=\"ez-toc-section\" id=\"VBA%E3%81%AE%E8%AA%AC%E6%98%8E\"><\/span>VBA\u306e\u8aac\u660e<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Excel\u306e\u30d6\u30c3\u30af\u3068\u30ef\u30fc\u30af\u30b7\u30fc\u30c8\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<div class=\"info\"><code>Set wbBook = ThisWorkbook<br \/>\nSet wsSheet = wbBook.Worksheets(1)<\/code><\/div>\n<p>\u66f8\u304d\u8fbc\u307f\u5148\u306e\u30bb\u30eb\u3092\u6307\u5b9a\u30571\u884c\u76ee\u306b\u30bf\u30a4\u30c8\u30eb\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n<div class=\"info\"><code><br \/>\n.Cells(1, 1).Value = &quot;To&quot;<br \/>\n.Cells(1, 2).Value = &quot;CC&quot;<br \/>\n.Cells(1, 3).Value = &quot;BCC&quot;<br \/>\n.Cells(1, 4).Value = &quot;ReceivedTime&quot;<br \/>\n.Cells(1, 5).Value = &quot;Subject&quot;<br \/>\n.Cells(1, 6).Value = &quot;Body&quot;<br \/>\n.Cells(1, 7).Value = &quot;SenderName&quot;<br \/>\n.Cells(1, 8).Value = &quot;SenderEmailAddress&quot;<br \/>\n.Cells(1, 9).Value = &quot;SentOn&quot;<br \/>\n.Cells(1, 10).Value = &quot;ReceivedByName&quot;<br \/>\n.Cells(1, 11).Value = &quot;Importance&quot;<br \/>\n.Cells(1, 12).Value = &quot;Size&quot;<br \/>\n.Cells(1, 13).Value = &quot;CreationTime&quot;<br \/>\n.Cells(1, 14).Value = &quot;LastModificationTime&quot;<br \/>\n.Cells(1, 15).Value = &quot;ReminderTime&quot;<br \/>\n.Cells(1, 16).Value = &quot;BodyFormat&quot;<br \/>\n.Cells(1, 17).Value = &quot;EntryID&quot;<\/code><\/div>\n<p>\u66f8\u5f0f\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<div class=\"info\"><code>        With .Range(&quot;A1:Z1&quot;)<br \/>\n.Font.Bold = True<br \/>\n.Font.ColorIndex = 10<br \/>\n.Font.Size = 11<br \/>\nEnd With<\/code><\/div>\n<p>Outlook\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8a2d\u5b9a\u3057\u3001MAPI\u540d\u524d\u7a7a\u9593\u3092\u4ecb\u3057\u3066Outlook\u306e\u9023\u7d61\u5148\u4e00\u89a7\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\n<div class=\"info\"><code>    Set olApp = New Outlook.Application<br \/>\nSet olNamespace = olApp.GetNamespace(&quot;MAPI&quot;)<\/code><\/div>\n<p>\u65e2\u5b9a\u30e6\u30fc\u30b6\u30fc\u306e\u53d7\u4fe1\u30c8\u30ec\u30a4\u3092\u5bfe\u8c61\u306b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\n<div class=\"info\"><code>    Set olFolder = olNamespace.GetDefaultFolder(olFolderInbox)<br \/>\nSet olConItems = olFolder.Items<\/code><\/div>\n<p>Restrict\u30e1\u30bd\u30c3\u30c9\u3067\u671f\u9593\u3092\u6307\u5b9a\u3057\u62bd\u51fa\u3059\u308b\u30e1\u30fc\u30eb\u30a2\u30a4\u30c6\u30e0\u3092\u7d5e\u308a\u8fbc\u307f\u307e\u3059\u3002ReceivedTime\uff08\u53d7\u4fe1\u65e5\uff09\u3092\u57fa\u6e96\u306b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<div class=\"info\"><code>    Set olConItems = olConItems.Restrict(&quot;[ReceivedTime] &gt;= &#039;&quot; &amp; strStart &amp; &quot;&#039; And [ReceivedTime] &lt;= &#039;&quot; &amp; strEnd &amp; &quot;&#039;&quot;)<\/code><\/div>\n<p>\u30a2\u30a4\u30c6\u30e0\u306e\u30bf\u30a4\u30d7\u304c&#8221;&#8221;MailItem&#8221;&#8221;\u3060\u3063\u305f\u5834\u5408\u306e\u307f\u5024\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002\u203b\u305d\u308c\u4ee5\u5916\u306e\u30bf\u30a4\u30d7\u306e\u5834\u5408\u306f\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u69cb\u6210\u304c\u7570\u306a\u308b\u305f\u3081\u30a8\u30e9\u30fc\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<div class=\"info\"><code>        If TypeName(olItem) = &quot;MailItem&quot; Then<br \/>\nWith olItem<br \/>\nCells(lnContactCount, 1).Value = .To<br \/>\nCells(lnContactCount, 2).Value = .CC<br \/>\nCells(lnContactCount, 3).Value = .BCC<br \/>\nCells(lnContactCount, 4).Value = .ReceivedTime<br \/>\nCells(lnContactCount, 5).Value = .Subject<br \/>\nCells(lnContactCount, 6).Value = .Body<br \/>\nCells(lnContactCount, 7).Value = .SenderName<br \/>\nCells(lnContactCount, 8).Value = .SenderEmailAddress<br \/>\nCells(lnContactCount, 9).Value = .SentOn<br \/>\nCells(lnContactCount, 10).Value = .ReceivedByName<br \/>\nCells(lnContactCount, 11).Value = .Importance<br \/>\nCells(lnContactCount, 12).Value = .Size<br \/>\nCells(lnContactCount, 13).Value = .CreationTime<br \/>\nCells(lnContactCount, 14).Value = .LastModificationTime<br \/>\nCells(lnContactCount, 15).Value = .ReminderTime<br \/>\nCells(lnContactCount, 16).Value = .BodyFormat<br \/>\nCells(lnContactCount, 17).Value = .EntryID<br \/>\nEnd With<br \/>\nlnContactCount = lnContactCount + 1<br \/>\nEnd If<\/code><\/div>\n<p>\u5404\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u5185\u5bb9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<table width=\"100%\">\n<tbody>\n<tr>\n<th>\u30d7\u30ed\u30d1\u30c6\u30a3\u540d<\/th>\n<th>\u8aac\u660e<\/th>\n<\/tr>\n<tr>\n<td>To<\/td>\n<td>To\u8868\u793a\u540d<\/td>\n<\/tr>\n<tr>\n<td>CC<\/td>\n<td>CC\u8868\u793a\u540d<\/td>\n<\/tr>\n<tr>\n<td>BCC<\/td>\n<td>BCC\u8868\u793a\u540d<\/td>\n<\/tr>\n<tr>\n<td>ReceivedTime<\/td>\n<td>\u53d7\u4fe1\u65e5\u6642<\/td>\n<\/tr>\n<tr>\n<td>Subject<\/td>\n<td>\u4ef6\u540d<\/td>\n<\/tr>\n<tr>\n<td>Body<\/td>\n<td>\u672c\u6587<\/td>\n<\/tr>\n<tr>\n<td>SenderName<\/td>\n<td>\u9001\u4fe1\u8005\u540d<\/td>\n<\/tr>\n<tr>\n<td>SenderEmailAddress<\/td>\n<td>\u9001\u4fe1\u8005\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9<\/td>\n<\/tr>\n<tr>\n<td>SentOn<\/td>\n<td>\u9001\u4fe1\u65e5\u6642<\/td>\n<\/tr>\n<tr>\n<td>ReceivedByName<\/td>\n<td>\u53d7\u4fe1\u8005\u540d<\/td>\n<\/tr>\n<tr>\n<td>Importance<\/td>\n<td>\u91cd\u8981\u5ea6\uff082\uff1a\u9ad8\u30010\uff1a\u4f4e\u30011\uff1a\u4e2d\uff09<\/td>\n<\/tr>\n<tr>\n<td>Size<\/td>\n<td>\u30e1\u30fc\u30eb\u30a2\u30a4\u30c6\u30e0\u5bb9\u91cf\uff08\u30d0\u30a4\u30c8\u6570\uff09<\/td>\n<\/tr>\n<tr>\n<td>CreationTime<\/td>\n<td>\u30e1\u30fc\u30eb\u304c\u4f5c\u6210\u3055\u308c\u305f\u65e5\u6642<\/td>\n<\/tr>\n<tr>\n<td>LastModificationTime<\/td>\n<td>\u30e1\u30fc\u30eb\u3092\u66f4\u65b0\u3057\u305f\u65e5\u6642<\/td>\n<\/tr>\n<tr>\n<td>ReminderTime<\/td>\n<td>\u30ea\u30de\u30a4\u30f3\u30c0\u30fc\u306e\u65e5\u6642<\/td>\n<\/tr>\n<tr>\n<td>BodyFormat<\/td>\n<td>\u30e1\u30fc\u30eb\u306e\u5f62\u5f0f\u306e\u7a2e\u985e\uff081\uff1a\u30c6\u30ad\u30b9\u30c8\u30012\uff1aHTML\u3001,3\uff1a\u30ea\u30c3\u30c1\u30c6\u30ad\u30b9\u30c8\uff09<\/td>\n<\/tr>\n<tr>\n<td>EntryID<\/td>\n<td>EntryID\uff08\u30e1\u30fc\u30eb\u30a2\u30a4\u30c6\u30e0\u56fa\u6709ID\uff09<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2><span class=\"ez-toc-section\" id=\"%E6%B7%BB%E4%BB%98%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E3%82%92%E5%90%AB%E3%82%80Outlook%E5%8F%97%E4%BF%A1%E3%83%A1%E3%83%BC%E3%83%AB%E4%B8%80%E8%A6%A7%E3%82%92Excel%E3%81%AB%E5%8F%96%E3%82%8A%E8%BE%BC%E3%82%80VBA\"><\/span>\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u3092\u542b\u3080Outlook\u53d7\u4fe1\u30e1\u30fc\u30eb\u4e00\u89a7\u3092Excel\u306b\u53d6\u308a\u8fbc\u3080VBA<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u6b21\u306b\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u3092\u542b\u3080Outlook\u53d7\u4fe1\u30e1\u30fc\u30eb\u4e00\u89a7\u3092Excel\u306b\u53d6\u308a\u8fbc\u3093\u3067\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<h3><span class=\"ez-toc-section\" id=\"VBA%E3%81%AE%E6%BA%96%E5%82%99-2\"><\/span>VBA\u306e\u6e96\u5099<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<pre style=\"padding: 0;\"><code class=\"language-visual-basic line-numbers\">Sub Outlook\u53d7\u4fe1\u30e1\u30fc\u30eb\u4e00\u89a7\u3092\u53d6\u308a\u8fbc\u3080()\n\n    &#039;Outlook\u7528\u306e\u5b9a\u7fa9\n    Dim olApp As Outlook.Application\n    Dim olNamespace As Outlook.Namespace\n    Dim olFolder As Outlook.MAPIFolder\n    Dim olConItems As Outlook.Items\n    Dim olItem As Object\n    \n    &#039;Excel\u7528\u306e\u5b9a\u7fa9\n    Dim wbBook As Workbook\n    Dim wsSheet As Worksheet\n    Dim lnContactCount As Long\n\n    &#039;\u53d6\u5f97\u7d50\u679c\u3092\u8a18\u8ff0\u3059\u308b\u884c\u756a\u53f7\u3092\u6307\u5b9a\u3057\u307e\u3059\u30022\u306e\u5834\u5408\u30012\u884c\u76ee\u306e\u30bb\u30eb\u304b\u3089\u958b\u59cb\u3055\u308c\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002\n    lnContactCount = 2\n    \n    &#039;\u62bd\u51fa\u671f\u9593\u306e\u958b\u59cb\u65e5\u3068\u7d42\u4e86\u65e5\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\n    strStart = Format(&quot;2022\/2\/16&quot;, &quot;yyyy\/mm\/dd&quot;) &#039;\u958b\u59cb\u65e5\u3092\u6307\u5b9a\n    strEnd = Format(&quot;2022\/2\/17&quot;, &quot;yyyy\/mm\/dd&quot;)  &#039;\u7d42\u4e86\u65e5\u3092\u6307\u5b9a\n    \n    &#039;\u30b9\u30d4\u30fc\u30c9\u30a2\u30c3\u30d7\u306e\u305f\u3081\u30b9\u30af\u30ea\u30fc\u30f3\u306e\u66f4\u65b0\u3092\u7121\u52b9\u306b\u3057\u307e\u3059\u3002\n    Application.ScreenUpdating = False\n    \n    &#039;Excel\u306e\u30d6\u30c3\u30af\u3068\u30ef\u30fc\u30af\u30b7\u30fc\u30c8\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002\n    Set wbBook = ThisWorkbook\n    Set wsSheet = wbBook.Worksheets(1)\n    \n    &#039;\u66f8\u304d\u8fbc\u307f\u5148\u306e\u30bb\u30eb\u3092\u6307\u5b9a\u30571\u884c\u76ee\u306b\u30bf\u30a4\u30c8\u30eb\u3092\u5165\u529b\u3057\u307e\u3059\u3002\n    With wsSheet\n\n        .Cells.ClearContents\n        .Cells(1, 1).Value = &quot;To&quot;\n        .Cells(1, 2).Value = &quot;CC&quot;\n        .Cells(1, 3).Value = &quot;BCC&quot;\n        .Cells(1, 4).Value = &quot;ReceivedTime&quot;\n        .Cells(1, 5).Value = &quot;Subject&quot;\n        .Cells(1, 6).Value = &quot;Body&quot;\n        .Cells(1, 7).Value = &quot;SenderName&quot;\n        .Cells(1, 8).Value = &quot;SenderEmailAddress&quot;\n        .Cells(1, 9).Value = &quot;SentOn&quot;\n        .Cells(1, 10).Value = &quot;ReceivedByName&quot;\n        .Cells(1, 11).Value = &quot;Importance&quot;\n        .Cells(1, 12).Value = &quot;Size&quot;\n        .Cells(1, 13).Value = &quot;CreationTime&quot;\n        .Cells(1, 14).Value = &quot;LastModificationTime&quot;\n        .Cells(1, 15).Value = &quot;ReminderTime&quot;\n        .Cells(1, 16).Value = &quot;BodyFormat&quot;\n        .Cells(1, 17).Value = &quot;EntryID&quot;\n        .Cells(1, 18).Value = &quot;Attachments&quot;\n        \n        &#039;\u66f8\u5f0f\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002\n        With .Range(&quot;A1:Z1&quot;)\n            .Font.Bold = True\n            .Font.ColorIndex = 10\n            .Font.Size = 11\n        End With\n    End With\n    \n    wsSheet.Activate\n    \n    &#039;Outlook\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8a2d\u5b9a\u3057\u3001MAPI\u540d\u524d\u7a7a\u9593\u3092\u4ecb\u3057\u3066Outlook\u306e\u9023\u7d61\u5148\u4e00\u89a7\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002\n    Set olApp = New Outlook.Application\n    Set olNamespace = olApp.GetNamespace(&quot;MAPI&quot;)\n    \n    &#039;\u65e2\u5b9a\u30e6\u30fc\u30b6\u30fc\u306e\u53d7\u4fe1\u30c8\u30ec\u30a4\u3092\u5bfe\u8c61\u306b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002\n    Set olFolder = olNamespace.GetDefaultFolder(olFolderInbox)\n    Set olConItems = olFolder.Items\n    \n    &#039;Restrict\u30e1\u30bd\u30c3\u30c9\u3067\u671f\u9593\u3092\u6307\u5b9a\u3057\u62bd\u51fa\u3059\u308b\u30e1\u30fc\u30eb\u30a2\u30a4\u30c6\u30e0\u3092\u7d5e\u308a\u8fbc\u307f\u307e\u3059\u3002\n    Set olConItems = olConItems.Restrict(&quot;[ReceivedTime] &gt;= &#039;&quot; &amp; strStart &amp; &quot;&#039; And [ReceivedTime] &lt;= &#039;&quot; &amp; strEnd &amp; &quot;&#039;&quot;)\n\n    For Each olItem In olConItems\nDebug.Print TypeName(olItem)\n        &#039;\u30a2\u30a4\u30c6\u30e0\u306e\u30bf\u30a4\u30d7\u304c&quot;MailItem&quot;\u3060\u3063\u305f\u5834\u5408\u306e\u307f\u5024\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002\u203b\u305d\u308c\u4ee5\u5916\u306e\u30bf\u30a4\u30d7\u306e\u5834\u5408\u306f\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u69cb\u6210\u304c\u7570\u306a\u308b\u305f\u3081\u30a8\u30e9\u30fc\u3068\u306a\u308a\u307e\u3059\u3002\n        If TypeName(olItem) = &quot;MailItem&quot; Then\n            With olItem\n                Cells(lnContactCount, 1).Value = .To\n                Cells(lnContactCount, 2).Value = .CC\n                Cells(lnContactCount, 3).Value = .BCC\n                Cells(lnContactCount, 4).Value = .ReceivedTime\n                Cells(lnContactCount, 5).Value = .Subject\n                Cells(lnContactCount, 6).Value = .Body\n                Cells(lnContactCount, 7).Value = .SenderName\n                Cells(lnContactCount, 8).Value = .SenderEmailAddress\n                Cells(lnContactCount, 9).Value = .SentOn\n                Cells(lnContactCount, 10).Value = .ReceivedByName\n                Cells(lnContactCount, 11).Value = .Importance\n                Cells(lnContactCount, 12).Value = .Size\n                Cells(lnContactCount, 13).Value = .CreationTime\n                Cells(lnContactCount, 14).Value = .LastModificationTime\n                Cells(lnContactCount, 15).Value = .ReminderTime\n                Cells(lnContactCount, 16).Value = .BodyFormat\n                Cells(lnContactCount, 17).Value = .EntryID\n \n                \u2019\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u306e\u4ef6\u6570\u5206\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u51fa\u529b\u3057\u307e\u3059\u3002\n                If .Attachments.Count &gt; 0 Then\n                    For j = 1 To .Attachments.Count\n                        Cells(lnContactCount, 18).Value = Cells(lnContactCount, 18).Value &amp; &quot;,&quot; &amp; .Attachments(j).Filename\n                    Next\n                End If\n                \n            End With\n            lnContactCount = lnContactCount + 1\n        End If\n    Next olItem\n    \n    &#039;\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u89e3\u653e\u3057\u307e\u3059\u3002\n    Set olItem = Nothing\n    Set olConItems = Nothing\n    Set olFolder = Nothing\n    Set olNamespace = Nothing\n    Set olApp = Nothing\n    \n\n    &#039;\u30b9\u30af\u30ea\u30fc\u30f3\u306e\u66f4\u65b0\u3092\u6709\u52b9\u306b\u3057\u307e\u3059\u3002\n    Application.ScreenUpdating = True\n    \n    MsgBox &quot;Outlook\u53d7\u4fe1\u30e1\u30fc\u30eb\u306e\u53d6\u308a\u8fbc\u307f\u304c\u5b8c\u4e86\u3057\u307e\u3057\u305f\uff01&quot;, vbInformation\n    \nEnd Sub<\/code><\/pre>\n<h3><span class=\"ez-toc-section\" id=\"VBA%E3%82%92%E5%AE%9F%E8%A1%8C\"><\/span>VBA\u3092\u5b9f\u884c<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u53d7\u4fe1\u30c8\u30ec\u30a4\u306b\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u4ed8\u304d\u306e\u30e1\u30fc\u30eb\u304c\u3042\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3057\u3087\u3046\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7582\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp9.png\" alt=\"\" width=\"989\" height=\"421\" srcset=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp9.png 989w, https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp9-300x128.png 300w, https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp9-768x327.png 768w, https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp9-718x306.png 718w\" sizes=\"auto, (max-width: 989px) 100vw, 989px\" \/><\/p>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7575\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp2.png\" alt=\"\" width=\"339\" height=\"394\" srcset=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp2.png 339w, https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp2-258x300.png 258w\" sizes=\"auto, (max-width: 339px) 100vw, 339px\" \/>\n<p>2\u3064\u306e\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u3053\u3068\u304c\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>VBA\u3092\u5b9f\u884c\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u306f\u3044\u3001\u8907\u6570\u306e\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u3067\u3082\u304d\u3061\u3093\u3068\u51fa\u529b\u3055\u308c\u3066\u3044\u307e\u3059\u306d\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7578\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp5.png\" alt=\"\" width=\"597\" height=\"183\" srcset=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp5.png 597w, https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp5-300x92.png 300w\" sizes=\"auto, (max-width: 597px) 100vw, 597px\" \/><\/p>\n<h3><span class=\"ez-toc-section\" id=\"VBA%E3%81%AE%E8%AA%AC%E6%98%8E-2\"><\/span>VBA\u306e\u8aac\u660e<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u8ffd\u52a0\u3057\u305f\u30b3\u30fc\u30c9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<p>R\u5217\u306b&#8221;Attachments&#8221;\u306e\u9805\u76ee\u540d\u3092\u8ffd\u52a0\u3057\u307e\u3057\u305f\u3002<\/p>\n<div class=\"info\"><code>.Cells(1, 18).Value = &quot;Attachments&quot;<\/code><\/div>\n<p>Attachments\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u304b\u3089Item\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u53d6\u308a\u51fa\u3057\u3001\u305d\u306eFileName\u30d7\u30ed\u30d1\u30c6\u30a3\u304b\u3089\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u53d6\u5f97\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<div class=\"info\"><code>                If .Attachments.Count &gt; 0 Then<br \/>\nFor j = 1 To .Attachments.Count<br \/>\nCells(lnContactCount, 18).Value = Cells(lnContactCount, 18).Value &amp; &quot;,&quot; &amp; .Attachments(j).Filename<br \/>\nNext<br \/>\nEnd If<\/code><\/div>\n<h2><span class=\"ez-toc-section\" id=\"%E3%82%B5%E3%83%96%E3%83%95%E3%82%A9%E3%83%AB%E3%83%80%E3%81%AB%E3%81%82%E3%82%8BOutlook%E5%8F%97%E4%BF%A1%E3%83%A1%E3%83%BC%E3%83%AB%E4%B8%80%E8%A6%A7%E3%82%92Excel%E3%81%AB%E5%8F%96%E3%82%8A%E8%BE%BC%E3%82%80VBA\"><\/span>\u30b5\u30d6\u30d5\u30a9\u30eb\u30c0\u306b\u3042\u308bOutlook\u53d7\u4fe1\u30e1\u30fc\u30eb\u4e00\u89a7\u3092Excel\u306b\u53d6\u308a\u8fbc\u3080VBA<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u6700\u5f8c\u306b\u30b5\u30d6\u30d5\u30a9\u30eb\u30c0\u306b\u3042\u308bOutlook\u53d7\u4fe1\u30e1\u30fc\u30eb\u4e00\u89a7\u3092Excel\u306b\u53d6\u308a\u8fbc\u3093\u3067\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<h3><span class=\"ez-toc-section\" id=\"VBA%E3%81%AE%E6%BA%96%E5%82%99-3\"><\/span>VBA\u306e\u6e96\u5099<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<pre style=\"padding: 0;\"><code class=\"language-visual-basic line-numbers\">Sub Outlook\u53d7\u4fe1\u30e1\u30fc\u30eb\u4e00\u89a7\u3092\u53d6\u308a\u8fbc\u3080()\n\n    &#039;Outlook\u7528\u306e\u5b9a\u7fa9\n    Dim olApp As Outlook.Application\n    Dim olNamespace As Outlook.Namespace\n    Dim olFolder As Outlook.MAPIFolder\n    Dim olConItems As Outlook.Items\n    Dim olItem As Object\n    \n    &#039;Excel\u7528\u306e\u5b9a\u7fa9\n    Dim wbBook As Workbook\n    Dim wsSheet As Worksheet\n    Dim lnContactCount As Long\n\n    &#039;\u53d6\u5f97\u7d50\u679c\u3092\u8a18\u8ff0\u3059\u308b\u884c\u756a\u53f7\u3092\u6307\u5b9a\u3057\u307e\u3059\u30022\u306e\u5834\u5408\u30012\u884c\u76ee\u306e\u30bb\u30eb\u304b\u3089\u958b\u59cb\u3055\u308c\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002\n    lnContactCount = 2\n    \n    &#039;\u62bd\u51fa\u671f\u9593\u306e\u958b\u59cb\u65e5\u3068\u7d42\u4e86\u65e5\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\n    strStart = Format(&quot;2022\/2\/16&quot;, &quot;yyyy\/mm\/dd&quot;) &#039;\u958b\u59cb\u65e5\u3092\u6307\u5b9a\n    strEnd = Format(&quot;2022\/2\/17&quot;, &quot;yyyy\/mm\/dd&quot;)  &#039;\u7d42\u4e86\u65e5\u3092\u6307\u5b9a\n    \n    &#039;\u30b9\u30d4\u30fc\u30c9\u30a2\u30c3\u30d7\u306e\u305f\u3081\u30b9\u30af\u30ea\u30fc\u30f3\u306e\u66f4\u65b0\u3092\u7121\u52b9\u306b\u3057\u307e\u3059\u3002\n    Application.ScreenUpdating = False\n    \n    &#039;Excel\u306e\u30d6\u30c3\u30af\u3068\u30ef\u30fc\u30af\u30b7\u30fc\u30c8\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002\n    Set wbBook = ThisWorkbook\n    Set wsSheet = wbBook.Worksheets(1)\n    \n    &#039;\u66f8\u304d\u8fbc\u307f\u5148\u306e\u30bb\u30eb\u3092\u6307\u5b9a\u30571\u884c\u76ee\u306b\u30bf\u30a4\u30c8\u30eb\u3092\u5165\u529b\u3057\u307e\u3059\u3002\n    With wsSheet\n\n        .Cells.ClearContents\n        .Cells(1, 1).Value = &quot;To&quot;\n        .Cells(1, 2).Value = &quot;CC&quot;\n        .Cells(1, 3).Value = &quot;BCC&quot;\n        .Cells(1, 4).Value = &quot;ReceivedTime&quot;\n        .Cells(1, 5).Value = &quot;Subject&quot;\n        .Cells(1, 6).Value = &quot;Body&quot;\n        .Cells(1, 7).Value = &quot;SenderName&quot;\n        .Cells(1, 8).Value = &quot;SenderEmailAddress&quot;\n        .Cells(1, 9).Value = &quot;SentOn&quot;\n        .Cells(1, 10).Value = &quot;ReceivedByName&quot;\n        .Cells(1, 11).Value = &quot;Importance&quot;\n        .Cells(1, 12).Value = &quot;Size&quot;\n        .Cells(1, 13).Value = &quot;CreationTime&quot;\n        .Cells(1, 14).Value = &quot;LastModificationTime&quot;\n        .Cells(1, 15).Value = &quot;ReminderTime&quot;\n        .Cells(1, 16).Value = &quot;BodyFormat&quot;\n        .Cells(1, 17).Value = &quot;EntryID&quot;\n        .Cells(1, 18).Value = &quot;Attachments&quot;\n        \n        &#039;\u66f8\u5f0f\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002\n        With .Range(&quot;A1:Z1&quot;)\n            .Font.Bold = True\n            .Font.ColorIndex = 10\n            .Font.Size = 11\n        End With\n    End With\n    \n    wsSheet.Activate\n    \n    &#039;Outlook\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8a2d\u5b9a\u3057\u3001MAPI\u540d\u524d\u7a7a\u9593\u3092\u4ecb\u3057\u3066Outlook\u306e\u9023\u7d61\u5148\u4e00\u89a7\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002\n    Set olApp = New Outlook.Application\n    Set olNamespace = olApp.GetNamespace(&quot;MAPI&quot;)\n    \n    &#039;\u65e2\u5b9a\u30e6\u30fc\u30b6\u30fc\u306e\u53d7\u4fe1\u30c8\u30ec\u30a4\u3092\u5bfe\u8c61\u306b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002\n    Set olFolder = olNamespace.GetDefaultFolder(olFolderInbox).Folders(&quot;\u30b5\u30d6\u30d5\u30a9\u30eb\u30c0&quot;)\n    Set olConItems = olFolder.Items\n    \n    &#039;Restrict\u30e1\u30bd\u30c3\u30c9\u3067\u671f\u9593\u3092\u6307\u5b9a\u3057\u62bd\u51fa\u3059\u308b\u30e1\u30fc\u30eb\u30a2\u30a4\u30c6\u30e0\u3092\u7d5e\u308a\u8fbc\u307f\u307e\u3059\u3002\n    Set olConItems = olConItems.Restrict(&quot;[ReceivedTime] &gt;= &#039;&quot; &amp; strStart &amp; &quot;&#039; And [ReceivedTime] &lt;= &#039;&quot; &amp; strEnd &amp; &quot;&#039;&quot;)\n\n    For Each olItem In olConItems\nDebug.Print TypeName(olItem)\n        &#039;\u30a2\u30a4\u30c6\u30e0\u306e\u30bf\u30a4\u30d7\u304c&quot;MailItem&quot;\u3060\u3063\u305f\u5834\u5408\u306e\u307f\u5024\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002\u203b\u305d\u308c\u4ee5\u5916\u306e\u30bf\u30a4\u30d7\u306e\u5834\u5408\u306f\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u69cb\u6210\u304c\u7570\u306a\u308b\u305f\u3081\u30a8\u30e9\u30fc\u3068\u306a\u308a\u307e\u3059\u3002\n        If TypeName(olItem) = &quot;MailItem&quot; Then\n            With olItem\n                Cells(lnContactCount, 1).Value = .To\n                Cells(lnContactCount, 2).Value = .CC\n                Cells(lnContactCount, 3).Value = .BCC\n                Cells(lnContactCount, 4).Value = .ReceivedTime\n                Cells(lnContactCount, 5).Value = .Subject\n                Cells(lnContactCount, 6).Value = .Body\n                Cells(lnContactCount, 7).Value = .SenderName\n                Cells(lnContactCount, 8).Value = .SenderEmailAddress\n                Cells(lnContactCount, 9).Value = .SentOn\n                Cells(lnContactCount, 10).Value = .ReceivedByName\n                Cells(lnContactCount, 11).Value = .Importance\n                Cells(lnContactCount, 12).Value = .Size\n                Cells(lnContactCount, 13).Value = .CreationTime\n                Cells(lnContactCount, 14).Value = .LastModificationTime\n                Cells(lnContactCount, 15).Value = .ReminderTime\n                Cells(lnContactCount, 16).Value = .BodyFormat\n                Cells(lnContactCount, 17).Value = .EntryID\n \n                \u2019\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u306e\u4ef6\u6570\u5206\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u51fa\u529b\u3057\u307e\u3059\u3002\n                If .Attachments.Count &gt; 0 Then\n                    For j = 1 To .Attachments.Count\n                        Cells(lnContactCount, 18).Value = Cells(lnContactCount, 18).Value &amp; &quot;,&quot; &amp; .Attachments(j).Filename\n                    Next\n                End If\n                \n            End With\n            lnContactCount = lnContactCount + 1\n        End If\n    Next olItem\n    \n    &#039;\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u89e3\u653e\u3057\u307e\u3059\u3002\n    Set olItem = Nothing\n    Set olConItems = Nothing\n    Set olFolder = Nothing\n    Set olNamespace = Nothing\n    Set olApp = Nothing\n    \n\n    &#039;\u30b9\u30af\u30ea\u30fc\u30f3\u306e\u66f4\u65b0\u3092\u6709\u52b9\u306b\u3057\u307e\u3059\u3002\n    Application.ScreenUpdating = True\n    \n    MsgBox &quot;Outlook\u53d7\u4fe1\u30e1\u30fc\u30eb\u306e\u53d6\u308a\u8fbc\u307f\u304c\u5b8c\u4e86\u3057\u307e\u3057\u305f\uff01&quot;, vbInformation\n    \nEnd Sub<\/code><\/pre>\n<h3><span class=\"ez-toc-section\" id=\"VBA%E3%82%92%E8%A8%AD%E5%AE%9A\"><\/span>VBA\u3092\u8a2d\u5b9a<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Folders\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u306b\u30d5\u30a9\u30eb\u30c0\u540d\u3092\u6307\u5b9a\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u53d7\u4fe1\u30c8\u30ec\u30a4\u306b\u30b5\u30d6\u30d5\u30a9\u30eb\u30c0\u304c\u7121\u3044\u5834\u5408\u306f\u4f5c\u6210\u3057\u3001\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u4ed8\u304d\u306e\u30e1\u30fc\u30eb\u542b\u3081\u3066\u53d7\u4fe1\u30e1\u30fc\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3057\u3087\u3046\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7581\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp8.png\" alt=\"\" width=\"1018\" height=\"339\" srcset=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp8.png 1018w, https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp8-300x100.png 300w, https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp8-768x256.png 768w, https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp8-718x239.png 718w\" sizes=\"auto, (max-width: 1018px) 100vw, 1018px\" \/><\/p>\n<p>\u30b5\u30f3\u30d7\u30eb\u3067\u306f\u30d5\u30a9\u30eb\u30c0\u540d\u304c&#8221;\u30b5\u30d6\u30d5\u30a9\u30eb\u30c0&#8221;\u3067\u3042\u308b\u306e\u3067Folders\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u306b\u30d5\u30a9\u30eb\u30c0\u540d\u306f&#8221;\u30b5\u30d6\u30d5\u30a9\u30eb\u30c0&#8221;\u3068\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<div class=\"info\"><code>Set olFolder = olNamespace.GetDefaultFolder(olFolderInbox).Folders(&quot;\u30b5\u30d6\u30d5\u30a9\u30eb\u30c0&quot;)<br \/>\nSet olConItems = olFolder.Items<\/code><\/div>\n<h3><span class=\"ez-toc-section\" id=\"VBA%E3%82%92%E5%AE%9F%E8%A1%8C%E3%81%99%E3%82%8B\"><\/span>VBA\u3092\u5b9f\u884c\u3059\u308b<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>VBA\u3092\u5b9f\u884c\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u306f\u3044\u3001\u30b5\u30d6\u30d5\u30a9\u30eb\u30c0\u306e\u53d7\u4fe1\u30e1\u30fc\u30eb\u4e00\u89a7\u304c\u51fa\u529b\u3055\u308c\u3066\u3044\u307e\u3059\u306d\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7579\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp6.png\" alt=\"\" width=\"1285\" height=\"133\" srcset=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp6.png 1285w, https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp6-300x31.png 300w, https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp6-1024x106.png 1024w, https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp6-768x79.png 768w, https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp6-718x74.png 718w\" sizes=\"auto, (max-width: 1285px) 100vw, 1285px\" \/><\/p>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7580\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp7.png\" alt=\"\" width=\"1156\" height=\"142\" srcset=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp7.png 1156w, https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp7-300x37.png 300w, https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp7-1024x126.png 1024w, https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp7-768x94.png 768w, https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp7-718x88.png 718w\" sizes=\"auto, (max-width: 1156px) 100vw, 1156px\" \/>\n<h3><span class=\"ez-toc-section\" id=\"VBA%E3%81%AE%E8%AA%AC%E6%98%8E-3\"><\/span>VBA\u306e\u8aac\u660e<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u8ffd\u52a0\u3057\u305f\u30b3\u30fc\u30c9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<br \/>\n\u65e2\u5b9a\u30e6\u30fc\u30b6\u30fc\u306e\u53d7\u4fe1\u30c8\u30ec\u30a4\u306bFolders\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u306b\u30d5\u30a9\u30eb\u30c0\u540d\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u306b\u3088\u308a\u30b5\u30d6\u30d5\u30a9\u30eb\u30c0\u3092\u5bfe\u8c61\u306b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\n<div class=\"info\"><code>Set olFolder = olNamespace.GetDefaultFolder(olFolderInbox).Folders(&quot;\u30b5\u30d6\u30d5\u30a9\u30eb\u30c0&quot;)<br \/>\nSet olConItems = olFolder.Items<\/code><\/div>\n<h2><span class=\"ez-toc-section\" id=\"VBA%E3%81%AE%E5%AE%9F%E8%A3%85%E6%89%8B%E9%A0%86\"><\/span>VBA\u306e\u5b9f\u88c5\u624b\u9806<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3><span class=\"ez-toc-section\" id=\"Excel_VBA%E3%81%8B%E3%82%89Outlook%E3%82%92%E6%93%8D%E4%BD%9C%E3%81%99%E3%82%8B%E3%81%9F%E3%82%81%E3%81%AE%E4%B8%8B%E6%BA%96%E5%82%99\"><\/span>Excel VBA\u304b\u3089Outlook\u3092\u64cd\u4f5c\u3059\u308b\u305f\u3081\u306e\u4e0b\u6e96\u5099<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Excel VBA\u304b\u3089Outlook\u3092\u64cd\u4f5c\u3059\u308b\u305f\u3081\u306e\u4e0b\u6e96\u5099\u3092\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<p>\u2460Excel\u3092\u8d77\u52d5\u3057\u3001\u300c\u958b\u767a\u300d\u30bf\u30d6\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1537\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2019\/09\/091219_1002_temp4.png\" alt=\"\" width=\"1051\" height=\"488\" \/><\/p>\n<p>\u2461VBE\u306e\u753b\u9762\u304c\u958b\u3044\u305f\u3089\u3001\u30e1\u30cb\u30e5\u30fc\u304b\u3089\u300c\u30c4\u30fc\u30eb\u300d&gt;\u300c\u53c2\u7167\u8a2d\u5b9a\u300d\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/p>\n<p>\u2462\u300cMicrosoft Outlook XX.X Object Library\u300d\u3092\u63a2\u3057\u3066\u30c1\u30a7\u30c3\u30af\u30dc\u30c3\u30af\u30b9\u306b\u30c1\u30a7\u30c3\u30af\u3057\u300cOK\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1536\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2019\/09\/091219_1002_temp3.png\" alt=\"\" width=\"650\" height=\"465\" \/><\/p>\n<h3><span class=\"ez-toc-section\" id=\"Excel%E5%81%B4%E3%81%B8VBA%E3%82%92%E5%AE%9F%E8%A3%85%E3%81%99%E3%82%8B\"><\/span>Excel\u5074\u3078VBA\u3092\u5b9f\u88c5\u3059\u308b<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Excel\u5074\u306bVBA\u3092\u5b9f\u88c5\u3057\u307e\u3059\u3002<br \/>\n\u2460Excel\u3092\u65b0\u898f\u306b\u958b\u304d\u3001\u300c\u958b\u767a\u300d\u30bf\u30d6\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001\u300cVisualBasic\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<br \/>\n\u3082\u3057\u304f\u306f\u30b7\u30e7\u30fc\u30c8\u30ab\u30c3\u30c8\u30ad\u30fc\u300cAlt\u300d\uff0b\u300cF11\u300d\u3067\u3082OK\u3067\u3059\u3002<\/p>\n<p>\u2461\u6a19\u6e96\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<br \/>\n\u5de6\u30da\u30a4\u30f3\u306eVBAProject\u3092\u53f3\u30af\u30ea\u30c3\u30af\u3057\u3001\u300c\u633f\u5165\u300d\u3001\u300c\u6a19\u6e96\u30e2\u30b8\u30e5\u30fc\u30eb\u300d\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/p>\n<img decoding=\"async\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2019\/05\/050919_1542_VBAFunctio2.png\" alt=\"\" \/>\n<p>\u2462\u53f3\u30da\u30a4\u30f3\u306e\u30a6\u30a4\u30f3\u30c9\u30a6\u306b\u4e0a\u8a18\u306e\u30de\u30af\u30ed\u3092\u5165\u529b\u3057\u307e\u3059\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1538\" src=\"https:\/\/extan.jp\/wp-content\/uploads\/2019\/09\/091219_1002_temp5.png\" alt=\"\" width=\"1393\" height=\"922\" \/><\/p>\n<p>\u3053\u3061\u3089\u3067\u5b9f\u88c5\u5b8c\u4e86\u3067\u3059\u3002<\/p>\n<h3><span class=\"ez-toc-section\" id=\"VBA%E3%82%92%E5%AE%9F%E8%A1%8C%E3%81%99%E3%82%8B-2\"><\/span>VBA\u3092\u5b9f\u884c\u3059\u308b<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>VBA\u3092\u5b9f\u884c\u3059\u308b\u624b\u9806\u3068\u306a\u308a\u307e\u3059\u3002<br \/>\n\u2460\u300c\u958b\u767a\u300d\u30bf\u30d6\u306e\u300cVBA\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u5b9f\u884c\u3057\u305f\u3044\u30de\u30af\u30ed\u3092\u9078\u629e\u3057\u3001\u300c<strong>\u5b9f\u884c<\/strong>\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/p>\n<p>\u2461\u51e6\u7406\u304c\u3055\u308c\u305f\u3053\u3068\u304c\u78ba\u8a8d\u3067\u304d\u308c\u3070\u5b8c\u4e86\u3067\u3059\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"%E3%81%95%E3%81%84%E3%81%94%E3%81%AB\"><\/span>\u3055\u3044\u3054\u306b<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u3044\u304b\u304c\u3067\u3057\u3087\u3046\u304b\u3002<\/p>\n<p>\u4eca\u56de\u306f\u3001<br \/>\n<strong>VBA\u3067Outlook\u53d7\u4fe1\u30e1\u30fc\u30eb\u4e00\u89a7\u3092Excel\u306b\u53d6\u308a\u8fbc\u3080\u65b9\u6cd5\uff01\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u3084\u30b5\u30d6\u30d5\u30a9\u30eb\u30c0\u3082\u53d6\u5f97\u53ef\uff01\u306b\u3064\u3044\u3066<\/strong><br \/>\n\u307e\u3068\u3081\u307e\u3057\u305f\u3002<\/p>\n<p>\u307e\u305f\u3001\u4ed6\u306b\u3082\u4fbf\u5229\u306a\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u306e\u3067\u3001\u3088\u308d\u3057\u3051\u308c\u3070\u3054\u53c2\u7167\u9802\u3051\u308c\u3070\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>VBA\u3067Outlook\u53d7\u4fe1\u30e1\u30fc\u30eb\u4e00\u89a7\u3092Excel\u306b\u53d6\u308a\u8fbc\u307f\u305f\u3044\u3068\u304d\u306f\u306a\u3044\u3067\u3057\u3087\u3046\u304b\u3002 \u3051\u3069\u3001\u305d\u3093\u306a\u4e2d\u3067\u60a9\u3080\u3053\u3068\u306f\u3001 \u30fbVBA\u3067Outlook\u53d7\u4fe1\u30e1\u30fc\u30eb\u4e00\u89a7\u3092Excel\u306b\u53d6\u308a\u8fbc\u307f\u305f\u3044\u304c\u65b9\u6cd5\u304c\u308f\u304b\u3089\u306a\u3044\u3002 \u30fbVBA\u3067Outl&#8230;<\/p>\n","protected":false},"author":1,"featured_media":7574,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[43],"class_list":{"0":"post-7445","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-exceloutlook","8":"tag-43","9":"article cf"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v18.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<meta name=\"description\" content=\"\u30fbVBA\u3067Outlook\u53d7\u4fe1\u30e1\u30fc\u30eb\u4e00\u89a7\u3092Excel\u306b\u53d6\u308a\u8fbc\u3080\u65b9\u6cd5\u30fbVBA\u3067Outlook\u53d7\u4fe1\u30e1\u30fc\u30eb\u306e\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u4e00\u89a7\u3092Excel\u306b\u53d6\u308a\u8fbc\u3080\u65b9\u6cd5\u30fbVBA\u3067Outlook\u30b5\u30d6\u30d5\u30a9\u30eb\u30c0\u306e\u53d7\u4fe1\u30e1\u30fc\u30eb\u4e00\u89a7\u3092Excel\u306b\u53d6\u308a\u8fbc\u3080\u65b9\u6cd5\u306b\u3064\u3044\u3066\u307e\u3068\u3081\u307e\u3059\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/extan.jp\/?p=7445\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"VBA\u3067Outlook\u53d7\u4fe1\u30e1\u30fc\u30eb\u4e00\u89a7\u3092Excel\u306b\u53d6\u308a\u8fbc\u3080\u65b9\u6cd5\uff01\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u3084\u30b5\u30d6\u30d5\u30a9\u30eb\u30c0\u3082\u53d6\u5f97\u53ef\uff01 - \u30a8\u30af\u77ed\uff5cExtan.jp\" \/>\n<meta property=\"og:description\" content=\"\u30fbVBA\u3067Outlook\u53d7\u4fe1\u30e1\u30fc\u30eb\u4e00\u89a7\u3092Excel\u306b\u53d6\u308a\u8fbc\u3080\u65b9\u6cd5\u30fbVBA\u3067Outlook\u53d7\u4fe1\u30e1\u30fc\u30eb\u306e\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u4e00\u89a7\u3092Excel\u306b\u53d6\u308a\u8fbc\u3080\u65b9\u6cd5\u30fbVBA\u3067Outlook\u30b5\u30d6\u30d5\u30a9\u30eb\u30c0\u306e\u53d7\u4fe1\u30e1\u30fc\u30eb\u4e00\u89a7\u3092Excel\u306b\u53d6\u308a\u8fbc\u3080\u65b9\u6cd5\u306b\u3064\u3044\u3066\u307e\u3068\u3081\u307e\u3059\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/extan.jp\/?p=7445\" \/>\n<meta property=\"og:site_name\" content=\"\u30a8\u30af\u77ed\uff5cExtan.jp\" \/>\n<meta property=\"article:published_time\" content=\"2022-02-19T13:38:01+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-02-19T14:18:02+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1228\" \/>\n\t<meta property=\"og:image:height\" content=\"558\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u30bf\u30ab\u30d2\u30ed@extan\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"10\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/extan.jp\/#website\",\"url\":\"https:\/\/extan.jp\/\",\"name\":\"\u30a8\u30af\u77ed\uff5cExtan.jp\",\"description\":\"\u50cd\u304f\u4eba\u306e\u81ea\u7531\u6642\u9593\u3092\u3064\u304f\u308b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/extan.jp\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"ja\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/extan.jp\/?p=7445#primaryimage\",\"inLanguage\":\"ja\",\"url\":\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp1.png\",\"contentUrl\":\"https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp1.png\",\"width\":1228,\"height\":558},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/extan.jp\/?p=7445#webpage\",\"url\":\"https:\/\/extan.jp\/?p=7445\",\"name\":\"VBA\u3067Outlook\u53d7\u4fe1\u30e1\u30fc\u30eb\u4e00\u89a7\u3092Excel\u306b\u53d6\u308a\u8fbc\u3080\u65b9\u6cd5\uff01\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u3084\u30b5\u30d6\u30d5\u30a9\u30eb\u30c0\u3082\u53d6\u5f97\u53ef\uff01 - \u30a8\u30af\u77ed\uff5cExtan.jp\",\"isPartOf\":{\"@id\":\"https:\/\/extan.jp\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/extan.jp\/?p=7445#primaryimage\"},\"datePublished\":\"2022-02-19T13:38:01+00:00\",\"dateModified\":\"2022-02-19T14:18:02+00:00\",\"author\":{\"@id\":\"https:\/\/extan.jp\/#\/schema\/person\/ccb8849fcf749d5f74439b1af7d4df1a\"},\"description\":\"\u30fbVBA\u3067Outlook\u53d7\u4fe1\u30e1\u30fc\u30eb\u4e00\u89a7\u3092Excel\u306b\u53d6\u308a\u8fbc\u3080\u65b9\u6cd5\u30fbVBA\u3067Outlook\u53d7\u4fe1\u30e1\u30fc\u30eb\u306e\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u4e00\u89a7\u3092Excel\u306b\u53d6\u308a\u8fbc\u3080\u65b9\u6cd5\u30fbVBA\u3067Outlook\u30b5\u30d6\u30d5\u30a9\u30eb\u30c0\u306e\u53d7\u4fe1\u30e1\u30fc\u30eb\u4e00\u89a7\u3092Excel\u306b\u53d6\u308a\u8fbc\u3080\u65b9\u6cd5\u306b\u3064\u3044\u3066\u307e\u3068\u3081\u307e\u3059\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/extan.jp\/?p=7445#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/extan.jp\/?p=7445\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/extan.jp\/?p=7445#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u30db\u30fc\u30e0\",\"item\":\"https:\/\/extan.jp\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"VBA\u3067Outlook\u53d7\u4fe1\u30e1\u30fc\u30eb\u4e00\u89a7\u3092Excel\u306b\u53d6\u308a\u8fbc\u3080\u65b9\u6cd5\uff01\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u3084\u30b5\u30d6\u30d5\u30a9\u30eb\u30c0\u3082\u53d6\u5f97\u53ef\uff01\"}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/extan.jp\/#\/schema\/person\/ccb8849fcf749d5f74439b1af7d4df1a\",\"name\":\"\u30bf\u30ab\u30d2\u30ed@extan\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/extan.jp\/#personlogo\",\"inLanguage\":\"ja\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/24a74fef504a714c468411d23f2d1fd451892ffebbba0d84f70d4ce0d489aefb?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/24a74fef504a714c468411d23f2d1fd451892ffebbba0d84f70d4ce0d489aefb?s=96&d=mm&r=g\",\"caption\":\"\u30bf\u30ab\u30d2\u30ed@extan\"},\"url\":\"https:\/\/extan.jp\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"description":"\u30fbVBA\u3067Outlook\u53d7\u4fe1\u30e1\u30fc\u30eb\u4e00\u89a7\u3092Excel\u306b\u53d6\u308a\u8fbc\u3080\u65b9\u6cd5\u30fbVBA\u3067Outlook\u53d7\u4fe1\u30e1\u30fc\u30eb\u306e\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u4e00\u89a7\u3092Excel\u306b\u53d6\u308a\u8fbc\u3080\u65b9\u6cd5\u30fbVBA\u3067Outlook\u30b5\u30d6\u30d5\u30a9\u30eb\u30c0\u306e\u53d7\u4fe1\u30e1\u30fc\u30eb\u4e00\u89a7\u3092Excel\u306b\u53d6\u308a\u8fbc\u3080\u65b9\u6cd5\u306b\u3064\u3044\u3066\u307e\u3068\u3081\u307e\u3059\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/extan.jp\/?p=7445","og_locale":"ja_JP","og_type":"article","og_title":"VBA\u3067Outlook\u53d7\u4fe1\u30e1\u30fc\u30eb\u4e00\u89a7\u3092Excel\u306b\u53d6\u308a\u8fbc\u3080\u65b9\u6cd5\uff01\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u3084\u30b5\u30d6\u30d5\u30a9\u30eb\u30c0\u3082\u53d6\u5f97\u53ef\uff01 - \u30a8\u30af\u77ed\uff5cExtan.jp","og_description":"\u30fbVBA\u3067Outlook\u53d7\u4fe1\u30e1\u30fc\u30eb\u4e00\u89a7\u3092Excel\u306b\u53d6\u308a\u8fbc\u3080\u65b9\u6cd5\u30fbVBA\u3067Outlook\u53d7\u4fe1\u30e1\u30fc\u30eb\u306e\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u4e00\u89a7\u3092Excel\u306b\u53d6\u308a\u8fbc\u3080\u65b9\u6cd5\u30fbVBA\u3067Outlook\u30b5\u30d6\u30d5\u30a9\u30eb\u30c0\u306e\u53d7\u4fe1\u30e1\u30fc\u30eb\u4e00\u89a7\u3092Excel\u306b\u53d6\u308a\u8fbc\u3080\u65b9\u6cd5\u306b\u3064\u3044\u3066\u307e\u3068\u3081\u307e\u3059\u3002","og_url":"https:\/\/extan.jp\/?p=7445","og_site_name":"\u30a8\u30af\u77ed\uff5cExtan.jp","article_published_time":"2022-02-19T13:38:01+00:00","article_modified_time":"2022-02-19T14:18:02+00:00","og_image":[{"width":1228,"height":558,"url":"https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp1.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"\u30bf\u30ab\u30d2\u30ed@extan","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"10\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/extan.jp\/#website","url":"https:\/\/extan.jp\/","name":"\u30a8\u30af\u77ed\uff5cExtan.jp","description":"\u50cd\u304f\u4eba\u306e\u81ea\u7531\u6642\u9593\u3092\u3064\u304f\u308b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/extan.jp\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"ja"},{"@type":"ImageObject","@id":"https:\/\/extan.jp\/?p=7445#primaryimage","inLanguage":"ja","url":"https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp1.png","contentUrl":"https:\/\/extan.jp\/wp-content\/uploads\/2022\/02\/021822_1437_temp1.png","width":1228,"height":558},{"@type":"WebPage","@id":"https:\/\/extan.jp\/?p=7445#webpage","url":"https:\/\/extan.jp\/?p=7445","name":"VBA\u3067Outlook\u53d7\u4fe1\u30e1\u30fc\u30eb\u4e00\u89a7\u3092Excel\u306b\u53d6\u308a\u8fbc\u3080\u65b9\u6cd5\uff01\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u3084\u30b5\u30d6\u30d5\u30a9\u30eb\u30c0\u3082\u53d6\u5f97\u53ef\uff01 - \u30a8\u30af\u77ed\uff5cExtan.jp","isPartOf":{"@id":"https:\/\/extan.jp\/#website"},"primaryImageOfPage":{"@id":"https:\/\/extan.jp\/?p=7445#primaryimage"},"datePublished":"2022-02-19T13:38:01+00:00","dateModified":"2022-02-19T14:18:02+00:00","author":{"@id":"https:\/\/extan.jp\/#\/schema\/person\/ccb8849fcf749d5f74439b1af7d4df1a"},"description":"\u30fbVBA\u3067Outlook\u53d7\u4fe1\u30e1\u30fc\u30eb\u4e00\u89a7\u3092Excel\u306b\u53d6\u308a\u8fbc\u3080\u65b9\u6cd5\u30fbVBA\u3067Outlook\u53d7\u4fe1\u30e1\u30fc\u30eb\u306e\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u4e00\u89a7\u3092Excel\u306b\u53d6\u308a\u8fbc\u3080\u65b9\u6cd5\u30fbVBA\u3067Outlook\u30b5\u30d6\u30d5\u30a9\u30eb\u30c0\u306e\u53d7\u4fe1\u30e1\u30fc\u30eb\u4e00\u89a7\u3092Excel\u306b\u53d6\u308a\u8fbc\u3080\u65b9\u6cd5\u306b\u3064\u3044\u3066\u307e\u3068\u3081\u307e\u3059\u3002","breadcrumb":{"@id":"https:\/\/extan.jp\/?p=7445#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/extan.jp\/?p=7445"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/extan.jp\/?p=7445#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/extan.jp\/"},{"@type":"ListItem","position":2,"name":"VBA\u3067Outlook\u53d7\u4fe1\u30e1\u30fc\u30eb\u4e00\u89a7\u3092Excel\u306b\u53d6\u308a\u8fbc\u3080\u65b9\u6cd5\uff01\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u3084\u30b5\u30d6\u30d5\u30a9\u30eb\u30c0\u3082\u53d6\u5f97\u53ef\uff01"}]},{"@type":"Person","@id":"https:\/\/extan.jp\/#\/schema\/person\/ccb8849fcf749d5f74439b1af7d4df1a","name":"\u30bf\u30ab\u30d2\u30ed@extan","image":{"@type":"ImageObject","@id":"https:\/\/extan.jp\/#personlogo","inLanguage":"ja","url":"https:\/\/secure.gravatar.com\/avatar\/24a74fef504a714c468411d23f2d1fd451892ffebbba0d84f70d4ce0d489aefb?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/24a74fef504a714c468411d23f2d1fd451892ffebbba0d84f70d4ce0d489aefb?s=96&d=mm&r=g","caption":"\u30bf\u30ab\u30d2\u30ed@extan"},"url":"https:\/\/extan.jp\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/extan.jp\/index.php?rest_route=\/wp\/v2\/posts\/7445","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/extan.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/extan.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/extan.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/extan.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7445"}],"version-history":[{"count":11,"href":"https:\/\/extan.jp\/index.php?rest_route=\/wp\/v2\/posts\/7445\/revisions"}],"predecessor-version":[{"id":7600,"href":"https:\/\/extan.jp\/index.php?rest_route=\/wp\/v2\/posts\/7445\/revisions\/7600"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/extan.jp\/index.php?rest_route=\/wp\/v2\/media\/7574"}],"wp:attachment":[{"href":"https:\/\/extan.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7445"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/extan.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7445"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/extan.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7445"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}