AddIns Interface
Definition
Important
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.
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).
public interface class AddIns : System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("00020858-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(2)]
public interface AddIns : System.Collections.IEnumerable
Public Interface AddIns
Implements IEnumerable
- Attributes
- Implements
Remarks
Use the AddIns property to return the AddIns collection.
Use the Add(String, Object) 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.
Properties
_Default[Object] |
Reserved for internal use. |
Application |
Returns an Application object that represents the Microsoft Excel application. |
Count |
Returns the number of objects in the collection. |
Creator |
Returns a 32-bit integer that indicates the application in which this object was created. |
Item[Object] |
Returns a single object from a collection. |
Parent |
Returns the parent object for the specified object. |
Methods
Add(String, Object) |
Adds a new add-in file to the list of add-ins. Returns an AddIn object. |
GetEnumerator() |