How to open PST file from VBA

  • Thread starter Thread starter christian_A
  • Start date Start date
C

christian_A

I am trying to open a PST file from outlook VBA but did not find how to do
it.

Is someone have already done that and ahve some sample code ?

Many thanks in advance
Christian
 
You need to store the StoreID and EntryID of the pst file and later through
Namespace.GetFolderFromID (EntryIDFolder, EntryIDStore) to retrieve back the
MAPIFolder.
 
That technique works to open a MAPIFolder, but not to add a .pst file to
Outlook.

--
Sue Mosher, Outlook MVP
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

Back
Top