Access says that user type not defined

Joined
Sep 24, 2005
Messages
2
Reaction score
0
Hi I am fairly new to VBA and am trying to edit a word template in Access. I have the code ready but when I try to dim the object:
Dim objWord as Word.Application
Access returns an error user type not defined.

I know that in excel I can add references for such things but do not know the library name within access as they differ slightly.

Sorry if question a bit newbish!
 
add references

yopu can add references by vieing the code editor, selectig tools, then references

ive never played with word thourhg acess, but two references stick out...

microsoft office 9.0 object library
microsoft word 9.0 object library

check the boxes next to them, it sdhould eliminate errors
 
Back
Top