Reply
 
Thread Tools Display Modes
  #1   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

Glad you got it working.

--
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 got it - yeah! And you're right, Doug, just follow the steps. I ended
up
starting over and doing it one by one. I believe my problem was that I
was
not merging into a new document.....Thanks so much for your help.

"patricia" wrote:

I do that by going into the Word document, selecting Developer, then
Visual
BasicToolsReferences, right? Then check the box next to Microsoft
Outlook
Object Library 12.0. It was checked, but now it's not, so you're right,
it's
not being retained. Why do you think that would be?

(By the way, I noticed in other postings that Tammy had the same error
message; she was able to click the box and got it working. Not sure why
my
fix hasn't been so easy, but I'm trying).

Thank you so much for your help.

Patricia

"Doug Robbins - Word MVP" wrote:

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!





Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
'Unknown file type' error given for Word attachments in email shazzzzee Microsoft Word Help 5 February 20th 09 01:09 AM
Mail merge, user defined fields Max Scott Mailmerge 2 December 11th 06 03:18 PM
user defined field in Outlook is not seen in Word mail merge Tiggieo Mailmerge 2 December 27th 05 02:10 PM
compile error w/email merge+attachments DianneMD Mailmerge 1 November 8th 05 05:32 AM
How do I include a user-defined field in a mail merge? Scott Mailmerge 1 December 16th 04 09:52 AM


All times are GMT +1. The time now is 03:08 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"