In Word, if you create a macro with the name of one of Word's commands, that
macro will run in place of the built-in command. In this case, the name of
the macro needs to be FileSend().
See the second method in the article the article "How to send an email from
Word using VBA" at:
http://word.mvps.org/FAQs/InterDev/SendMail.htm

Signature
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
> Hi All
>
[quoted text clipped - 28 lines]
>
> Any ideas? Thanks in advance
anonymous@discussions.microsoft.com - 29 Jan 2005 14:06 GMT
Hi
I created a macro called sub filesend() and followed the
links instructions. Running this macro creates a new
message and all the works but I couldnt get it to autorun
after pressing the FileSend comman is run. I would like it
to intercept the filesend event so that the
activedocument.close can run after the filesend has been
passed.
Thanks for your help.
>-----Original Message-----
>In Word, if you create a macro with the name of one of Word's commands, that
[quoted text clipped - 40 lines]
>
>.
Doug Robbins - 29 Jan 2005 22:34 GMT
Sorry, the macro should be named FileSendMail() That one runs when the
File>Send To>Mail Recipients as Attachment command is selected.

Signature
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
> Hi
>
[quoted text clipped - 65 lines]
>>
>>.
anonymous@discussions.microsoft.com - 30 Jan 2005 00:23 GMT
Thanks Doug :)
>-----Original Message-----
>Sorry, the macro should be named FileSendMail() That one runs when the
[quoted text clipped - 71 lines]
>
>.