Runs string and passes the command line arguments to the program as a string.
RUNADDONWARGS(" string "," arguments ")
||The name of an add-on.|
||Arguments to pass to your program.|
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.
Launches the add-on Graphmkr.exe and passes it the argument /GraphMaker=Stack.