Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 12-19-2014, 08:27 AM
Andrew H Andrew H is offline Tables: Ensuring Rows Not Split Across Pages Yet Retaining Repeated Header Windows 7 32bit Tables: Ensuring Rows Not Split Across Pages Yet Retaining Repeated Header Office 2010 32bit
Advanced Beginner
Tables: Ensuring Rows Not Split Across Pages Yet Retaining Repeated Header
 
Join Date: Nov 2012
Location: Montreal, Quebec
Posts: 51
Andrew H is on a distinguished road
Default 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?
Attached Files
File Type: docx Sample Table 1.docx (13.8 KB, 11 views)
File Type: docx Sample Table 2.docx (13.9 KB, 9 views)
Reply With Quote
  #2  
Old 12-19-2014, 08:59 AM
JimP JimP is offline Tables: Ensuring Rows Not Split Across Pages Yet Retaining Repeated Header Windows 7 32bit Tables: Ensuring Rows Not Split Across Pages Yet Retaining Repeated Header Office 2010 32bit
Experienced User
 
Join Date: Jun 2010
Location: Virginia Beach, VA
Posts: 742
JimP will become famous soon enough
Default

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...
Attached Files
File Type: docx Sample Table 1_Revised.docx (14.2 KB, 8 views)
Reply With Quote
  #3  
Old 12-19-2014, 09:16 AM
Andrew H Andrew H is offline Tables: Ensuring Rows Not Split Across Pages Yet Retaining Repeated Header Windows 7 32bit Tables: Ensuring Rows Not Split Across Pages Yet Retaining Repeated Header Office 2010 32bit
Advanced Beginner
Tables: Ensuring Rows Not Split Across Pages Yet Retaining Repeated Header
 
Join Date: Nov 2012
Location: Montreal, Quebec
Posts: 51
Andrew H is on a distinguished road
Default

Quote:
Originally Posted by JimP View Post
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...
Thanks for taking the time to consider my problem and offer a solution. However, as I suspect you will agree, I think the solution has the following vulnerability: If the table's precise position within a larger document is modified, there will be problems (I think). In this respect, I should have been more clear to the effect that the table is embedded in a larger document and, in the inevitable event that the document changes, the solution you propose will, I believe, no longer work.

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.
Reply With Quote
  #4  
Old 12-19-2014, 09:27 AM
JimP JimP is offline Tables: Ensuring Rows Not Split Across Pages Yet Retaining Repeated Header Windows 7 32bit Tables: Ensuring Rows Not Split Across Pages Yet Retaining Repeated Header Office 2010 32bit
Experienced User
 
Join Date: Jun 2010
Location: Virginia Beach, VA
Posts: 742
JimP will become famous soon enough
Default

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...
Reply With Quote
  #5  
Old 12-19-2014, 09:31 AM
Andrew H Andrew H is offline Tables: Ensuring Rows Not Split Across Pages Yet Retaining Repeated Header Windows 7 32bit Tables: Ensuring Rows Not Split Across Pages Yet Retaining Repeated Header Office 2010 32bit
Advanced Beginner
Tables: Ensuring Rows Not Split Across Pages Yet Retaining Repeated Header
 
Join Date: Nov 2012
Location: Montreal, Quebec
Posts: 51
Andrew H is on a distinguished road
Default

Quote:
Originally Posted by JimP View Post
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...
I may well end up doing what you suggest - isolating the table. Thanks again.
Reply With Quote
  #6  
Old 12-28-2014, 06:08 PM
freda0255 freda0255 is offline Tables: Ensuring Rows Not Split Across Pages Yet Retaining Repeated Header Windows 7 64bit Tables: Ensuring Rows Not Split Across Pages Yet Retaining Repeated Header Office 2010 64bit
Novice
 
Join Date: Jun 2011
Location: Chicago
Posts: 11
freda0255 is on a distinguished road
Default

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.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Tables: Ensuring Rows Not Split Across Pages Yet Retaining Repeated Header 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
Tables: Ensuring Rows Not Split Across Pages Yet Retaining Repeated Header text repeated for cell across pages thosecars82 Word 1 02-05-2014 05:17 AM
Tables: Ensuring Rows Not Split Across Pages Yet Retaining Repeated Header 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

Other Forums: Access Forums

All times are GMT -7. The time now is 09:16 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft