Document.ListTemplates Property

Word Developer Reference

Returns a ListTemplates collection that represents all the list formats for the specified document. Read-only.

Syntax

expression.ListTemplates

expression   A variable that represents a Document object.

Remarks

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

Example

This example displays the number of list templates used in the active document.

Visual Basic for Applications
  Msgbox ActiveDocument.ListTemplates.Count

See Also