Ins2.Add(String, Object) Method
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a new add-in to the list of add-ins.
public Microsoft.Office.Interop.Excel.AddIn Add (string Filename, object CopyFile);
Public Function Add (Filename As String, Optional CopyFile As Object) As AddIn
The name of the file that contains the add-in to add to the list in the Add-Ins dialog box.
If the add-in file is on a removable medium, specifies whether to copy the add-in to the local hard disk. Specify true to copy the add-in to your hard disk. Specify false to keep the add-in on the removable medium. If this parameter is omitted, Microsoft Excel displays a dialog box and asks the user to choose whether to copy the add-in file. This parameter is ignored if the add-in file is already on the hard disk.
An AddIn object.