InsertParagraphAfter Method

Applies To

Range object, Selection object.

Description

Inserts a paragraph mark after a range or selection.

Note After this method is applied, the range or selection expands to include the new paragraph.

Syntax

expression.InsertParagraphAfter

expression Required. An expression that returns a Range or Selection object.

See Also

InsertAfter method, InsertParagraph method, InsertParagraphBefore method.

Example

This example inserts a new paragraph after the current paragraph.

With Selection
    .Move Unit:=wdParagraph
    .InsertParagraphAfter
    .Collapse Direction:=wdCollapseStart
End With
This example inserts text as a new paragraph at the beginning of the active document.

Set myRange = ActiveDocument.Range(0, 0)
With myRange
    .InsertBefore "Title"
    .ParagraphFormat.Alignment = wdAlignParagraphCenter
    .InsertParagraphAfter
End With
This example inserts a paragraph at the end of the active document. The Content property returns a Range object.

ActiveDocument.Content.InsertParagraphAfter