AccelItem.AddOnArgs property (Visio)
Gets or sets the argument string that you send to the add-on associated with a particular accelerator key. Read/write.
Syntax
expression.AddOnArgs
expression An expression that returns an AccelItem object.
Return value
String
Remarks
An argument's string can be anything appropriate for the add-on. However, the arguments are packaged together with other information into a command string, which cannot exceed 127 characters. For best results, limit arguments to 50 characters.
An object's AddOnName property indicates the name of the add-on to which the arguments are sent.
Note
Beginning with Visio 2002, the AddOnName property cannot execute a string that contains arbitrary VBA code. To call code that in previous versions of Visio you would have passed to the AddOnName property, move the code to a procedure in a document's VBA project that is called from the AddOnName property.
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.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for