LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 50
Default Page Break Test

Is it possible to determine if a row is set for a page break? The
ActiveSheet.HPageBreaks item collection does not seem to be working. I have
even tried to go into print preview mode then out about. I can't seem to
determine were the next print row would be placed.

The ultimate problem is I am trying to print a banded report from a
database. I have a header of X rows with a band repeating an unknown number
of times. I would like to put a pagebreak before a band is broken up.

Also note that the page footer is dynamic, I am not able to expect that the
footer will take up the same amount of space each time.

I have tried working with the ActiveSheet.HPageBreaks item collection. I am
not able to get it to refresh b/c it is missing cells where breaks are
located. It looks to me like there are hard breaks and soft breaks.

Thanks in advance,

Stewart Rogers

 
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
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
How do you test to break out of a find loop? Henry Stock Excel Programming 4 February 26th 04 11:15 PM


All times are GMT +1. The time now is 11:48 AM.

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"