Hi,
I have a VB application that creates a Word(set win =new word.application) object and add document to it. Finally after add all the documents to the master document it saves the master file and makes the document visible to the user.After reviewing the created document when the user closes the document i want to do some operations.
for this is delcared varialbe win withEvents
Dim WithEvents win as Word.Applicaition
And in the procedure private sub win_quit() i coded the operations that i want to perform.
But when the user closes word the control never comes to win_quit() and the operation in the procedure is never executed. Please let me know what should i do.
Thanks
Adhi
