change folder

J

Johnny

Hi -

I want to change to a folder that is not in my default
message store. The folder is in a PST that is also in my
profile.

Johnny
 
S

Sue Mosher [MVP]

To get a non-default folder, you need to walk the folder hierarchy using the Folders collections or use a function that does that for you. See http://www.slipstick.com/dev/code/getfolder.htm

Once you have the folder as a MAPIFolder object, you can view it by setting the ActiveExplorer.CurrentFolder object property to the desired folder.
--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
 

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