
Tips.Net > WordTips Home > Formatting > Formatting Tables > Keeping Table Rows Together
Summary: When you create a table that extends beyond a single page, you may want to make sure that the information in a table row doesn’t span a page break. You can make sure that Word presents the table the way you expect by adjusting the table formatting. (This tip works with Microsoft Word 97, Word 2000, Word 2002, Word 2003, and Word 2007.)
You may believe that you can keep tables rows together if you select the text in a row and then choose Keep Lines Together from the Line and Page Breaks tab of the Paragraph dialog box. This is a common trick that you can read about in lots of places—including the pages of WordTips. What you may not know is that choosing this option may not always give the desired result.
The reason is that Word apparently ignores this setting within tables. (Astounding, isn't it?) Instead, Word pays attention to a setting in the Tables dialog box. If you look at the Row tab of the Cell Height and Width dialog box (Word 97) or the Row tab of the Table Properties dialog box (Word 2000 and later), you see a check box entitled Allow Row to Break Across Pages. (Click here to see a related figure.) This is the only option that controls whether a page can break in the middle of a row. If the option is not set (the check box is clear), then the row won't break, regardless of the Keep Lines Together setting. Conversely, if the option is set, then the row can break, even if that means splitting up the paragraph text within the row.
Upon reflection, you might think there is method to this madness. After all, the setting in the Paragraph dialog box should only affect paragraphs, and the setting in the Tables dialog box should affect tables. Under this logic, however, you would expect that if a table cell contains a long paragraph (10 or 12 lines), and the page break is going to occur in the middle of the paragraph, that the Keep Lines Together setting would still keep the single paragraph together. Unfortunately, it doesn't. Word still pays attention to only the Allow Row to Break Across Pages setting.
Tip #865 applies to Microsoft Word versions: 97 2000 2002 2003 2007
More Power! For some people, the prospect of creating Word macros can be scary. WordTips: The Macros can help you conquer your fears and you'll discover you're much more confident and productive as you make Word do exactly what you want. This is an invaluable source for learning macros. You are introduced to the topic in bite-sized chunks, pulled from past issues of WordTips. Learn at your own pace, exactly the way you want.
Check out WordTips: The Macros today!
If you provide support and help to others, you need the power offered in the WordTips Ten-Year Library. There is no better information repository anywhere! (more information...)
Ask a Word Question
Make a Comment
Beauty Tips
Bugs and Pests Tips
Car Tips
Cleaning Tips
College Tips
Cooking Tips
Excel2007 Tips
ExcelTips
Family Tips
Gardening Tips
Health Tips
Home Tips
Money Tips
Organizing Tips
Pet Tips
Word2007 Tips
WordTips