Home |
Search |
Today's Posts |
#1
|
|||
|
|||
compile error w/email merge+attachments
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 |
#2
|
|||
|
|||
compile error w/email merge+attachments
You have overlooked the step in the Preparations section of the article
covering the setting a reference to the Microsoft Outlook Object Library via ToolsReferences in the Visual Basic Editor. -- 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 "DianneMD" wrote in message ... 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 |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Mail Merge to E-mail with Attachments | Mailmerge | |||
Mail Merge with Attachments | Mailmerge | |||
mail merge with attachments | Mailmerge | |||
E-Mail merge with attachments | Mailmerge | |||
How do you add attachments in Word for mail merge emails? | Tables |