ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Execute a batch file from inside Excel (https://www.excelbanter.com/excel-programming/282327-execute-batch-file-inside-excel.html)

Eric[_14_]

Execute a batch file from inside Excel
 
Is it possible to have a command button that would call
and run a .bat file? If so, does anyone know how?

Don Guillett[_4_]

Execute a batch file from inside Excel
 
look in vba help index for shell

--
Don Guillett
SalesAid Software

"Eric" wrote in message
...
Is it possible to have a command button that would call
and run a .bat file? If so, does anyone know how?




Ron de Bruin

Execute a batch file from inside Excel
 
You can use shell Eric

Shell "C:\batfilename.bat",1


--
Regards Ron de Bruin
(Win XP Pro SP-1 XL2002 SP-2)
www.rondebruin.nl



"Eric" wrote in message ...
Is it possible to have a command button that would call
and run a .bat file? If so, does anyone know how?





All times are GMT +1. The time now is 01:29 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com