Outlook 2003 Search Folders

P

pnt

Since Search Folders in Outlook 2003 are not MAPIFolders, and
properties and methods of MAPIFolders can't be used with Search
Folders,

Is there any way to set new Search Folder programmatically?
 
K

Ken Slovak - [MVP - Outlook]

Search folders most certainly are MAPIFolder objects, just with a search
criteria applied. If you retrieve the hidden Reminders folder for example (a
search folder) as a MAPIFolder you can work with it just as with any other
MAPIFolder.

Application.AdvancedSearchComplete returns a Search object. The
Search.Save() function lets you save the search result as a search folder,
and guess what? It returns the saved search folder as a MAPIFolder object.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top