RUNADDONWARGS Function
Last modified: March 09, 2015
Applies to: Office 2013 | Visio 2013
In this article
Syntax
Remarks
Example
Runs string and passes the command line arguments to the program as a string.
In practice, arguments should be 50 or fewer characters. Use the RUNADDONWARGS function to bind a program, such as an add-on, to a cell, for example, to an Action or Events cell.
The RUNADDONWARGS function can only run add-ons that are members of the application's Addons collection. To be present in that collection, an add-on must be an EXE file or VSL file that is:
-
Installed in the application's Startup or Addons path.
-
Added programmatically by using the Add method of the Addons collection.
For more information about running code in Visio, see About Security Settings and Running Code in Visio in this ShapeSheet Reference.
In earlier versions of Visio, this function appears as _RUNADDONWARGS. Visio application versions 4.0 and later accept either style.