Group:  Microsoft Word ยป microsoft.public.word.mail
Thread: Mail Recipient (as attachment)

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

Mail Recipient (as attachment)
ArcticWolf 14.09.2006 11:46:01
I have a Word document that is being competed by people with little or no
computer knowledge. When they have completed the doc they save it to HD and
then use Outlook 2002 to email the attachment - usually by opening Outlook
and then attaching the doc.
I know there is a Mail recipient button which they can press and it will
auto attach the file to a new email.

My question is, can I create/insert a button into the doc itself which when
pressed auto attachs the file to a new email (instead of them having to point
to file-send to-mail recipient) and if it is possible, how can I do this
please?

Many thanks in advance.

AW

RE: Mail Recipient (as attachment)
Edwin 14.09.2006 13:01:02
Hi ArcticWolf,

When you put the button on yhe form from the 'Control toolbox' toolbar,
doubleclick on the button (In designmode) and put in the Visual basixc editor
between Sub and End Sub the following command:

ActiveDocument.SendMail

Exit designmode and save the doc and test it.
This could be you answer.

Edwin.



"ArcticWolf" wrote:

[Quoted Text]
> I have a Word document that is being competed by people with little or no
> computer knowledge. When they have completed the doc they save it to HD and
> then use Outlook 2002 to email the attachment - usually by opening Outlook
> and then attaching the doc.
> I know there is a Mail recipient button which they can press and it will
> auto attach the file to a new email.
>
> My question is, can I create/insert a button into the doc itself which when
> pressed auto attachs the file to a new email (instead of them having to point
> to file-send to-mail recipient) and if it is possible, how can I do this
> please?
>
> Many thanks in advance.
>
> AW
>
RE: Mail Recipient (as attachment)
ArcticWolf 14.09.2006 14:41:02
Edwin,

Thanks for the answer, I tried it but it didn't work.

AW

"Edwin" wrote:

[Quoted Text]
> Hi ArcticWolf,
>
> When you put the button on yhe form from the 'Control toolbox' toolbar,
> doubleclick on the button (In designmode) and put in the Visual basixc editor
> between Sub and End Sub the following command:
>
> ActiveDocument.SendMail
>
> Exit designmode and save the doc and test it.
> This could be you answer.
>
> Edwin.
>
>
>
> "ArcticWolf" wrote:
>
> > I have a Word document that is being competed by people with little or no
> > computer knowledge. When they have completed the doc they save it to HD and
> > then use Outlook 2002 to email the attachment - usually by opening Outlook
> > and then attaching the doc.
> > I know there is a Mail recipient button which they can press and it will
> > auto attach the file to a new email.
> >
> > My question is, can I create/insert a button into the doc itself which when
> > pressed auto attachs the file to a new email (instead of them having to point
> > to file-send to-mail recipient) and if it is possible, how can I do this
> > please?
> >
> > Many thanks in advance.
> >
> > AW
> >
Re: Mail Recipient (as attachment)
"Doug Robbins - Word MVP" <dkr[ at ]REMOVECAPSmvps.org> 15.09.2006 18:30:06
See the article "How to send an email from Word using VBA" at:

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

I wouldn't however be putting a button in the document, rather, I would have
a button on the toolbar that ran a macro.


--
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

"ArcticWolf" <ArcticWolf[ at ]discussions.microsoft.com> wrote in message
news:82110AE2-DE02-4F27-B153-AA4E34C4BDCC[ at ]microsoft.com...
[Quoted Text]
>I have a Word document that is being competed by people with little or no
> computer knowledge. When they have completed the doc they save it to HD
> and
> then use Outlook 2002 to email the attachment - usually by opening Outlook
> and then attaching the doc.
> I know there is a Mail recipient button which they can press and it will
> auto attach the file to a new email.
>
> My question is, can I create/insert a button into the doc itself which
> when
> pressed auto attachs the file to a new email (instead of them having to
> point
> to file-send to-mail recipient) and if it is possible, how can I do this
> please?
>
> Many thanks in advance.
>
> AW
>


Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net