Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

General discussion

option sendmail attach in microsoft word

Nov 12, 2004 5:28AM PST

Can anyone help please.

I have a command button on a word template which
activates the option sendmail attach in word, everything works just fine outlook opens and the document is attached. I have been trying for days to also include a recipient in the "To" box on outlook but to no avail. If I make the command button a hyperlink the recipient shows but there is no attachment. Does anyone know if there is a way of having both working i.e attachment and recipient.

Any help greatly appreciated.

Teresa

Discussion is locked

- Collapse -
Re: option sendmail attach in microsoft word
Nov 12, 2004 6:16AM PST

In Visual Basic, I would use either a DDE conversation with Outlook or try to use the SENDKEYS function.

Your skill level may dictate which method you use.

Bob

- Collapse -
Re: option sendmail attach in microsoft word
Nov 13, 2004 2:41AM PST

Thanks for replying Bob,

I am not familiar with either suggestion so I will see what information I can gather to use your ideas.

Many thanks

Teresa

- Collapse -
Re: option sendmail attach in microsoft word
Nov 13, 2004 3:46AM PST

For other ways of programming, see the discussion that is (at the moment) immediately below, i.e. http://reviews.cnet.com/5208-6129-0.html?forumID=29&threadID=45272&messageID=535201.

What you try (File>Send to... or mailto:hyperlink) is programmed into Word and Windows respectively. If you want something else, you'll have to program yourself. The problem isn't sending the document as an attachment, the problem is letting the macro know to whom to send it. About all you can do highlight/select the adressee and call a macro. But that's not really better than select the adressee, ctrl-c, File>Send to...>Emailaddress and ctrl-v in the to-field in my opinion.

I don't think Word is 'open' enough to add a 'send document to' to the right-click hyperlink menu in MS Word. But it might be a nice feature to have in a coming version of Word. Go and ask Microsoft for it.

Kees

- Collapse -
Re: option sendmail attach in microsoft word
Nov 13, 2004 6:21AM PST

Teresa,
Could you please post your code here, so that we could try to correct it. Just trying to help.

Swisse