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: 17
Default Auto height adjustment to fit on a single printed page

Here's my latest puzzle:

I have a form in Excel 2003 that is populated by word-wrapped text
fields with a variable length (and ultimately variable height). I
have a macro that will auto-fit row height on these fields to make
things tidy.

The form also has something equivalent to a footer that I need to
force to the bottom of a printed page. I manually accomplish this by
stretching the last row, and checking page-preview to confirm that
footer is the last thing on page 1.

Is there a way to poll excel for the number of pages a spreadsheet
will take if printed? With this, I could write a macro to
incrementally decrease a row height until the number of pages falls to
1.

Using a word mailmerge or proper excel footers is not really practical
in this case.

Any hints would be appreciated.

 
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
Row height adjustment after sort Leroy Syrop Excel Discussion (Misc queries) 2 February 11th 10 12:31 AM
Excel row height v. printed page Geri Rigger Excel Worksheet Functions 4 November 6th 09 05:29 AM
Auto Cell Height Adjustment for text entered Solex Excel Discussion (Misc queries) 3 June 19th 09 01:18 PM
Automatic row height adjustment nsv Excel Discussion (Misc queries) 5 January 27th 06 07:38 AM
Set up a single page to print a chronolgy of sheets printed srfr808 Excel Discussion (Misc queries) 1 May 10th 05 10:28 AM


All times are GMT +1. The time now is 02:18 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"