Opening a Word document from Access

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have read the historical comments on this topic and have tried the
solutions offered. I used the code: application.followhyperlink "path to
file" to open a word document from a button contain on an Access form. It
opens Word put it doesn't open the document within Word. What am I doing
incorrectly? I've check the path and have changed it to be just in C:\ to
make sure it isn't the path.

Also, how would this be different if I was using the Word Viewer? Thanks so
much for your help. It is greatly appreciated.
 
It should not be any different.

You command that works would look like:

application.FollowHyperlink "c:\mydoc.doc"

The above command should work for any application, and whatever program on
your machine that is associated with ".doc" will launch the document....
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top