adding an email button

D

dawn

I'd like to add a button to a work document that does two things:
1) opens the persons preferred email program
2) automatically puts a subject into the subject line

Can this be done? Everything I seem to find relates to sending documents as
email but not what I'm looking to do. Any information about how to do this
would be greatly appreciated.
 
D

Doug Robbins

See the second method in the article "How to send an email from Word using
VBA" at:

http://word.mvps.org/FAQs/InterDev/SendMail.htm

You will of course have to make some modifications to the code, but it is
the Outlook Object Model that you will have to use.

No idea how you would do it with whatever else "preferred email program"
might be used. Unless it can be programmed using VB, it ain't gonna be
easy.
--
Please respond to the Newsgroup for the benefit of others who may be
interested. Questions sent directly to me will only be answered on a paid
consulting basis.

Hope this helps,
Doug Robbins - Word MVP
 
Top