Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 39
Default fist page landscape, second page portrait

is it possible in a 2 pages excel spreadsheet that the first page is set up
and printed in landscape and the second page in portrait?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 695
Default fist page landscape, second page portrait

Sub Print1()
With Worksheets("ark1").PageSetup '*** change to ur sheetname
.CenterHorizontally = True
.PrintArea = "$A$3:$F$25" '*** change to ur range
.PrintTitleRows = ("$A$1:$A$2") '*** change to ur range
.Orientation = xlPortrait ' *** change to xlLandscape if..
.FitToPagesWide = 1
.FitToPagesTall = 1
End With
Worksheets("ark1").PrintOut ' *** change to ur sheetname
With Worksheets("ark1").PageSetup '*** change to ur sheetname
.CenterHorizontally = True
.PrintArea = "$A$35:$F$55" '*** change to ur range
.PrintTitleRows = ("$A$33:$A$34") '*** change to ur range
.Orientation = xlLandscape '*** change to xlPortrait if..
.FitToPagesWide = 1
.FitToPagesTall = 1
End With
Worksheets("ark1").PrintOut '*** change to ur sheet name

End Sub


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
Print Area. 1st page Landscape 2nd page Portrait?? Corey Excel Worksheet Functions 1 June 23rd 06 08:18 AM
How can I print page 1 portrait and subsequent pages landscape? havebagwillaudit Excel Worksheet Functions 1 February 16th 06 12:21 AM
Page Setup - landscape and portrait MLRB Setting up and Configuration of Excel 3 October 29th 05 07:43 PM
Can I print one page landscape and the next page portrait on same. lisajillian Excel Discussion (Misc queries) 1 August 8th 05 08:17 PM
Set page to Landscape Still prints as Portrait lahscious Excel Discussion (Misc queries) 0 February 2nd 05 08:07 PM


All times are GMT +1. The time now is 12:16 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"