Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
GUS GUS is offline
external usenet poster
 
Posts: 45
Default page break at empty row

I have a sheet with text and tables, and some empty rows between them.
In order not to brake the data (tables to two pages vertical) i thought that
i can redefine page breaks with vba, to the nearest empty row in default
pagebreak.
Is this possible?

For example if the default page breaks ends at row 35 and this row is in the
middle of a table , then remove pagebrake to the previus empty row which
could be row 29 or 28 or 25 etc.


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default page break at empty row

there is no built in capability to do this.

--
Regards,
Tom Ogilvy

gus wrote in message
...
I have a sheet with text and tables, and some empty rows between them.
In order not to brake the data (tables to two pages vertical) i thought

that
i can redefine page breaks with vba, to the nearest empty row in default
pagebreak.
Is this possible?

For example if the default page breaks ends at row 35 and this row is in

the
middle of a table , then remove pagebrake to the previus empty row which
could be row 29 or 28 or 25 etc.




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default page break at empty row

Try to count how many rows in one page, then if cell < empty at the last
row, find empty row above and apply page break, not sure if is possible but
just a suggestion.


"gus" wrote in message
...
I have a sheet with text and tables, and some empty rows between them.
In order not to brake the data (tables to two pages vertical) i thought

that
i can redefine page breaks with vba, to the nearest empty row in default
pagebreak.
Is this possible?

For example if the default page breaks ends at row 35 and this row is in

the
middle of a table , then remove pagebrake to the previus empty row which
could be row 29 or 28 or 25 etc.




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2007 Page Break Adjustments causes a page break each cell BKaufman Excel Worksheet Functions 2 September 10th 10 05:02 AM
Vertical page breaks won't drag in Page Break Preview Caroline Excel Discussion (Misc queries) 0 July 14th 09 12:19 PM
How do I do page breaks when view menu doesnt page break preview HeatherF55 Excel Discussion (Misc queries) 0 September 21st 07 04:24 AM
change and/or remove page number watermark in page break preview juga Excel Discussion (Misc queries) 2 December 25th 06 10:15 AM
adding a new page break to an existing page break Edward Letendre Excel Discussion (Misc queries) 1 March 6th 05 09:29 AM


All times are GMT +1. The time now is 02:20 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"