Document.ListParagraphs Property (Word)

Office 2013 and later

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Returns a ListParagraphsobject that represents all the numbered paragraphs in a document. Read-only.

expression .ListParagraphs

expression An expression that returns a Document object.

For information about returning a single member of a collection, see Returning a Single 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