Skip to content

Latest commit

 

History

History
51 lines (30 loc) · 1.09 KB

Word.Selection.TypeParagraph.md

File metadata and controls

51 lines (30 loc) · 1.09 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Selection.TypeParagraph method (Word)
vbawd10.chm158663168
vbawd10.chm158663168
Word.Selection.TypeParagraph
e866733b-4800-8e2c-7026-4e9603ccf585
06/08/2017
medium

Selection.TypeParagraph method (Word)

Inserts a new, blank paragraph.

Syntax

expression. TypeParagraph

expression Required. A variable that represents a Selection object.

Remarks

This method corresponds to the functionality of the ENTER key. If the selection isn't collapsed to an insertion point, the new paragraph replaces the selection.

Use the InsertParagraphAfter or InsertParagraphBefore method to insert a new paragraph without deleting the contents of the selection.

Example

This example collapses the selection to its end and then inserts a new paragraph following it.

With Selection 
 .Collapse Direction:=wdCollapseEnd 
 .TypeParagraph 
End With

See also

Selection Object

[!includeSupport and feedback]