TypeParagraph 方法

       

插入一个新的空段落。如果所选内容没有折叠为一个插入点,则新段将覆盖所选内容。用 InsertParagraphAfterInsertParagraphBefore 方法可插入一个新段而不删除所选内容。

注意   本方法与 Enter 的功能相同。

expression.TypeParagraph

expression   必需。该表达式返回一个 Selection 对象。

示例

本示例将所选内容折叠至末尾,然后在其后插入一个新段落。

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