A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Adding line to outgoing message based on category?



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old August 23rd 07, 02:34 PM posted to microsoft.public.outlook.program_vba
Rob F
external usenet poster
 
Posts: 1
Default Adding line to outgoing message based on category?

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


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
OL 2007 Export based on Category Hugh G. Johnson Outlook - General Queries 1 June 14th 07 05:10 PM
Can I set permissions to contacts based on category? Myalyjoes Outlook - Using Contacts 1 April 10th 07 02:49 AM
Automaticly change outgoing isp based on sel email address - revisited pfa Outlook and VBA 0 September 14th 06 01:01 AM
Different Outgoing Servers Based on Location Justin Hoffmann Outlook - General Queries 4 August 31st 06 06:23 PM
Automaticly change outgoing isp based on sel email address Paul T. Swaffer Outlook and VBA 4 July 16th 06 02:17 PM


All times are GMT +1. The time now is 10:45 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.