Share via


AllowBreakAcrossPage Property

Sets or returns a Long indicating whether lines in the rows of tables formatted with a specified style break across pages. True to break the lines in table rows across page breaks. False to keep the lines in a row of a table all on the same page. The default setting is True. Read/write.

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

Applies to | TableStyle Object