InsertParagraph Method
TOC
Collapse the table of content
Expand the table of content

Selection.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 selection with a new paragraph.

expression .InsertParagraph

expression Required. A variable that represents a Selection object.

After using method, the selection contains the new paragraph. If you don't want to replace the current selection, use the Collapse method before using this method. You can also use the InsertParagraphBefore or InsertParagraphAfter method to insert a new paragraph before or after a selection.

This example collapses the selection and then inserts a paragraph mark at the insertion point.

With Selection 
 .Collapse Direction:=wdCollapseStart 
 .InsertParagraph 
 .Collapse Direction:=wdCollapseEnd 
End With
Show:
© 2016 Microsoft