View Single Post
  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Doug Robbins - Word MVP Doug Robbins - Word MVP is offline
external usenet poster
 
Posts: 8,832
Default Mail Merge Attachment Compile Error

What version of Word are your using? In Office 2007, the name of the
library is Microsoft Outlook 12.0 Object Library. Are you sure that it is
the Object Library to which you have set the reference and not some other
Outlook entry that may be in the list.

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

"Ed" wrote in message
...
I've spent two days reading Doug's very helpful posts but can't get past
this
error; "Compile error: User-defined type not defined" with the "Dim
oOutlookApp As Outlook.Application" line being highlighted in the macro.
I have Microsoft Office Oulook checked in the References Table for both
Word
and Outlook. It is not the first in line but I can't uncheck the others in
front of it and I can't move it up in the priority list. I also checked
the
registry settings discussed in Article ID :918792

Help. Thanks.