Open a Word document

D

Dan J

I am trying to have a macro open a Word document. Is it possible to open a
Word document from a macro? If not, is there some alternative that can be
utilized to do this (forms, switchboards, etc.)? Thanks, in advance, for
the help.
 
S

Steve Schapel

Dan,

You can uase a RunApp macro action for this. The syntax for the Command
Line argument is like this...
"C:\Program Files\...\Winword.exe" "C:\YourFolder\YourFile.doc"

Another option is to have your file path/name in a textbox on a form,
based on a Hyperlink data type field, and enter the data like this...
File:\\C:\YourFolder\YourFile.doc
.... so then click on this to open the file in Word.
 
D

Dan Johnson

Steve,

After I posted this, I read the post a couple before that one and found the
answer. Thanks for the help.
 

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

Top