AllowBreakAcrossPage Property

Microsoft Word Visual Basic

expression.AllowBreakAcrossPage

expression    Required. An expression that returns one of the objects in the Applies To list.

Example

This example formats rows in tables formatted with the "Table Grid" style to not break at page breaks.

Sub DontSplitRows()
    ActiveDocument.Styles("Table Grid") _
        .Table.AllowBreakAcrossPage = False
End Sub