Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.