RunApp function in Macro

T

tbd

I am trying to use the above function in a Macro.
Basically I want the Macro to open up another Access
Database, but my Command Line code is not working. At the
minute, I am doing the following in the command line:

Access.exe C:\Test\OptionsTakeup.mdb

I've came to the conclusion this is obviously wrong, so
what should I be doing?

Thanks in advance!

TBD
 
K

Ken Snell [MVP]

You need to provide the full path to the msaccess.exe program in the first
part of the command line. Enclose the path in "" characters if there are
blanks in the any part of the path..
 
T

tbd

Thanks Ken, I knew I was doing something stupid!

-----Original Message-----
You need to provide the full path to the msaccess.exe program in the first
part of the command line. Enclose the path in "" characters if there are
blanks in the any part of the path..

--

Ken Snell
<MS ACCESS MVP>




.
 
J

John B

I too am having a problem with Runapp from a macro. I
want to open a mailmerged document but it doesn't work.
It won't run an application from a command button either.
I'm using access 2000 and windows xp there may be a bug?
 

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

Similar Threads

RunApp question 2
RunApp Access macro command 1
RunApp 1
RunApp Macro 2
Variable RunApp 4
Macro to Select text from a point given to a specific word 2
RunApp Code Question 1
problem with RunApp 0

Top