Document.ListParagraphs Property (Word)
Returns a ListParagraphsobject that represents all the numbered paragraphs in a document. Read-only.
Syntax
expression .ListParagraphs
expression An expression that returns a Document object.
Remarks
For information about returning a single member of a collection, see Returning a Single Object from a Collection.
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