Automate importing .pst file

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
 
E

Eric Legault [MVP - Outlook]

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.
 

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