Event.Action property (Visio)

Gets or sets the action code of an Event object. Read/write.

Syntax

expression.Action

expression A variable that represents an Event object.

Return value

Integer

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.

Microsoft Visio supports the following action codes.

Constant Value
visActCodeRunAddon 1
visActCodeAdvise 2

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.