ListParagraphs Property
Applies To
Document object, List object, Range object.
Description
Returns a ListParagraphs collection that represents all the numbered paragraphs in the list, document, or range. Read-only.
See Also
CountNumberedItems method, ListFormat object.
Example
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