Selection.InsertParagraph Method

Replaces the specified selection 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 Selection

instance.InsertParagraph()
void InsertParagraph()

Remarks

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

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

See Also

Reference

Selection Interface

Selection Members

Microsoft.Office.Interop.Word Namespace