0

I use this "Scope" for an advanced search:

Scope = "'" & Application.Session.GetDefaultFolder  (olFolderInbox).FullFolderPath & "'" ','" & Application.Session.GetDefaultFolder(olFolderSentMail).FullFolderPath & "'"
Filter = "urn:schemas:mailheader:subject = '" & MSG.ConversationTopic & "'"
Set olSuche = Application.AdvancedSearch(Scope, Filter, True, "MySearch")

But instead of searching through the complete inbox and all of its subfolders I would like to search only through the subfolders and exclude the inbox as such.

Thanks for any good idea.

Ralf

4

1 回答 1

0

尝试在收件箱文件夹的 PR_PARENT_ENTRYID <> 条目 ID 上添加条件。PR_PARENT_ENTRYID 属性 DASL 名称是http://schemas.microsoft.com/mapi/proptag/0x0E090102

于 2015-10-22T22:00:13.840 回答