Partager via


Range.Paragraphs Property (Word)

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

Syntax

expression .Paragraphs

expression A variable that represents a Range 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 single for the collection of all paragraphs in section one in the active document.

ActiveDocument.Sections(1).Range.Paragraphs.LineSpacingRule = _ 
 wdLineSpaceSingle

See Also

Concepts

Range Object

Range Object Members