IAddIns2.Add Method
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Function Add ( _
Filename As String, _
CopyFile As Object _
) As AddIn
'Usage
Dim instance As IAddIns2
Dim Filename As String
Dim CopyFile As Object
Dim returnValue As AddIn
returnValue = instance.Add(Filename, CopyFile)
AddIn Add(
string Filename,
Object CopyFile
)
Parameters
- Filename
Type: System.String
- CopyFile
Type: System.Object
Return Value
Type: Microsoft.Office.Interop.Excel.AddIn