Macro for sending Word doc via e-mail

M

mgnezda

If I want to send a word document via e-mail (as an attachment) I know I can
use the following code:

ActiveDocument.SendMail

This opens a new Outlook box and attaches the active word document -- this
is good, but..

How can I specify the name of who this is to be sent to. I don't want to
use the routing slip approach since that seems to include verbiage in the
actual text section of the mail indicating that the document needs to be
routed further -- I have only one recipient that the file is to go to. Is
there also a way of specifying the subject field verbiage as well as being
able to specify any text associated with the body of the mail message??

I tried using the same code that works well in doing this for Excel but this
does not work for Word (using the recipient's name etc..)
 
M

mgnezda

Doug,
Thanks for the information. I was hoping that I could avoid using the
routing slip method because of the "Disadvantages" that are listed in the
document you referenced. Thanks again for your help.
Matt
 
D

Doug Robbins

Look at the second method in the article.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top