Discussion:
Newbie needs help
(too old to reply)
Jim
2010-04-19 20:34:12 UTC
Permalink
I am trying to save the body of an email to a text file using vba code
Would someone kindly post the code so that I can use it as a worked example

I'm using WinXP and Outlook 2003

Regards & TIA
Ken Slovak - [MVP - Outlook]
2010-04-20 14:13:15 UTC
Permalink
If you get the body text as a string do you know how to write that to a text
file?

How are you specifying the email, is it one that's open or selected or ?

In the meantime, the best place for Outlook code samples is at
www.outlookcode.com.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm
Post by Jim
I am trying to save the body of an email to a text file using vba code
Would someone kindly post the code so that I can use it as a worked example
I'm using WinXP and Outlook 2003
Regards & TIA
Jim
2010-04-20 18:05:52 UTC
Permalink
Thank Ken ... I'm sure those links will be a great help
To answer your questions
I will select the items to be saved as a txt file
... and since they will all be in in an identical format I will be using
Excel vba to transfer some of the data to a spreadsheet

Regards
Jim
Post by Ken Slovak - [MVP - Outlook]
If you get the body text as a string do you know how to write that to a
text file?
How are you specifying the email, is it one that's open or selected or ?
In the meantime, the best place for Outlook code samples is at
www.outlookcode.com.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm
Post by Jim
I am trying to save the body of an email to a text file using vba code
Would someone kindly post the code so that I can use it as a worked example
I'm using WinXP and Outlook 2003
Regards & TIA
Ken Slovak - [MVP - Outlook]
2010-04-20 19:47:36 UTC
Permalink
Since you posted in 2 groups and got a response also in the other group just
post there if that code sample isn't what you need or you have additional
questions.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm
Post by Jim
Thank Ken ... I'm sure those links will be a great help
To answer your questions
I will select the items to be saved as a txt file
... and since they will all be in in an identical format I will be using
Excel vba to transfer some of the data to a spreadsheet
Regards
Jim
Loading...