Document.ListParagraphs property (Word)
Returns a ListParagraphs object 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
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.