View Single Post
  #8  
Old April 19th 06, 02:41 PM posted to microsoft.public.outlook
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Custom Search Folder

You can't set up a searchfolder that searches across multiple mail stores
(PST files or Exchange mailboxes). Each searchfolder can only search within
its own store.

For a search of a PST file that starts with the top of store and includes
all subfolders use a search string something like this (depending on the
name of your top of store):

strSearch = "'//Personal Folders'"

Note that since there's a space in "Personal Folders" I surrounded it with
single quotes.

Then you would set the SearchSubfolders argument = True.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"CrystY" wrote in message
oups.com...
What should be the scope for searching recursivelly in all personal
folders?


Ads