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: 1,565
Default Change page orientation to suit selection

You might not have ever noticed, but the row height and column width in
Excel are not measured to the same standard. Don't ask me why, because I
don't know other than two different people came up with the idea of how to
measure them. The standard row height is 12.75 and the standard column
width is 8.43, yet when you look at the worksheet, it is obvious that the
standard width is much greater than the standard height. So trying to
calculate the ratio of the height to width of a range would require some
tricky math. You could try to convert to pixels, but I do not know how to
tell you where to begin in doing that.
The other problem is that since the height and width of rows and columns can
vary based on content, there is no way to accurately compute those
variations.

My solution to such a dilemma would be to design my project so that I know
in advance when I need to change orientation and to build that into my
original plan.



"Liz" wrote in message
...
I have a macro to quickly print the selection. In order to get the maximum
sized print, I would like to change page orientation to maximise it. Is
there any way to find the size of the selection so I can get the height /
width ratio?




 
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
Change page orientation to suit selection Steve Yandl[_3_] Excel Programming 0 November 17th 09 09:08 PM
AutoFilter Selection to Change Page Header Darrell Lankford Excel Programming 0 April 29th 08 06:38 PM
change default page orientation from portrait to landscape Ferds Excel Discussion (Misc queries) 1 November 7th 07 12:20 PM
Why does my page orientation change when I print? TRosa Excel Discussion (Misc queries) 2 August 13th 06 11:41 PM
what is the page orientation in Excel and how do you change it? TDWilliams New Users to Excel 1 June 11th 05 02:30 AM


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