This documentation is archived and is not being maintained.

Document.ListTemplates Property

Office 2007
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



Show: