View Single Post
  #3  
Old November 10th 08, 01:44 PM posted to microsoft.public.outlook.program_vba
TerryM
external usenet poster
 
Posts: 8
Default Save Email message as HTML file on Harddrive

I tried the items save as method. It didn't seem to work, that or I had the
code wrong. Mind you I'm pretty new to coding. I've don't a little in Excel
and Access however Outlook is a whole other beast.

What should the code look like anyway. Mind you I'm wanting this to run in
a Rule, so when the email comes in it automatically saves the message body as
an html file to the network drive.

"Michael Bauer [MVP - Outlook]" wrote:



Simply call the item's Save method. There should be an example in the VBA
help file.

--
Best regards
Michael Bauer - MVP Outlook

: Outlook Categories? Category Manager Is Your Tool
: VBOffice Reporter for Data Analysis & Reporting
: http://www.vboffice.net/product.html?pub=6&lang=en


Am Wed, 5 Nov 2008 08:28:00 -0800 schrieb TerryM:

I've seen quite a few questions asking this on the web, however I have not
seen an answer to it.

I am trying to create an outlook rule that will run on these criterias,
By sender--Easily done in the Outlook rule
By Subject--Easily done in the Outlook rule
run as script--Saves email message as either text or Html to a harddrive.
From there I will do an import into either excel or access to get the
information i need.

So basically what I am trying to find is the script to save the email
message (no attachments) to a hard drive.


Ads