Word Macro not Launching Intermittenly

M

mike

Hello All,
I have a batch file that launches Word 2003 to open a file and execute
a macro on a file to save that file as HTML. This works fine,
however, sometimes the macro fails to launch, leaving the word
document open until someone manually closes it.
Usually 10 to 15 files will process successfully, and then one will
fail. When the failed file is resubmitted, it will succeed, so it is
not a problem with the document.
Word has been reinstalled, and the macro replaced, but to no avail.
The server is a Win2003 box.
The batch file command line is as follows.
'winword.exe" %1 /n /q /mSaveAsHTML'
Where SaveAsHTML is the name of the macro.

Any ideas? Thanks in advance for your help
Mike
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top