Selection.Paragraphs Property

Word Developer Reference

Returns a Paragraphs collection that represents all the paragraphs in the specified selection. Read-only.

Syntax

expression.Paragraphs

expression   A variable that represents a Selection object.

Remarks

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

Example

This example sets the line spacing to double for the first paragraph in the selection.

Visual Basic for Applications
  Selection.Paragraphs(1).LineSpacingRule = wdLineSpaceDouble

See Also