Automating Compacting of .pst using VBA

G

Guest

Is it possible to compact an Outlook (.pst) file using VBA?

I have several profiles and at least a dozen archived files I would like to
be able compact via a click of a button.

Thanks!

Michael
 
M

Michael Bauer

Hi Michael,
Is it possible to compact an Outlook (.pst) file using VBA?

no, it isn´t.

But I´m sure, instead of loading a *pst-file and clicking manually all
necessary buttons you can automate that by using some APIs.

With the APIs "GetWindow", "GetWindowText" and "mouse_event" you can do
your job.
 

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