Partager via


Application.AddIns2 Property (Excel)

Returns an AddIns2 collection that represents all the add-ins that are currently available or open in Microsoft Excel, regardless of whether they are installed. Read-only

Version Information

Version Added: Excel 2010

Syntax

expression .AddIns2

expression A variable that returns an Application object.

Example

This example displays the status of the Analysis ToolPak add-in. Note that the string used as the index to the AddIns collection is the title of the add-in, not the add-in’s file name.

If Application.AddIns2("Analysis ToolPak").Installed = True Then 
 MsgBox "Analysis ToolPak add-in is installed" 
Else 
 MsgBox "Analysis ToolPak add-in is not installed" 
End If

See Also

Concepts

Application Object

Application Object Members