View Single Post
  #7   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 email merge w/attachments:compile error-user defined type not

That would indicate that the reference to the Outlook Object Library has not
been (properly) set or retained.

--
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, originally posted via msnews.microsoft.com
"patricia" wrote in message
...
oOutlookApp As Outlook.Application and when I hit enter, the Sub line is
highlighted.

"Doug Robbins - Word MVP" wrote:

What line of code is highlighted when you receive that error message?

--
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, originally posted via msnews.microsoft.com
"patricia" wrote in message
...
I've tried to follow all the steps and feel like I'm almost there, but
when I
run the macro I get the above error message. I've checked to see that
VBToolsReferences has Microsoft Word 12.0 Object Library, Microsoft
Office
12.9 Office Library, Microsoft Outlook 12.0 Library and Microsoft Excel
12.0
Object Library checked. Not sure what to do now. Help!