Results 1 to 12 of 12

Thread: MS Word Events[Resolved]

Threaded View

  1. #1

    Thread Starter
    Member
    Join Date
    Jul 2005
    Posts
    40

    Resolved MS Word Events[Resolved]

    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
    Last edited by adhavanv; Aug 23rd, 2005 at 01:58 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width