Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 172
Default Print 1st page as Landscape and 2nd page as Portrait, HOW ??

I have set the Print Area in my WorkSheet to cover the area I need, but the
1st page is in LANDSCAPE and the page following is PORTRAIT.

Is there a way I can have this set to print automatically setting the 1st
page and 2nd pages to the required style?

Corey....


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 172
Default Print 1st page as Landscape and 2nd page as Portrait, HOW ??

With ActiveSheet
..PageSetup.Orientation = xlLandscape
..PrintOut From:=1, To:=1
..PageSetup.Orientation = xlPortrait
..PrintOut From:=2, To:=2
End With
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 430
Default Print 1st page as Landscape and 2nd page as Portrait, HOW ??

Perhaps this will help...

I have a 6 sheet workbook:
With Sheet1 named "Printing_Specs" (W/O the Quotes)
and in Range B7:C11 I have the following:

Opinion P (< P = Potrait L = Landscape)
Balance Sheet L
Income Statement P
Cash Flow L
Notes to Statements P

The following macro works fine for me:

Sub multi_print()
Dim rng As Range
Dim i As Integer
Set rng = Worksheets("Printing_Specs").Range("B7:B11")
For i = 2 To rng.Count + 1
With Worksheets(i)
If rng(i).Offset(0, 1).Value = "P" Then
.PageSetup.Orientation = xlPortrait
.PrintPreview 'Change to PrintOut to bypass Preview
Else
.PageSetup.Orientation = xlLandscape
.PrintPreview 'Change to PrintOut to bypass Preview
End If
End With
Next
End Sub

Hope this helps,
Jim May


"Corey" wrote in message
:

I have set the Print Area in my WorkSheet to cover the area I need, but the
1st page is in LANDSCAPE and the page following is PORTRAIT.

Is there a way I can have this set to print automatically setting the 1st
page and 2nd pages to the required style?

Corey....


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
Orientation Landscape but want Page #s to Print Portrait vcollins Excel Discussion (Misc queries) 1 November 15th 07 11:58 PM
Print one page landscape and one portrait ndrinkwater Setting up and Configuration of Excel 0 November 13th 07 02:14 PM
print one page landscape and one page portrait TimH Excel Discussion (Misc queries) 2 October 25th 07 06:40 PM
Print Area. 1st page Landscape 2nd page Portrait?? Corey Excel Worksheet Functions 1 June 23rd 06 08:18 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 09:31 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"