Range.InsertParagraph Method

Replaces the specified range with a new paragraph.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Sub InsertParagraph
'Usage
Dim instance As Range

instance.InsertParagraph()
void InsertParagraph()

Remarks

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.

See Also

Reference

Range Interface

Range Members

Microsoft.Office.Interop.Word Namespace