Selection.InsertParagraph method (Word)

Replaces the specified selection with a new paragraph.

Syntax

expression. InsertParagraph

expression Required. A variable that represents a Selection object.

Remarks

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.

Example

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

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.