Outlook 2003 Search Folders

  • Thread starter Thread starter pnt
  • Start date Start date
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?
 
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.
 
Back
Top