AddIns Interface

A collection of AddIn objects that represents all the add-ins available to Microsoft Excel, regardless of whether they’re installed. This list corresponds to the list of add-ins displayed in the Add-Ins dialog box (Tools menu).

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("00020858-0000-0000-C000-000000000046")> _
Public Interface AddIns _
    Inherits IEnumerable
'Usage
Dim instance As AddIns
[InterfaceTypeAttribute()]
[GuidAttribute("00020858-0000-0000-C000-000000000046")]
public interface AddIns : IEnumerable

Remarks

Use the AddIns property to return the AddIns collection.

Use the Add method to add an add-in to the list of available add-ins. The Add method adds an add-in to the list but doesn’t install the add-in. Set the Installed property of the add-in to True to install the add-in. To install an add-in that doesn’t appear in the list of available add-ins, you must first use the Add method and then set the Installed property. This can be done in a single step.

Use AddIns(index), where index is the add-in title or index number, to return a single AddIn object.

Don’t confuse the add-in title, which appears in the Add-Ins dialog box, with the add-in name, which is the file name of the add-in. You must spell the add-in title exactly as it’s spelled in the Add-Ins dialog box, but the capitalization doesn’t have to match.

See Also

Reference

AddIns Members

Microsoft.Office.Interop.Excel Namespace