Converting *.msg files from 2003 to Outlook 2000

E

ext237

Hello.

We are using a 3rd party application to manage *.msg files "on the
fly". But we just got a batch of MSGs that were saved in Outlook
2003.

Problem is, our application only works with 2000.

It seems we can open the MSG files by clicking on them, they open in
Outlook 2000 with no problem, then we can save them with the "Save as
...." dialog ... but to do this for thousands of files would take
forever. Is there a way to automate this?

Thanks!

Ext237
 
E

Eric Legault [Outlook MVP]

I'm pretty sure you can! Let's see: you'll have to use the FileSystemObject
to find the .msg files in your file system, and use the Shell function to
open them in Outlook within some kind of looping algorithm. Beforehand,
though, you'd need to trap every new Inspector (an opened .msg file) by
declaring an Inspectors variable WithEvents so you can catch the
NewInspector event. You can then access the MailItem object through the
CurrentItem property that's exposed by the passed Inspector object in that
event. To finish, sauté lightly for a few minutes, call the MailItem.SaveAs
method and les voila!
 

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