Addons.Add Method
Visio Automation Reference |
Adds a new Addon object to an Addons collection.
Version Information
Version Added: Visio 2.0
Syntax
expression.Add(FileName)
expression A variable that represents an Addons object.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
FileName | Required | String | The name of the add-on. |
Return Value
Addon
Remarks
The Add method adds an EXE or VSL file to the collection and returns an Addon object if the string expression specifies an EXE file, or Nothing if the string expression specifies a VSL file.
Example
The following macro shows how to add an Addon object to the Addons collection.
Before running this macro, replace path\filename with a valid path and file name for an add-on in your Visio project.
Visual Basic for Applications |
---|
|
See Also