Partager via


Application.AddIns Property (PowerPoint)

Returns the program-specific AddIns collection that represents all the add-ins listed in the Add-Ins dialog box (click the Office button, click PowerPoint Options, click Add-Ins, click PowerPoint Add-Ins on the Manage list). Read-only.

Syntax

expression .AddIns

expression A variable that represents an Application object.

Remarks

Microsoft Office PowerPoint-specific add-ins are identified by a .ppa or .ppam file name extension. Component Object Model (COM) add-ins can be used universally across Microsoft programming products and have a .dll or .exe file name extension.

For information about returning a single member of a collection, see Returning an Object from a Collection.

Example

This example adds the add-in named "Myaddin.ppa" to the list in the Add-Ins dialog box and loads the add-in automatically.

Set myAddIn = Application.AddIns.Add(FileName:="c:\myaddin.ppa")

myAddIn.Loaded = True

MsgBox myAddIn.Name & " has been added to the list"

See Also

Concepts

Application Object

Application Object Members