Application Events (Word)
Contribute to this content Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation. |
This object has the following events:
Events
Name |
Description |
---|---|
Occurs immediately before any open document closes. |
|
Occurs before any open document is printed. |
|
Occurs before any open document is saved. |
|
Occurs when a new document is created, when an existing document is opened, or when another document is made the active document. |
|
Occurs when a document is opened. |
|
This object or member has been deprecated, but it remains part of the object model for backward compatibility. You should not use it in new applications. |
|
Occurs when a user inserts electronic postage into a document. |
|
Occurs when a user inserts electronic postage into a document. |
|
Occurs when a user clicks the E-postage Properties (Labels and Envelopes dialog box) button or Print Electronic Postage button. |
|
Occurs after all records in a mail merge have merged successfully. |
|
Occurs after each record in the data source successfully merges in a mail merge. |
|
Occurs when a merge is executed before any records merge. |
|
Occurs as a merge is executed for the individual records in a merge. |
|
Occurs when the data source is loaded for a mail merge. |
|
Occurs when a user validates mail merge recipients by clicking Validate in the Mail Merge Recipients dialog box. |
|
Occurs when a user validates mail merge recipients by clicking the Validate addresses link button in the Mail Merge Recipients dialog box. |
|
Occurs when the custom button is clicked during step six of the Mail Merge Wizard. |
|
Occurs when a user changes from a specified step to a specified step in the Mail Merge Wizard. |
|
Occurs when a new document is created. |
|
Occurs when any protected view window is activated. |
|
Occurs immediately before a protected view window or a document in a protected view window closes. |
|
Occurs immediately before editing is enabled on the document in the specified protected view window. |
|
Occurs when a protected view window is deactivated. |
|
Occurs when a protected view window is opened. |
|
Occurs when the user exits Microsoft Word. |
|
Occurs when any document window is activated. |
|
Occurs when the editing area of a document window is double-clicked, before the default double-click action. |
|
Occurs when the editing area of a document window is right-clicked, before the default right-click action. |
|
Occurs when any document window is deactivated. |
|
Occurs when the selection changes in the active document window. |
|
Occurs when the application window is resized or moved. |
|
Occurs when the parent XML node of the current selection changes. |
|
Occurs when there is a validation error in the document. |