Automate importing .pst file

  • Thread starter Thread starter Guy
  • Start date Start date
G

Guy

I have a client who has requested a macro to automate
importing a .pst file from their server into a contacts
folder. They do not run exchange so can't use simple
methods.

Does anyone have any example code to automate this process?

Thank you

Guy
 
The Import/Export Wizard in Outlook is not programmable, unfortunately. You
can use the Outlook Object model to load .pst files though. If you don't
want to open the whole .pst, but just import messages from a particular
folder, you will have to use VBA to access the folder and all of its
messages, and copy them in code to a destination folder.

Why do they need this automated anyway? The Import/Export Wizard can do it
very easily without any code.
 
Back
Top