Notifications
Clear all
VBA & Macros
2
Posts
2
Users
0
Reactions
281
Views
Topic starter
Am trying to execute a bat file from within Excel VBA.
Using a variable to select a file with full path to process with the batch file.
Q. I need to run a specific .bat file that would be located in the same folder/path as the selected file. How would I run the bat file with the selected file.
Have viewed: https://www.myonlinetraininghub.com/vba-shell
With no success. Any suggestions greatly appreciated.
Posted : 29/03/2019 1:58 pm
Hi,
What have you tried that doesn't work? Please supply the workbook and code.
What version of Windows are you using?
Regards
Phil
Posted : 29/03/2019 6:36 pm