Compartilhar via


Global.AddIns Property

Word Developer Reference

Returns an AddIns collection that represents all available add-ins, regardless of whether they're currently loaded. Read-only.

Syntax

expression.AddIns

expression   A variable that represents a Global object.

Remarks

The AddIns collection includes the global templates and Word add-in libraries (WLLs) listed in the Templates and Add-ins dialog box (Tools menu).

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

Example

This example returns the total number of add-ins.

Visual Basic for Applications
  Dim intAddIns as Integer

intAddIns = AddIns.Count

This example displays the name of each add-in in the Addins collection.

Visual Basic for Applications
  Dim addinLoop as AddIn

For Each addinLoop In AddIns MsgBox addinLoop.Name Next addinLoop

See Also