View Single Post
  #2  
Old August 23rd 07, 03:08 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Adding line to outgoing message based on category?

Take a look at the code at http://www.outlookcode.com/d/code/autobcc.htm and
see how that's done. That type of code can be modified to not add a Bcc
recipient but to add text to the message body.

--
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


"Rob F" wrote in message
...
Hi

We'd like Outlook to be able to automatically add a bold line saying
"Subject to Contract" at the top of any email sent to a contact with the
category of, say, "Legal"?

Is it possible to have some VBA sitting in ThisOutlookSession that can do
this? It would make our lives easier (especially if we end up in court!) ?

Many thanks

Rob F


Ads