Opening a Word document from Access

V

VBAgroupie

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.
 
A

Albert D.Kallal

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....
 
Top