Range.InsertParagraph Method (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.

Replaces the specified range with a new paragraph.

expression .InsertParagraph

expression Required. A variable that represents a Range object.

After this method has been used, the range is the new paragraph.

If you don't want to replace the range, use the Collapse method before using this method. The InsertParagraphAfter method inserts a new paragraph following a Range object.

This example inserts a new paragraph at the beginning of the active document.

Set myRange = ActiveDocument.Range(0, 0) 
With myRange 
 .InsertParagraph 
 .InsertBefore "Dear Sirs," 
End With

Concepts

Other resources

Show: