I can use a .bat file to run a word macro. I simply have the following line of code
"c:\programfiles\microsoftoffice\office\winword.exe"/m(macro name)
Note I do not include the brackets around the name.
I have tried everything and cannot get the same to work in excel.
In need the code to
1. Open excel
2. Open a spreadsheet
3. Run a macro which is saved in personal workbooks on the open spreadsheet.
4. Close excel.
Anyones help would be greatly appreciated!!!!!! I am stumped.
"c:\programfiles\microsoftoffice\office\winword.exe"/m(macro name)
Note I do not include the brackets around the name.
I have tried everything and cannot get the same to work in excel.
In need the code to
1. Open excel
2. Open a spreadsheet
3. Run a macro which is saved in personal workbooks on the open spreadsheet.
4. Close excel.
Anyones help would be greatly appreciated!!!!!! I am stumped.