antonioking
asked on
Use VB in Outlook to save body as Word .doc
PLease can someone help me with some VB code to save create a word document from the contents of an email.
I want Outlook to automatically save emails with a particular subject that have been sent as a word doc to a specific folder. (say C:\Emails)
The document's name, will come from a reference number that is in the actual email.
It is the 7 digit number that appears after the words "Event Ref: "
I want Outlook to automatically save emails with a particular subject that have been sent as a word doc to a specific folder. (say C:\Emails)
The document's name, will come from a reference number that is in the actual email.
It is the 7 digit number that appears after the words "Event Ref: "
ASKER
Thanks for this, do I need to create a rule or will this run on all emails being sent?
it will run on all emails sent if you put it inside the Application_ItemSend event.
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
Thanks for this code, I will test tomorrow morning.
ASKER
Works perfectly.
Thank you!
Thank you!
Open in new window