Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
59 lines (33 sloc) 1.48 KB
title keywords f1_keywords ms.prod api_name ms.assetid ms.date localization_priority
Selection.InsertBreak method (Word)
vbawd10.chm158662778
vbawd10.chm158662778
word
Word.Selection.InsertBreak
2c9d8cb8-1cc1-3d69-1e26-3a6878c0b1da
06/08/2017
Normal

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

[!includeSupport and feedback]

You can’t perform that action at this time.