"All Public Folders" would be in the Exchange public folders tree.
"Personal Folders" would be a PST file.
"Mailbox - user name" would be an Exchange mailbox.
I'd use the InStr function to check each folder name to see if one of
those strings was present. This could be done in a Select Case block
for example.
Each of those strings would represent a different Outlook
InformationStore. You couldn't go directly from one to the other. The
hierarchy would be as follows:
Mailbox or PST -----> Inbox, etc.
Public Folders ------> All Public Folders ------> various public
folders
Above any of the Mailbox, PST or Public Folders would be
Application.NameSpace.Folders.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Lead Author, Professional Outlook 2000 Programming, Wrox Press
Lead Author, Beginning VB 6 Application Development, Wrox Press
Attachment Options
http://www.slovaktech.com/attachmentoptions.htm
Extended Reminders
http://www.slovaktech.com/extendedreminders.htm