![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Good day,
I have numerous emails stored in a subfolder of my personal folder in Outlook. The files are currently in an Outlook msg format. I want to convert them to RTF and store them. I am curious if anybody knows of a macro or VBA that will save all emails in the folder as RTF and save them to a widows folder for example: C:\Outlook\Messages Please advise. Thanks in advance, Cordially, |
Ads |
#2
|
|||
|
|||
![]()
I don't think that you can save an email as RTF through the object model.
You can save it as an msg file though. Would this suffice? If so I can probably figure some code out for you. How would you want the file named? -- Alan Moseley IT Consultancy http://www.amitc.co.uk If I have solved your problem, please click Yes below. Thanks. "Brent E" wrote: Good day, I have numerous emails stored in a subfolder of my personal folder in Outlook. The files are currently in an Outlook msg format. I want to convert them to RTF and store them. I am curious if anybody knows of a macro or VBA that will save all emails in the folder as RTF and save them to a widows folder for example: C:\Outlook\Messages Please advise. Thanks in advance, Cordially, |
#3
|
|||
|
|||
![]()
Sure you can save an email as RTF, assuming it is an RTF message. To convert
it to RTF you would use item.BodyFormat = olFormatRichText (item would be the mail item), then call Save on it, then call SaveAs using olRTF as the argument for the Type parameter. -- 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 "Alan Moseley" wrote in message ... I don't think that you can save an email as RTF through the object model. You can save it as an msg file though. Would this suffice? If so I can probably figure some code out for you. How would you want the file named? -- Alan Moseley IT Consultancy http://www.amitc.co.uk If I have solved your problem, please click Yes below. Thanks. "Brent E" wrote: Good day, I have numerous emails stored in a subfolder of my personal folder in Outlook. The files are currently in an Outlook msg format. I want to convert them to RTF and store them. I am curious if anybody knows of a macro or VBA that will save all emails in the folder as RTF and save them to a widows folder for example: C:\Outlook\Messages Please advise. Thanks in advance, Cordially, |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Newbie- is this possible? (code to save attachments from server to network drive, without opening email locally) | ker_01 | Outlook and VBA | 3 | October 3rd 08 02:33 PM |
Voting button macro code | kd | Outlook and VBA | 3 | April 24th 08 02:35 PM |
Macro/VBA code to change SMTP server | Swash | Outlook - Using Forms | 0 | July 11th 07 01:26 PM |
Intermittant NumLock changes in my Excel 2007 VBA macro code | TomThumb | Outlook and VBA | 2 | June 8th 07 12:57 PM |
Save email as text file macro | Simon | Outlook and VBA | 7 | August 10th 06 04:10 PM |