ListLevelNumber Property

Applies To

ListFormat object, Style object.

Description

Style object: Returns the list level for the specified style. Read-only Long.

ListFormat object: Returns or sets the list level for the first paragraph in the specified ListFormat object. Read/write Long.

See Also

LinkedStyle property, LinkToListTemplate method, ListLevels property.

Example

This example returns the list level for the third paragraph in the active document.

lev = ActiveDocument.Paragraphs(3).Range.ListFormat.ListLevelNumber
This example displays the list level for the Heading 3 style.

Msgbox ActiveDocument.Styles(wdStyleHeading3).ListLevelNumber