Global.AddIns property (Word)

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.

Dim intAddIns as Integer 
 
intAddIns = AddIns.Count

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

Dim addinLoop as AddIn 
 
For Each addinLoop In AddIns 
 MsgBox addinLoop.Name 
Next addinLoop

See also

Global Object

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.