Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default print one page landscape and one page portrait

I have a spreadsheet with two sections. I want to print the first section
portrait (1 page) and the second page landscape. Can Excel do that?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default print one page landscape and one page portrait

In two print jobs.....yes.


Gord Dibben MS Excel MVP

On Thu, 25 Oct 2007 10:14:00 -0700, TimH wrote:

I have a spreadsheet with two sections. I want to print the first section
portrait (1 page) and the second page landscape. Can Excel do that?


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 695
Default print one page landscape and one page portrait

Sub Print1()
With Worksheets("Sheet1").PageSetup '**** Change sheet name to fit
.CenterHorizontally = True
.PrintArea = "$A$3:$F$25" '**** First section - change to fit
.PrintTitleRows = ("$A$1:$A$2") '**** remark if u dont want title
.Orientation = xlPortrait
.FitToPagesWide = 1
.FitToPagesTall = 1
End With
Worksheets("Sheet1").PrintOut ' **** Change sheet name to fit
With Worksheets("Sheet1").PageSetup '**** Change sheet name to fit
.CenterHorizontally = True
.PrintArea = "$A$35:$F$55" '*** second section - change to fit
.PrintTitleRows = ("$A$33:$A$34") '**** remark if u dont want title
.Orientation = xlLandscape
.FitToPagesWide = 1
.FitToPagesTall = 1
End With
Worksheets("Sheet1").PrintOut '**** Change sheet name to fit

End Sub



"TimH" skrev:

I have a spreadsheet with two sections. I want to print the first section
portrait (1 page) and the second page landscape. Can Excel do that?

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
page setup landscape, but print footer in portrait mode tbrown Excel Discussion (Misc queries) 0 October 22nd 07 11:01 PM
fist page landscape, second page portrait Sandra Excel Discussion (Misc queries) 1 September 12th 06 04:23 AM
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
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


All times are GMT +1. The time now is 08:31 AM.

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"