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: 345
Default Page Break Preview Page Number

In my application it's important for one worksheet to be ONLY two pages long
and yet have the row height be the maximum it can be.

I'd like to build a loop to vary the row height but can't find how to
access the page number I see in gray in the background of the page break
view. (any other page number would also be fine.)

the gist of the desired logic is: ( in 'pseudo' code)

rows("1:" & lastrow).rowheight = big_number ' to be more than 2 pages
do until pages = 2
big_number = big_number - .5
loop

If there are other techniques, as always, any help is much appreciated.
--
Neal Z
 
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
Remove big gray page number on Page Break Preview??? annafred Excel Discussion (Misc queries) 1 January 9th 07 02:28 AM
How do I remove the big page number on the Page Break Preview annafred Excel Discussion (Misc queries) 1 January 9th 07 02:27 AM
change page number watermark in page break preview juga Excel Discussion (Misc queries) 2 December 25th 06 10:16 AM
change and/or remove page number watermark in page break preview juga Excel Discussion (Misc queries) 2 December 25th 06 10:15 AM
Hiding the page number in page break preview background. I need coffee, wake me up! Excel Discussion (Misc queries) 0 May 15th 06 10:32 AM


All times are GMT +1. The time now is 09:23 AM.

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

About Us

"It's about Microsoft Excel"