M
mark mcfarlane
I would like to start up MS Word, load a particular document, run a macro in the document, then close word and the document.
All of this needs to be performed from a batch file (or WSH file) that can be executed from the task scheduler
I have the macro working (thanks to Peter Hewett) and I have a Windows Hosting Shell .wsh script that does all kinds of other fun things, I just can't figure out how to do the 5 steps outlines above from the .wsh file
Any ideas how I get Word to run a macro on a document from within a shell script
Thanks
Mark
All of this needs to be performed from a batch file (or WSH file) that can be executed from the task scheduler
I have the macro working (thanks to Peter Hewett) and I have a Windows Hosting Shell .wsh script that does all kinds of other fun things, I just can't figure out how to do the 5 steps outlines above from the .wsh file
Any ideas how I get Word to run a macro on a document from within a shell script
Thanks
Mark