Share via


Selection.InsertBreak Method

Inserts a page, column, or section break.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Sub InsertBreak ( _
    ByRef Type As Object _
)
'Usage
Dim instance As Selection
Dim Type As Object

instance.InsertBreak(Type)
void InsertBreak(
    ref Object Type
)

Parameters

Remarks

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

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

See Also

Reference

Selection Interface

Selection Members

Microsoft.Office.Interop.Word Namespace