Open a Word document

  • Thread starter Thread starter Dan J
  • Start date Start date
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.
 
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.
 
Steve,

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