Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Macro in Outlook 2000 1

Status
Not open for further replies.

rskye

Technical User
Jun 11, 2003
3
US
I want to write a macro for outlook that will add my name and number to the bottom of a email. I would use the signature option in outlook but it adds your siqnature to every email you send out and I dont want that. I just want to add it to specific emails.

p.s. I would like my name to be on one line and my number to be on the next line.

thanks Skye

example:

John Doe
(123) 456-7890
 
Skye, Do you use MS Word as your editor? If so, then you can use the AutoText feature to create a custom signature that you can add to an e-mail simply by typing some key word. (I use sign for mine.) When you type the key word, simply pause for a second, then press your Tab key, and the replacement text pops in.

Let me know if you need detals on how to set this up!

Glenn
 
Glenn, I write the emails in outlook and I am running VB from outlook (not using Word). If what you said will work in Outlook then I will try that, but I would rather not use Word.

Skye
 
I'm sure that there is a way to do this with Outlook VB, but my suggestion doesn't use VB at all. Outlook and Word share a dictionary, so if you add a new entry into Word's AutoText field, it is automatically available in Outlook. You can test this by creating an AutoText entry in Word, where just your first name is the "key word", and your first and last names are the replacement words. Then pop over to Outlook, create a new e-mail, type your first name in the body of the message (stop at the last letter - don't add a space or hit enter) and see what happens!

Hope this helps!

Glenn
 
Thanks for the help, I didnt know that I could use word as my email editor. I got it to work the way you suggested.

Thanks again,

Skye
 
There's really no reason to create a macro to add a Signature to selected e-mails. Outlook already has a rather simple method of doing this.

Even if you create an Outlook Signature, it does not have to be added to each e-mail message. To turn off the "automatic signature" option, go to Tools, Options, Mail Format. Under Signature, set Use This Signature By Default to None.

Then add a Signature including the information you want, and when you want to add it to an e-mail, click Insert, Signature, and select the Signature you want to add.

Tom Putman
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top