October 1, 2003
MSXML and Outlook XP
Ever export emails from Outlook? Sucks, right? I mean why not have the date sent there? Date is pretty useful to me! Anyway, I’d rather have the output in XML over TXT or CSV. Since we needed it for an quick hack, I thought of throwing a bit of code together since I’ve worked with the Outlook object model on another project.
Before I began coding, I did a quick google and got some great resources back. This user contribution at TopXML was great! The macro was already written! Just give a filename and choose a folder and bam! You’ve got your emails in XML.
Pretty cool, I think. Also works for contacts, appointments and notes.
Note: Don’t forget to add a reference to “Microsoft XML, v4.0″ - look in Tools, References in the VB script editor.
In case that link dies, I’ve archived it here.
