Selection.InsertBreak method (Word)

Inserts a page, column, or section break.

Syntax

expression. InsertBreak( _Type_ )

expression Required. A variable that represents a Selection object.

Parameters

Name Required/Optional Data type Description
Type Required WdBreakType the type of break to insert. The default value is wdPageBreak. Some of the WdBreakType constants may not be available to you, depending on the language support (U.S. English, for example) that you have selected or installed.

Remarks

When you insert a page or column break, the break replaces the selection. If you don't want to replace the selection, use the Collapse method before using the InsertBreak method.

Note

When you insert a section break, the break is inserted immediately preceding the selection.

Example

This example inserts a continuous section break immediately preceding the selection.

Selection.InsertBreak Type:=wdSectionBreakContinuous

See also

Selection 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.