TableStyle.AllowBreakAcrossPage property (Word)
Sets or returns a Long indicating whether lines in the rows of tables formatted with a specified style break across pages. Read/write.
Syntax
expression. AllowBreakAcrossPage
expression A variable that represents a 'TableStyle' object.
Remarks
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.
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
See also
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.