K Krishna.ss New Member May 16, 2018 #1 I have a xyz.bat file in a folder (C:\vsp\excelqn\xyz.bat) & I want to execute the batch file using a button in Excel. So what should be the code in excel to run that?
I have a xyz.bat file in a folder (C:\vsp\excelqn\xyz.bat) & I want to execute the batch file using a button in Excel. So what should be the code in excel to run that?
AlanSidman Well-Known Member May 16, 2018 #2 Look here https://stackoverflow.com/questions/13530371/execute-bat-file-from-excel-vba-macro
K Krishna.ss New Member May 17, 2018 #3 This code in the link https://stackoverflow.com/questions/13530371/execute-bat-file-from-excel-vba-macro is not working and the excel file with the button itself it is getting closed. Please help.
This code in the link https://stackoverflow.com/questions/13530371/execute-bat-file-from-excel-vba-macro is not working and the excel file with the button itself it is getting closed. Please help.