Running a .exe from VBA

A

Aaron1978

Hi All,

Does anyone know if it is possible (and if so how?) to run a .exe fil
from VBA in excel? Specifically, I would like to add a command butto
to my worksheet and when it is pressed it runs a .exe file which is i
the same folder as the excel workbook. The .exe file will not be use
in any way by excel; it will only display information for the user.

Any help would be appreciated.

Best Regards,

Aaro
 
B

Bob Phillips

Shell it

Shell "D:\Program Files\Myob Premier Trial\Myobp.exe", 1


--
HTH

Bob Phillips

(replace somewhere in email address with googlemail if mailing direct)
 

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