AddIns Property

Microsoft Word Visual Basic

Returns an AddIns collection that represents all available add-ins, regardless of whether they're currently loaded. The AddIns collection includes the global templates and Word add-in libraries (WLLs) listed in the Templates and Add-ins dialog box (Tools menu). Read-only.

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