I've followed Doug's directions before to use Word email merge with
attachments. This time, however, when I try to run the macro prior to the
merge, I get an error in the following line: Dim oOutlookApp As
Outlook.Application.
I get a pop-up: Compile error: User-defined type not defined.
Anybody able to help me get beyond this? I appreciate it!!!
I checked my settings in VB Tools References, all ok.
Dianne
Doug Robbins - Word MVP - 08 Nov 2005 05:32 GMT
You have overlooked the step in the Preparations section of the article
covering the setting a reference to the Microsoft Outlook Object Library via
Tools>References in the Visual Basic Editor.

Signature
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
> I've followed Doug's directions before to use Word email merge with
> attachments. This time, however, when I try to run the macro prior to the
[quoted text clipped - 7 lines]
> I checked my settings in VB Tools References, all ok.
> Dianne