Редагувати

Поділитися через


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.

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 AddIns2 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

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.