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
 
Back
Top