Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problems with Word

Status
Not open for further replies.

daybase

Technical User
Dec 13, 2002
115
GB
For reasons I cannot fathom my call to Word has ceased to function the following code results in:

compile error: user-defined type not defined.

Private Sub Command18_Click()
Dim objWord As Word.Application

I am presumably missing something very obvious so
any assistance welcomed
 
Have you checked your references to Word are still ticked?
 
I feel very foolish in asking this but where would I check?
 
Tools>>>References and you should ahve something like "MIcrosoft Word 10.0 Object library" in there.
 
aha - of course. Many Thanks job done
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top