Page.Breaks property (Word)

Returns a Breaks collection that represents the breaks on a page. .

Syntax

expression. Breaks

expression Required. A variable that represents a 'Page' object.

Remarks

The Breaks collection includes page, column, and section breaks. Use the Breaks collection and the related objects and properties to programmatically define page layout in a document.

Example

The following example returns the breaks on the first page in the active document.

Dim objBreaks As Breaks 
 
Set objBreaks = ActiveDocument.ActiveWindow _ 
 .Panes(1).Pages(1).Breaks

See also

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