Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

Document.ListParagraphs Property (Word)

Published: July 16, 2012

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
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.