Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Mailmerge and Fax / May 2004

Tip: Looking for answers? Try searching our database.

Setting reference in VB Editor

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Lana - 11 May 2004 14:44 GMT
I access VB Editor in MS Word and check the box next to
Microsoft Office Outlook 9.0 Object Library, but every
time a run the 'emailmergewithattachments()' macro, I get
a Compile Error - User-defined type not defined.  How can
I get past this (get it to acknowledge that it has been
done)?  The instructions for this macro were contributed
by Doug Robbins.
Peter Jamieson - 11 May 2004 15:57 GMT
One possibility:

Did you put the macro in the Normal template, the document you are trying to
merge, or the template it is attached to, if that is not the Normal
template?

Wherever you put it, that document or template needs to be selected (the
easiest thing to do is open the module containing the
'emailmergewithattachments()' macro) before you use the Tools|References
dialog to check the Outlook object library.

Signature

Peter Jamieson

> I access VB Editor in MS Word and check the box next to
> Microsoft Office Outlook 9.0 Object Library, but every
[quoted text clipped - 3 lines]
> done)?  The instructions for this macro were contributed
> by Doug Robbins.
Lana - 11 May 2004 16:43 GMT
Thank you, Peter, that worked just fine.

Lana
>-----Original Message-----
>One possibility:
[quoted text clipped - 17 lines]
>
>.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.