#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Header

How do I keep the header from printing on every page but the first?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
lk lk is offline
external usenet poster
 
Posts: 39
Default Header

Don't make it a header.

"Medical Records" wrote:

How do I keep the header from printing on every page but the first?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default Header

From Ron deBruin's site on Print Tips

Sub Test()
Dim TotPages As Long
TotPages = Application.ExecuteExcel4Macro("GET.DOCUMENT(50)")
With ActiveSheet.PageSetup
.RightHeader = "Your Header info"
ActiveSheet.PrintOut From:=1, To:=1
.RightHeader = ""
ActiveSheet.PrintOut From:=2, To:=TotPages
End With
End Sub

For more tips on headers/footers see Ron's pages at

http://www.rondebruin.nl/print.htm


Gord Dibben MS Excel MVP

On Wed, 23 Aug 2006 12:51:01 -0700, Medical Records <Medical
wrote:

How do I keep the header from printing on every page but the first?


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
Header Rows and Sort Issue MikeL. Excel Discussion (Misc queries) 1 March 28th 06 12:23 AM
Header & Footer Excel 2003 juliasl0 Excel Discussion (Misc queries) 2 November 4th 05 02:37 PM
How do I setup a header in Excel that prints only on first page? mikesam7 Excel Discussion (Misc queries) 3 August 24th 05 08:16 PM
Graphic in Header scaling with pages contents Shannon Broskie Excel Discussion (Misc queries) 0 February 15th 05 09:29 PM
Default header in Excel under page set-up Melanie Excel Discussion (Misc queries) 2 December 15th 04 01:37 AM


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