Outlook按名称快速搜索文件夹结构

时间:2015-07-08 03:44:22

标签: outlook ms-office office365 outlook-addin outlook-vba

有没有简单的方法可以在Outlook的收件箱文件夹结构中快速搜索文件夹的名称?

我在说这个:

enter image description here

我必须在电子邮件到达时将其分类到此文件夹结构中,但99%的时间都在寻找正确的文件夹......

我们正在运行自己的Exchange,而我正在使用Outlook而不是rdp

here

1 个答案:

答案 0 :(得分:0)

The Outlook object model doesn't provide any property of method for that.

You need to develop a VBA macro or add-in to ge the job done. For example, you can iterate over the folders structure to find the required one. The Folders property of the Folder class returns the Folders collection that represents all the folders contained in the specified Folder. So, you may walk down to the tree recursively.