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