ListTemplate Property
Applies To
ListFormat object, Style object.
Description
Returns a ListTemplate object that represents the list formatting for the specified Style or ListFormat object. Read-only.
Remarks
A list template includes all the formatting that defines a particular list. Each of the seven formats (excluding None) found on each of the tabs in the Bullets and Numbering dialog box corresponds to a list template. Documents and templates can also contain collections of list templates.
If the first paragraph in the range for the ListFormat object is not formatted as a list, the ListTemplate property returns Nothing.
See Also
ListGalleries collection object, ListTemplates collection object.
Example
This example checks to see which list template is used for the second paragraph in the active document, and then it applies that list template to the selection.
Set myltemp = ActiveDocument.Paragraphs(2).Range.ListFormat.ListTemplate
Selection.Range.ListFormat.ApplyListTemplate ListTemplate:=myltemp