Share via


List.ListParagraphs Property

Word Developer Reference

Returns a ListParagraphs collection that represents all the numbered paragraphs in the list, document, or range. Read-only.

Syntax

expression.ListParagraphs

expression   A variable that represents a List object.

Remarks

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

Example

This example double underlines the paragraphs in the second list in the active document.

Visual Basic for Applications
  For Each mypara In ActiveDocument.Lists(2).ListParagraphs
    mypara.Range.Underline = wdUnderlineDouble
Next mypara

See Also