Mail merge form problem

Haynesey

Registered User.
Local time
Today, 21:22
Joined
Dec 19, 2001
Messages
190
Hi,

When I try and run this code, VB will not let me as a message appears saying, "User-defined type not defined". Any ideas why not?

Dim objWord As Word.Document

Thanks in advance.
Lee
 
Did you check the references to make sure you have referenced the Word Object Library?
 
Thanks for your help. How do you check the references?

Many thanks in advance
Lee
 
Open the module, and select tools, then references. Scroll down to the Word Object library and place a check box beside it.
 

Users who are viewing this thread

Back
Top Bottom