Word 2000
I have a project that I need to finish in the next 3 days (because I'm
moving on to a new job next Monday). I think that I can finish off all
the major features on my own, except for one. I need to make the code
attach a copy of the current document to an email message. I've never
worked with that kind of operation, so I have no idea how to do it, and
I'm concerned that given the short time frame and the other things that I
need to finish up before moving on to my next job, that I won't really
have time to research the issue.
One thing that will hopefully make the task easier is that there is an
email template that will be used when sending the email. The template
contains the subject line and body text, so all that needs to be done is
to pass the email address to the template.
Can someone give me the code for passing an email address to an
email template, opening that template, and attaching the current
document?
Thanks for any help that you can provide.
--Tom
Doug Robbins - 19 Jan 2005 10:33 GMT
See the article "How to send an email from Word using VBA" at:
http://word.mvps.org/FAQs/InterDev/SendMail.htm
and for dealing with attachments, the code in the article "Mail Merge to
E-mail with Attachments" at
http://word.mvps.org/FAQs/MailMerge/MergeWithAttachments.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
> Word 2000
>
[quoted text clipped - 19 lines]
>
> --Tom