Addon.Run method (Visio)

Runs the add-on represented by an Addon object.

Syntax

expression.Run (ArgString)

expression An expression that returns an Addon object.

Parameters

Name Required/Optional Data type Description
ArgString Required String The argument string to pass to the add-on.

Return value

Nothing

Remarks

If the add-on is implemented by an EXE file, the arguments are passed in the command-line string.

If the add-on is implemented by a VSL file, the arguments are passed in a member of the argument structure that accompanies the run message sent to the VisioLibMain procedure of the VSL.

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.