A little Outlook/VBA Help
Nolf-Job
Inside each and every one of you!
So I've got a bunch of sms msgs brought into Outlook 2003 via a program called TrueConnect. They function pretty similar to emails in how their viewed/stored.
For a project I'm working on, I need to get the body text from all the messages into a single txt file. All I want to have saved though is the body text. I started doing this manually and quickly hopped on google to find a better means to accomplish this. On this http://ask.metafilter.com/28600/Exporting-outlook-email-as-common-format someone responded with some VBA code. It's not intended to do what I need, but I was hoping someone may be able to help me out as I know nothing about VBA... I learned C/C++ years ago and still do lots of web work, so know some of the basics.
Essentially, it just seems like a loop that would grab the body text of the msg, add it to the file, and move on. The ideal script would format it something like this
The // are how I'm choosing to delimit msgs. If anyone has any insight into how this may be best accomplished, I'd greatly appreciate it. TIA.
For a project I'm working on, I need to get the body text from all the messages into a single txt file. All I want to have saved though is the body text. I started doing this manually and quickly hopped on google to find a better means to accomplish this. On this http://ask.metafilter.com/28600/Exporting-outlook-email-as-common-format someone responded with some VBA code. It's not intended to do what I need, but I was hoping someone may be able to help me out as I know nothing about VBA... I learned C/C++ years ago and still do lots of web work, so know some of the basics.
Essentially, it just seems like a loop that would grab the body text of the msg, add it to the file, and move on. The ideal script would format it something like this
Message Body 1 // Message Body 2 // Message Body 3.....
The // are how I'm choosing to delimit msgs. If anyone has any insight into how this may be best accomplished, I'd greatly appreciate it. TIA.
0
Comments
In outlook go into File>Import and Export>Export to a File>Microsoft Excel (you may have to add in filters depending on your installation which will require the install disk)>Select your target mail folder (Inbox for example) Put in where you want the file to be saved> Then do a map custom field and delete all of the custom maps except the Body one.
Then you'll get exactly what your looking for. Instead of doing the xls file you could try doing the CSV export (which won't require you to install any filters). I tried it first but found the xls export worked better but as always YMMV.