LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 391
Default Pagesetup.Orientation need VBA routine to "Best Guess" Orientation

2003/2007

What parameters/settings with PageSetup could provide assist with calculating
PageOrientation to be placed in a macro to "best guess" it?

i.e. .Orientation = IIf (height 2 * width AND Columns.count < 9),"Portrait","Landscape")

Is there a way to use inches in the height/width calculation?

Is there a better approach?

TIA EagleOne
 
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
font orientation BiffNightly Excel Discussion (Misc queries) 2 July 20th 06 09:50 PM
HELP on "left","right","find","len","substitute" functions serene83 Excel Discussion (Misc queries) 5 June 27th 06 02:23 AM
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next BCB New Users to Excel 7 May 13th 06 10:02 PM
Page Orientation Karen Excel Discussion (Misc queries) 1 May 9th 06 08:54 PM
PivotTable Orientation ERR229 Excel Discussion (Misc queries) 2 January 9th 06 02:50 PM


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