Breaks Collection

Microsoft Word Visual Basic

Breaks Collection

Page Breaks
Break
Range

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

Using the Breaks Collection

Use the Breaks property to return a Breaks collection. The following example returns the breaks in the first page of the active document.

    Dim objBreaks As Breaks

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