View Single Post
  #1   Report Post  
Posted to microsoft.public.word.tables
Brian Nixon
 
Posts: n/a
Default AllowPageBreaks setting forgotten in Word 2003

Try this:

Create a table with at least two rows near the bottom of a page, such that
the table spans the page break.

Then run this macro:

Sub SetTableProps()
Selection.Tables(1).AllowPageBreaks = False
End Sub

The table is no longer split across the page break. Fine.

Now save the document, close it, and open it again.

AllowPageBreaks is now True, and the table is split across the page break
again!

Am I doing something wrong, or is this a bug?

Cheers,

Brian