OPen MS Word Doc from XP

tonyb

Registered User.
Local time
Today, 21:07
Joined
Sep 10, 2001
Messages
10
I want to open a specific MS Word document using a button within an Access XP form. I used to be able to do it in Access 97 but the code didn't work when I converted the database from 97 to XP.

Could someone point me in the right direction please.
In 97 I used stuff like Word.Application, AppActivate and Add

Thanks
 
Do you have a reference set to a Microsoft Word Object library?

Go to any code module. Then Tools>>References menu and see if there's a check next to MS Word. If there isn't, check one.

Your code should work if the reference is set.
 

Users who are viewing this thread

Back
Top Bottom