Rediger

Del via


Range.InsertParagraphBefore method (Word)

Inserts a new paragraph before the specified range.

Syntax

expression. InsertParagraphBefore

expression Required. A variable that represents a Range object.

Remarks

After this method is applied, the range expands to include the new paragraph.

Example

This example inserts a new paragraph at the beginning of the active document.

ActiveDocument.Range.InsertParagraphBefore

See also

Range Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.