Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 24
Default Header on first page and two sided printing

I am trying to combine to things. I want to print the active sheet as two
pages and have it print duplex. I also want the header to only be on the
first page. I tried combining information and tried run a macro record to do
what I want. But I don't have it. This is the code I have
Sub Printing()
With ActiveSheet.PageSetup
.CenterHeader = "&""Arial,Bold""&12OXFORD AREA SENIOR CENTER"
.RightHeader = "MO. ___________ YR. ________"
ActiveSheet.PrintOut From:=1, To:=1
.CenterHeader = ""
.RightHeader = ""
ActiveSheet.PrintOut From:=2, To:=TotPages
.LeftMargin = Application.InchesToPoints(0.75)
.RightMargin = Application.InchesToPoints(0.25)
.TopMargin = Application.InchesToPoints(0.5)
.BottomMargin = Application.InchesToPoints(0)
.HeaderMargin = Application.InchesToPoints(0.25)
.FooterMargin = Application.InchesToPoints(0.5)
.PrintHeadings = False
.PrintGridlines = False
.PrintComments = xlPrintNoComments
.PrintQuality = 600
.CenterHorizontally = False
.CenterVertically = False
.Orientation = xlPortrait
.Draft = False
.PaperSize = xlPaperLetter
.FirstPageNumber = xlAutomatic
.Order = xlDownThenOver
.BlackAndWhite = False
.Zoom = 80
.PrintErrors = xlPrintErrorsDisplayed
ActiveWindow.SelectedSheets.PrintOut Copies:=1, Preview:=True, Collate:= _
True
End With
End Sub

If anyone can help I would appreciate it.
--
cao
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
Printing multiple pages (2x2) double sided with single sided print kaveh Excel Discussion (Misc queries) 11 August 8th 08 03:38 PM
Printing header row on each page GKW in GA Excel Discussion (Misc queries) 1 June 27th 07 05:52 PM
Printing two tabs of the same worksheet to one double-sided page Jennifer Excel Discussion (Misc queries) 1 April 13th 06 07:17 PM
Prevent header from printing on 1st page? Bubba B Excel Discussion (Misc queries) 1 March 16th 06 07:09 PM
Enable Double sided printing contiuously when printing multiple s. Lee Excel Discussion (Misc queries) 1 November 27th 04 01:58 AM


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