Documents Events (Visio)
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 when Visio incorporates changes from other users? versions of a document into a merged, co-authored document. |
|
Occurs when hidden information is removed from the document. |
|
Occurs after a shape-replacement operation. |
|
Occurs before a DataRecordset object is deleted from the DataRecordsets collection. |
|
Occurs before a document is closed. |
|
Occurs before a document is saved. |
|
Occurs just before a document is saved by using the Save As command. |
|
Occurs before a master is deleted from a document. |
|
Occurs before a page is deleted. |
|
Occurs just before a shape-replacement operation. |
|
Occurs before selected objects are deleted. |
|
Occurs before a shape is deleted. |
|
Occurs before a shape is opened for text editing in the user interface. |
|
Occurs before a style is deleted. |
|
Occurs when a new callout relationship is added to a document. |
|
Occurs when a callout relationship is deleted from a document. |
|
Occurs after the value changes in a cell in a document. |
|
Occurs after connections have been established between shapes. |
|
Occurs after connections between shapes have been removed. |
|
Occurs when a new container relationship is added to the document. |
|
Occurs when a container relationship is deleted from the document. |
|
Occurs after an event handler has returned True (cancel) to a QueryCancelConvertToGroup event. |
|
Occurs when a DataRecordset object is added to a DataRecordsets collection. |
|
Occurs when a data recordset changes as a result of being refreshed. |
|
Occurs before a document enters design mode. |
|
Occurs after certain properties of a document are changed. |
|
Occurs after an event handler has returned True (cancel) to a QueryCancelDocumentClose event. |
|
Occurs after a document is created. |
|
Occurs after a document is opened. |
|
Occurs after a document is saved. |
|
Occurs after a document is saved by using the Save As command. |
|
Occurs after a formula changes in a cell in the object that receives the event. |
|
Occurs after an event handler has returned True (cancel) to a QueryCancelGroup event. |
|
Occurs after a new master is added to a document. |
|
Occurs after properties of a master are changed and propagated to its instances. |
|
Occurs after an event handler has returned True (cancel) to a QueryCancelMasterDelete event. |
|
Occurs after a new page is added to a document. |
|
Occurs after the name of a page, the background page associated with a page, or the page type (foreground or background) changes. |
|
Occurs after an event handler has returned True (cancel) to a QueryCancelPageDelete event. |
|
Occurs before the application converts a selection of shapes to a group in response to a user action in the interface. If any event handler returns True, the operation is canceled. |
|
Occurs before the application closes a document in response to a user action in the interface. If any event handler returns True, the operation is canceled. |
|
Occurs before the application groups a selection of shapes in response to a user action in the interface. If any event handler returns True, the operation is canceled. |
|
Occurs before the application deletes a master in response to a user action in the interface. If any event handler returns True, the operation is canceled. |
|
Occurs before the application deletes a page in response to a user action in the interface. If any event handler returns True, the operation is canceled. |
|
Occurs immediately after a shape-replacement operation is requested. If any event handler returns True, the operation is canceled. |
|
Occurs before the application deletes a selection of shapes in response to a user action in the interface. If any event handler returns True, the operation is canceled. |
|
Occurs before the application deletes a style in response to a user action in the interface. If any event handler returns True, the operation is canceled. |
|
Occurs before the application ungroups a selection of shapes in response to a user action in the interface. If any event handler returns True, the operation is canceled. |
|
Occurs after an event handler has returned True (cancel) to a QueryCancelReplaceShapes event. |
|
Occurs when a rule set is validated. |
|
Occurs after a document enters run mode. |
|
Occurs after one or more shapes are added to a document. |
|
Occurs after an event handler has returned True (cancel) to a QueryCancelSelectionDelete event. |
|
Occurs after one or more shapes are added to a document. |
|
Occurs after a property of a shape that is not stored in a cell is changed in a document. |
|
Occurs after a data graphic is applied to or deleted from a shape. |
|
Occurs after a shape is no longer open for interactive text editing. |
|
Occurs after a shape is linked to a data row. |
|
Occurs after the link between a shape and a data row is deleted. |
|
Occurs after shapes are grouped or a group is ungrouped. |
|
Occurs after a new style is added to a document. |
|
Occurs after the name of a style is changed or a change to the style propagates to objects to which the style is applied. |
|
Occurs after an event handler has returned True (cancel) to a QueryCancelStyleDelete event. |
|
Occurs after the text of a shape is changed in a document. |
|
Occurs after an event handler has returned True (cancel) to a QueryCancelUngroup event. |