A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Word » Tables
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Keep with Next and Merge Cells



 
 
Thread Tools Display Modes
  #1  
Old February 8th, 2008, 10:32 PM posted to microsoft.public.word.tables
Rahul
external usenet poster
 
Posts: 72
Default Keep with Next and Merge Cells

Hi,

I've a Table that I dont want to split accross pages. From one of the MVP
sites I found that the right way to do this is by unchecking the "Allow rows
to break accross pages" followed by "Keep with next" for all except the last
row.

Now I've a Table here that I did a merge cells on a few rows but only for
the first 3 columns.

The question is how do I not get the same behaviour? Which exactly is my
last row now? How does WQord handle these merged rows in its internal row
count?

Any advice?

Thanks!

-Rahul
  #2  
Old February 9th, 2008, 09:29 PM posted to microsoft.public.word.tables
Lene Fredborg
external usenet poster
 
Posts: 1,294
Default Keep with Next and Merge Cells

As I understand your question, you have vertically merged cells that span the
last rows in one or more columns in the table (e.g. a table with 3 columns,
10 rows – cells 8-10 in column 1 are merged).

Word counts the last physical cell in a column as the last cell. However, if
you turn off "Allow row to break across pages", this should prevent any cell
from breaking across pages. Therefore, seen from a logical point of view, you
should always be able to prevent the table from breaking across pages if you
apply "keep with next" to all rows until the row that contains the topmost
cell that makes up the last cell in a column (a bit difficult to explain… -
in the example above: select the first 7 rows) – this also worked
consistently for me when testing.

If you select the columns individually one by one – without the last cell –
and apply "Keep with next", this will also keep the table on one page but it
is more cumbersome.

--
Regards
Lene Fredborg
DocTools - Denmark
www.thedoctools.com
Document automation - add-ins, macros and templates for Microsoft Word


"Rahul" wrote:

Hi,

I've a Table that I dont want to split accross pages. From one of the MVP
sites I found that the right way to do this is by unchecking the "Allow rows
to break accross pages" followed by "Keep with next" for all except the last
row.

Now I've a Table here that I did a merge cells on a few rows but only for
the first 3 columns.

The question is how do I not get the same behaviour? Which exactly is my
last row now? How does WQord handle these merged rows in its internal row
count?

Any advice?

Thanks!

-Rahul

  #3  
Old February 13th, 2008, 10:22 PM posted to microsoft.public.word.tables
Rahul
external usenet poster
 
Posts: 72
Default Keep with Next and Merge Cells


Thanks Lene! That worked great for me.


"Lene Fredborg" wrote:

As I understand your question, you have vertically merged cells that span the
last rows in one or more columns in the table (e.g. a table with 3 columns,
10 rows – cells 8-10 in column 1 are merged).

Word counts the last physical cell in a column as the last cell. However, if
you turn off "Allow row to break across pages", this should prevent any cell
from breaking across pages. Therefore, seen from a logical point of view, you
should always be able to prevent the table from breaking across pages if you
apply "keep with next" to all rows until the row that contains the topmost
cell that makes up the last cell in a column (a bit difficult to explain… -
in the example above: select the first 7 rows) – this also worked
consistently for me when testing.

If you select the columns individually one by one – without the last cell –
and apply "Keep with next", this will also keep the table on one page but it
is more cumbersome.

--
Regards
Lene Fredborg
DocTools - Denmark
www.thedoctools.com
Document automation - add-ins, macros and templates for Microsoft Word


"Rahul" wrote:

Hi,

I've a Table that I dont want to split accross pages. From one of the MVP
sites I found that the right way to do this is by unchecking the "Allow rows
to break accross pages" followed by "Keep with next" for all except the last
row.

Now I've a Table here that I did a merge cells on a few rows but only for
the first 3 columns.

The question is how do I not get the same behaviour? Which exactly is my
last row now? How does WQord handle these merged rows in its internal row
count?

Any advice?

Thanks!

-Rahul

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 05:04 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.