PDA

View Full Version : need a mcro which can save the mail to hard disk as an .msg and then print it as pdf



gloring
11-04-2008, 12:42 AM
Hi,

Can some one help me with a macro, all i need is......

when a new email arrives to inbox, it should search for a word in the subject. if it is found then save it to a folder on my desktop as a .msg format, which is an outlook mail format.

then once it is saved it should print the mail as a pdf file and save it in the same folder.


Thanks in advance.

This forum rocks man!!

Thanks,
Gloring.

JP2112
11-05-2008, 11:04 AM
Hi Gloring,

Check out the code I posted in this thread:

http://vbaexpress.com/forum/showthread.php?t=22804

It's event code that will move emails to a folder based on subject. It should get you started on writing event code in Outlook to save emails based on subject.

HTH,
JP



Hi,

Can some one help me with a macro, all i need is......

when a new email arrives to inbox, it should search for a word in the subject. if it is found then save it to a folder on my desktop as a .msg format, which is an outlook mail format.

then once it is saved it should print the mail as a pdf file and save it in the same folder.


Thanks in advance.

This forum rocks man!!

Thanks,
Gloring.