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 / November 2005

Tip: Looking for answers? Try searching our database.

compile error w/email merge+attachments

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
DianneMD - 07 Nov 2005 22:05 GMT
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
 
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.