RunApp

C

craigiharper

I am trying to create a macro that will open a report from
another application. I keep getting an error message about
the path i am using, could this be because i am trying to
access a central server and not running from my hard disk
or possibly because it is not a microsoft product i am
trying to open.

Thanks in advance
 
J

Jim/Chris

Access 2000
If you are trying to a word document in a macro the action
is "RunApp" and the command line would look something like
this.

"Path to word executable" "Document name"

ex. watch out for word wrap
"C:\Program Files\Microsoft Office\Office\WINWORD.EXE"
"c:/my documents/test.doc"

Jim
 

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