Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am trying to discover a way to optimise the .PageSetup properties of a
sheet (in VBA) so the user can simply click PrintPreview or Print... without needing to adjust any properties to make the printed report readable. The sheet concerned can have a variable amount of data and I want to implement the following rules. Starting with .Orientation=xlLandscape... a) if it fits on a single page leave it as is, b) if the page appears to be narrow and long switch to xlPortrait to maximise use of the page, c) set a .Zoom % to achieve a 1 page wide print job (and 1 or more pages down) so long as the .Zoom percentage does not go below (say) 50% (ie. avoid an unreadable "greeked" result). Has anyone been here before (in Excel 2K)? NB the .UsedRange property is viable on this sheet! Cheers, Frank. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
No zoom to page option ??? | New Users to Excel | |||
Page layout - page setup - items disabled | Excel Discussion (Misc queries) | |||
FORMAT EXCEL WORKBOOK (PAGE SETUP) ALL AT ONCE INSTEAD OF BY PAGE | Excel Discussion (Misc queries) | |||
HOW DO I SETUP A PAGE IN EXCEL TO GIVE TOTALS TO ANOTHER PAGE | Excel Worksheet Functions | |||
Under Page Setup the page option of Ledger - for Office XP | Excel Discussion (Misc queries) |