Hi Pete,
See if
Re: Need some assistance with Word automation Message #
838569 helps.
>Hello all, I've just written an OLEPUBLIC class which creates an instance of MS Word populates some fields, and prints a document. All works ok, the problem I have, is, my class ( Destroy Event ) terminates the Word session whilst Word is still printing, which invokes a dialog box informing me of this. Is there a way to check if Word is still active before closing it ?, it's not hugely important as this app is for my use only ( at the moment )
--sb--