Muokkaa

Jaa


Selection.Paragraphs property (Word)

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.

Selection.Paragraphs(1).LineSpacingRule = wdLineSpaceDouble

See also

Selection Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.