Selection.InsertBreak Method

Word Developer Reference

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.

Bb241684.vs_note(en-us,office.12).gif  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.

Visual Basic for Applications
  Selection.InsertBreak Type:=wdSectionBreakContinuous

See Also