AddIns Collection Object

Description

A collection of AddIn objects that represent all the add-ins available to Microsoft PowerPoint, regardless of whether or not they're loaded. This list corresponds to the list of add-ins displayed in the Add-Ins dialog box (Tools menu).

Using the AddIns Collection

Use the AddIns method to return the AddIns collection. The following example displays the names of all the add-ins that are currently loaded in PowerPoint.

For Each ad In AddIns
    If ad.Loaded Then MsgBox ad.Name
Next
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 load the add-in. To load the add-in, set the Loaded property of the add-in to True after you use the Add method. You can perform these two actions in a single step, as shown in the following example (note that you use the name of the add-in, not its title, with the Add method).

AddIns.Add("generic.ppa").Loaded = True
Use AddIns(index), where index is the add-in's title or index number, to return a single AddIn object. The following example loads the My Ppt Tools add-in.

AddIns("my ppt tools").Loaded = True
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

Application property, Count property, Parent property.

Methods

Add method (AddIns Collection Object), Item method (Multiple Collections), Remove method.