Event.Target property (Visio)
Gets or sets the target of an event. Read/write.
Syntax
expression. Target
expression A variable that represents an Event object.
Return value
String
Remarks
An event consists of an event-action pair. When the event occurs, the action is performed. An event also specifies the target of the action and arguments to send to the target.
If the action code of the event is visActCodeRunAddon, the Target property contains the name of the add-on to run.
If the action code of the event is visActCodeAdvise, the Target property is not available. Attempting to get or set the Target property for such an event causes an exception.
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.