Launch a program from Excel

N

Nigel

I am trying to call a batch file from within excel but cannot get the syntax
right

this is what I am using

Application.Run "c:\maxl\batch\inflation.bat"

syntax is wrong somewhere as it says it cannot find the macro
 
M

Michael Arch

Application.Run is for a macro. You probably want to use the Shell command:
Shell "c:\maxl\batch\inflation.bat"
 

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