{"id":139,"date":"2011-05-03T13:20:35","date_gmt":"2011-05-03T05:20:35","guid":{"rendered":"http:\/\/blog.nami.idv.tw\/?p=139"},"modified":"2011-06-20T13:28:12","modified_gmt":"2011-06-20T05:28:12","slug":"%e5%be%9e-outlook-%e7%9a%84%e6%94%b6%e4%bb%b6%e4%ba%ba%e9%81%b8%e5%8f%96%e5%8a%9f%e8%83%bd%e4%b8%ad%e7%a7%bb%e9%99%a4%e5%82%b3%e7%9c%9f%e8%99%9f%e7%a2%bc","status":"publish","type":"post","link":"https:\/\/blog.nami.idv.tw\/?p=139","title":{"rendered":"\u5f9e Outlook \u7684\u6536\u4ef6\u4eba\u9078\u53d6\u529f\u80fd\u4e2d\u79fb\u9664\u50b3\u771f\u865f\u78bc"},"content":{"rendered":"<p>\u4f7f\u7528 Outlook \u7684\u6642\u5019\uff0c\u82e5\u662f\u6709\u5728\u9023\u7d61\u4eba\u5efa\u7acb\u5b8c\u6574\u7684\u9023\u7d61\u4eba\u8cc7\u8a0a\uff08\u5305\u542b\u50b3\u771f\u865f\u78bc\uff09\u6642\uff0c\u7576\u8981\u5bc4\u90f5\u4ef6\u9078\u53d6\u6536\u4ef6\u4eba\u7684\u6642\u5019\u6bcf\u500b\u806f\u7d61\u4eba\u6703\u51fa\u73fe\u5169\u7b46\u8cc7\u6599\uff0c\u4e00\u7b46\u662f email \u4e00\u7b46\u662f Fax\uff0c\u56e0\u70ba\u6c92\u6709\u7528\u96fb\u8166\u767c\u50b3\u771f\u7684\u9700\u8981\uff0c\u51fa\u73fe\u50b3\u771f\u865f\u78bc\u5be6\u5728\u6703\u89ba\u5f97\u7919\u773c\uff0c\u56e0\u6b64\u627e\u4e86\u4e00\u4e0b\u89e3\u6c7a\u65b9\u6cd5\uff0c\u4e26\u7a0d\u5fae\u589e\u52a0\u529f\u80fd\u3002<\/p>\n<p>\u53c3\u8003\u81ea\uff1ahttp:\/\/www.davidfisco.com\/node\/90<\/p>\n<pre lang=\"vb\">Sub ChangeContactFax_AddTag()\r\n Set olApp = New Outlook.Application\r\n Set olNS = olApp.GetNamespace(\"MAPI\")\r\n Set ContactsFolder = olNS.GetDefaultFolder(olFolderContacts)\r\n Set ContactItems = ContactsFolder.Items\r\n For Each Itm In ContactItems\r\n If Itm.MessageClass = \"IPM.Contact\" Then\r\n If Itm.BusinessFaxNumber &lt;&gt; \"\" And (InStr(1, Itm.BusinessFaxNumber, \"FAX:\") &lt;&gt; 1) Then\r\n tempString = \"FAX: \" &amp; Itm.BusinessFaxNumber\r\n Debug.Print Itm.BusinessFaxNumber\r\n Itm.BusinessFaxNumber = tempString\r\n Itm.Save\r\n End If\r\n End If\r\n Next\r\nEnd Sub\r\n\r\nSub ChangeContactFax_RemoveTag()\r\n Set olApp = New Outlook.Application\r\n Set olNS = olApp.GetNamespace(\"MAPI\")\r\n Set ContactsFolder = olNS.GetDefaultFolder(olFolderContacts)\r\n Set ContactItems = ContactsFolder.Items\r\n For Each Itm In ContactItems\r\n If Itm.MessageClass = \"IPM.Contact\" Then\r\n If Itm.BusinessFaxNumber &lt;&gt; \"\" And (InStr(1, Itm.BusinessFaxNumber, \"FAX:\") = 1) Then\r\n tempString = Replace(Itm.BusinessFaxNumber, \"FAX: \", \"\")\r\n Debug.Print tempString\r\n Itm.BusinessFaxNumber = tempString\r\n Itm.Save\r\n End If\r\n End If\r\n Next\r\nEnd Sub<\/pre>\n<p>\u5982\u679c\u8981\u8655\u7406\u806f\u7d61\u4eba\u7684\u5b50\u9805\u76ee\u985e\u5225\u7684\u8a71\uff0c\u8981\u6539\uff1a<\/p>\n<pre lang=\"vb\">\r\nSet ContactsFolder = olNS.GetDefaultFolder(olFolderContacts).Folders(\"\u5b50\u8cc7\u6599\u593e\u540d\u7a31\")\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u4f7f\u7528 Outlook \u7684\u6642\u5019\uff0c\u82e5\u662f\u6709\u5728\u9023\u7d61\u4eba\u5efa\u7acb\u5b8c\u6574\u7684\u9023\u7d61\u4eba\u8cc7\u8a0a\uff08\u5305\u542b\u50b3\u771f\u865f\u78bc\uff09 &hellip; <a href=\"https:\/\/blog.nami.idv.tw\/?p=139\">\u95b1\u8b80\u5168\u6587 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"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":[10],"tags":[21],"class_list":["post-139","post","type-post","status-publish","format-standard","hentry","category-it-note","tag-msoffice"],"_links":{"self":[{"href":"https:\/\/blog.nami.idv.tw\/index.php?rest_route=\/wp\/v2\/posts\/139","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.nami.idv.tw\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.nami.idv.tw\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.nami.idv.tw\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.nami.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=139"}],"version-history":[{"count":4,"href":"https:\/\/blog.nami.idv.tw\/index.php?rest_route=\/wp\/v2\/posts\/139\/revisions"}],"predecessor-version":[{"id":170,"href":"https:\/\/blog.nami.idv.tw\/index.php?rest_route=\/wp\/v2\/posts\/139\/revisions\/170"}],"wp:attachment":[{"href":"https:\/\/blog.nami.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=139"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.nami.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=139"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.nami.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=139"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}