See the article "Mail Merge to E-mail with Attachments" at
http://word.mvps.org/FAQs/MailMerge/MergeWithAttachments.htm

Signature
Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.
Hope this helps
Doug Robbins - Word MVP
> Is it possible to attach a file, with a massmailing in Word 2003 ?
>
> Thanks.
omathum2 - 22 Feb 2005 16:43 GMT
Hi Doug,
The macro won't compile, might want to take a look. I followed all the
other steps no problem but couldn't compile the macro.
The VB editor kept telling me
that the
'user defined type not defined' and highlighting the line
Dim oOutlookApp As Outlook.Application
Am I doing something incorrectly by running the macro on the email
merged doc on screen?
Regards,
Mossy
--
omathum2
Doug Robbins - 23 Feb 2005 10:24 GMT
The problem is that you have not set the reference to the Outlook Object
Library as it is indicated must be done in the "Preparations" part of the
article.
The OP has confirmed by email that this was indeed the problem.

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 Doug,
[quoted text clipped - 23 lines]
> ------------------------------------------------------------------------
> View this thread: http://www.mcse.ms/message523287.html