dim obj as word.document

cliff7376

Registered User.
Local time
Today, 19:22
Joined
Oct 10, 2001
Messages
107
I am trying to print a word document out of access. the problem i have with the reply's to these questions is that access does not recognize word.document as an object. I am obviously missing something important here. can someone clue me in please?
 
Get to a module window. Open any module. Even a new one that is blank will do.

The menu bar will change slightly when in the module (code) window. Select

Tools >> References

This pulls up a dialog box that lists a bunch of library names with check boxes on the left. Find the check box for MS Office and one for MS Word. Check them. Close the dialog box.

Now try again to compile your code.
 

Users who are viewing this thread

Back
Top Bottom