Action property
Gets or sets the action code of an Event object.
Version added
4.0
Syntax
| |
| |
intRet |
Integer. The Event object's action code. |
object |
Required. An expression that returns an Event object. |
actionCode |
Required Integer. The new action code to assign. |
Remarks
An Event object consists of an event-action pair—an event triggers an action. An action code is the numeric constant for the action that the event triggers.
Visio supports the following action codes.
Constant |
Value |
visActCodeRunAddon |
1 |
visActCodeAdvise |
2 |