ListParagraphs Property

Returns a ListParagraphs collection that represents all the numbered paragraphs in the list, document, or range. Read-only.

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


This example adds a yellow background to each numbered or bulleted paragraph in the first document.

For Each numpar In Documents(1).ListParagraphs
    numpar.Shading.BackgroundPatternColorIndex = wdYellow
Next numpar

This example double underlines the paragraphs in the second list in the active document.

For Each mypara In ActiveDocument.Lists(2).ListParagraphs
    mypara.Range.Underline = wdUnderlineDouble
Next mypara

Applies to | Document Object | List Object | Range Object

See Also | CountNumberedItems Method | ListFormat Object