Share via


Application Events

Include Protected Members
Include Inherited Members

The Application type exposes the following members.

Events

  Name Description
Public event DocumentBeforeClose Occurs immediately before any open document closes. (Inherited from ApplicationEvents4_Event.)
Public event DocumentBeforePrint Occurs before any open document is printed. (Inherited from ApplicationEvents4_Event.)
Public event DocumentBeforeSave Occurs before any open document is saved. (Inherited from ApplicationEvents4_Event.)
Public event DocumentChange Occurs when a new document is created, when an existing document is opened, or when another document is made the active document. (Inherited from ApplicationEvents4_Event.)
Public event DocumentOpen Occurs when a document is opened. (Inherited from ApplicationEvents4_Event.)
Public event DocumentSync Occurs when the local copy of a document that is part of a Document Workspace is synchronized with the copy on the server. (Inherited from ApplicationEvents4_Event.)
Public event EPostageInsert Occurs when a user inserts electronic postage into a document. (Inherited from ApplicationEvents4_Event.)
Public event EPostageInsertEx Occurs when a user inserts electronic postage into a document. (Inherited from ApplicationEvents4_Event.)
Public event EPostagePropertyDialog Occurs when a user clicks the E-postage Properties (Labels and Envelopes dialog box) button or Print Electronic Postage toolbar button. (Inherited from ApplicationEvents4_Event.)
Public event MailMergeAfterMerge Occurs after all records in a mail merge have merged successfully. (Inherited from ApplicationEvents4_Event.)
Public event MailMergeAfterRecordMerge Occurs after each record in the data source successfully merges in a mail merge. (Inherited from ApplicationEvents4_Event.)
Public event MailMergeBeforeMerge Occurs when a merge is executed before any records merge. (Inherited from ApplicationEvents4_Event.)
Public event MailMergeBeforeRecordMerge Occurs as a merge is executed for the individual records in a merge. (Inherited from ApplicationEvents4_Event.)
Public event MailMergeDataSourceLoad Occurs when the data source is loaded for a mail merge. (Inherited from ApplicationEvents4_Event.)
Public event MailMergeDataSourceValidate Occurs when a user performs address verification by clicking Validate in the Mail Merge Recipients dialog box. (Inherited from ApplicationEvents4_Event.)
Public event MailMergeDataSourceValidate2 Occurs when a user validates mail merge recipients by clicking the Validate addresses link button in the Mail Merge Recipients dialog box. (Inherited from ApplicationEvents4_Event.)
Public event MailMergeWizardSendToCustom Occurs when the custom button is clicked on step six of the Mail Merge Wizard. (Inherited from ApplicationEvents4_Event.)
Public event MailMergeWizardStateChange Occurs when a user changes from a specified step to a specified step in the Mail Merge Wizard. (Inherited from ApplicationEvents4_Event.)
Public event NewDocument Occurs when a new document is created. (Inherited from ApplicationEvents4_Event.)
Public event ProtectedViewWindowActivate Occurs when any protected view window is activated. (Inherited from ApplicationEvents4_Event.)
Public event ProtectedViewWindowBeforeClose Occurs immediately before a protected view window or a document in a protected view window closes. (Inherited from ApplicationEvents4_Event.)
Public event ProtectedViewWindowBeforeEdit Occurs immediately before editing is enabled on the document in the specified protected view window. (Inherited from ApplicationEvents4_Event.)
Public event ProtectedViewWindowDeactivate Occurs when a protected view window is deactivated. (Inherited from ApplicationEvents4_Event.)
Public event ProtectedViewWindowOpen Occurs when a protected view window is opened. (Inherited from ApplicationEvents4_Event.)
Public event ProtectedViewWindowSize Occurs when a protected view window is moved or resized. (Inherited from ApplicationEvents4_Event.)
Public event Quit Occurs when the user quits Word. (Inherited from ApplicationEvents4_Event.)
Public event Startup Reserved for internal use. (Inherited from ApplicationEvents4_Event.)
Public event WindowActivate Occurs when any document window is activated. (Inherited from ApplicationEvents4_Event.)
Public event WindowBeforeDoubleClick Occurs when the editing area of a document window is double-clicked, before the default double-click action. (Inherited from ApplicationEvents4_Event.)
Public event WindowBeforeRightClick Occurs when the editing area of a document window is right-clicked, before the default right-click action. (Inherited from ApplicationEvents4_Event.)
Public event WindowDeactivate Occurs when any document window is deactivated. (Inherited from ApplicationEvents4_Event.)
Public event WindowSelectionChange Occurs when the selection changes in the active document window. (Inherited from ApplicationEvents4_Event.)
Public event WindowSize Occurs when the application window is resized or moved. (Inherited from ApplicationEvents4_Event.)
Public event XMLSelectionChange Occurs when the parent XML node of the current selection changes. (Inherited from ApplicationEvents4_Event.)
Public event XMLValidationError Occurs when there is a validation error in the document. (Inherited from ApplicationEvents4_Event.)

Top

See Also

Reference

Application Interface

Microsoft.Office.Interop.Word Namespace