|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Tables: Ensuring Rows Not Split Across Pages Yet Retaining Repeated Header
I am working with a table that spans multiple pages. I believe I have correctly configured the first row as a “header” row which is to reappear at the top of each page. I will explain what I believe to be a highly relevant characteristic of this table through an illustration: Imagine a table in which the first column provides the names of each of 5 baseball teams and the second column provides the names of each of 10 players on each team, each in their own row. I created a table with 51 rows and 2 columns. I then “merged” rows 2 through 11 inclusive (row 1 is the “header” row) under column 1 (but not column 2) to create a single cell (under column 1) for the name of the first team. Likewise for the rest of the table for the 4 other teams. So column 1 has 5 rows, but column 2 has 50 rows (not counting the header row). I am not sure it’s relevant but I set the “text direction” in each of the 3 rows that now comprise column 1 to run from bottom to top rather than from left to right.
Here is the problem: Since Word will obviously not let the team name run across the page boundary and be “split” by the repeated header, I really need to ensure that all the players on any team are listed on the same page. File 1 (attached) shows what happens if you allow players on one team to cross a page boundary. I tried to remedy this by “forcing” the row containing the last player on a given team to be the last row on a particular page (you do this via Control-Enter). This worked, except that I now have lost the repeated header (see File 2, attached). How can I (1) not have a team name run across multiple pages; and (2) keep my header on each page? |
#2
|
|||
|
|||
One way to accomplish that is to revise the line height throughout the file. I took your sample file re-created to 40 lines (less the header) per page. I did play around with the line height to get the exact 40 lines @ 4 teams per page. The end result is attached. You should be able to modify to your specifications without any trouble.
Hope this helps... |
#3
|
|||
|
|||
Quote:
I would think that there must be a way to ensure that no one team ever crosses a page boundary even if the position of the table gets changed as text is added (or deleted) from the larger document. Again: I very much appreciate the time you took to offer a solution and the concerns I express do not imply any lack of such appreciation. |
#4
|
|||
|
|||
Yes, that is a different scenario. I have long created and maintained my own documents (or, modified them to fit my specs if others needed to modify textual data). In doing so, I would isolate the table between page/section breaks so that the table would stand on it own. Knowing that your position is not the same, I will step back and let others offer potential solutions. Sorry I could not help further...
|
#5
|
|||
|
|||
Quote:
|
#6
|
|||
|
|||
Suggestion. At the point where you want to force a new page in your table, instead of Ctrl-Enter:
1. Go to the paragraph group 2. Click the dialog launcher 3. Click the line and page breaks tab 4. Check Page Break Before 5. Click OK. This creates a new page while maintaing the table header. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Header Rows in Tables Not Working | Andy Pilkington | Word | 2 | 10-10-2014 12:36 AM |
Table.ConvertToText doesn't maintain repeated header rows | Cosmo | Word VBA | 2 | 06-23-2014 05:53 AM |
text repeated for cell across pages | thosecars82 | Word | 1 | 02-05-2014 05:17 AM |
Grouping table rows to prevent individual rows from breaking across pages | dennist77 | Word | 1 | 10-29-2013 11:39 PM |
How to auto-split a table at FULL rows? | pstein | Word | 5 | 03-27-2012 02:48 PM |