Paragraphs Property
TOC
Collapse the table of content
Expand the table of content

Document.Paragraphs Property (Word)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

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

expression .Paragraphs

expression A variable that represents a Document object.

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

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

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

Selection.Paragraphs(1).LineSpacingRule = wdLineSpaceDouble
Show:
© 2016 Microsoft