E
Ed
(Running Office 2000 on Win 2000) I'll test-run a macro that opens a
docment, but error out the macro before it's finished and the document
opens. After correcting the error, I'll restart the macro, but now get a
warning that the doc is locked and can only be opened Read-Only. A check of
the Task Manager shows that, even after shutting down Word, I've still got a
WINWORD.EXE process running. (I'm assuming it's calling for the
to-be-opened doc? which would be why Word says its locked?) Is there
something I can put in my code that will prevent this by totally unloading
Word if an error occurs?
Ed
docment, but error out the macro before it's finished and the document
opens. After correcting the error, I'll restart the macro, but now get a
warning that the doc is locked and can only be opened Read-Only. A check of
the Task Manager shows that, even after shutting down Word, I've still got a
WINWORD.EXE process running. (I'm assuming it's calling for the
to-be-opened doc? which would be why Word says its locked?) Is there
something I can put in my code that will prevent this by totally unloading
Word if an error occurs?
Ed