Add Method (AddIns Collection Object)

See Also         Example         Applies To

Adds a new add-in file to the list of add-ins in the Add-Ins dialog box (Tools menu). Returns an AddIn object that represents the newly added add-in.

Syntax

expression.Add(Filename)

expression   Required. An expression that returns an AddIns object.

Filename   Required String. The full name of the file (including the path and file name extension) that contains the add-in you want to add to the list of add-ins.

Remarks

This method doesn't load the new add-in. You must set the Loaded property to load the add-in.