Range.InsertBreak Method (Word)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Inserts a page, column, or section break.

expression .InsertBreak(Type)

expression Required. A variable that represents a Range object.

Parameters

Name

Required/Optional

Data Type

Description

Type

Optional

Variant

The type of break to be inserted.Can be one of the WdBreakType constants. If omitted, the default value is wdPageBreak.

When you insert a page or column break, the range is replaced by the break. If you don't want to replace the range, use the Collapse method before using the InsertBreak method. When you insert a section break, the break is inserted immediately preceding the Range.

Some of the constants listed above may not be available to you, depending on the language support (U.S. English, for example) that you?ve selected or installed.

This example inserts a page break immediately following the second paragraph in the active document.

Set myRange = ActiveDocument.Paragraphs(2).Range 
With myRange 
 .Collapse Direction:=wdCollapseEnd 
 .InsertBreak Type:=wdPageBreak 
End With

Concepts

Other resources

Show: