I have an Excel VBA script that is in .xlsm
format. Once the file is opened, a window pops up asking you to "Browse" for file and provide the address to the file in a text box.
I want to run this .xlsm
file from cmd
and provide the path argument to it from cmd as well.
How can I do this?
This opens the file:
EXCEL.EXE /e "c:\converter.xlsm"
But I cannot figure out how to pass a path argument and hit the submit button all from cmd.