Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 117
Default Change page orientation to suit selection

MsgBox Selection.Height & " high by " & Selection.Width & " wide"

Steve Yandl


"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?



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
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
Page Orientation Karen Excel Discussion (Misc queries) 1 May 9th 06 08:54 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 11:53 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"