Document.ListParagraphs (Word)

Returns a ListParagraphs object that represents all the numbered paragraphs in a document.

For information about returning a single member of a collection, see Returning a Single Object from a Collection.


For Each numpar In Documents(1).ListParagraphs 
 numpar.Shading.BackgroundPatternColorIndex = wdYellow 
Next numpar