Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Excel headers
 
Posts: n/a
Default How can I make a header in Excel appear on the first page only?

I know how to put a header on an excel spreadsheet but is there a way to make
it appear on the first page only?
  #2   Report Post  
Dave Peterson
 
Posts: n/a
Default

Take a look at J.E. McGimpsey's site:
http://www.mcgimpsey.com/excel/subs/firstfooter.html

Excel headers wrote:

I know how to put a header on an excel spreadsheet but is there a way to make
it appear on the first page only?


--

Dave Peterson
  #3   Report Post  
Gord Dibben
 
Posts: n/a
Default

Code from Ron de Bruin's site on Print Tips.

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

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


Gord Dibben Excel MVP

On Wed, 27 Apr 2005 14:51:19 -0700, "Excel headers" <Excel
wrote:

I know how to put a header on an excel spreadsheet but is there a way to make
it appear on the first page only?


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
Excel - turn a page number in a header from horizontal to vertical pbrookstx Charts and Charting in Excel 1 June 4th 05 01:01 AM
How do I make a time Stamp in excel? Ben Excel Discussion (Misc queries) 4 April 22nd 05 08:37 PM
Use Excel to make an update query to another database table? Reigning in Seattle Excel Discussion (Misc queries) 2 April 14th 05 06:25 PM
How to make one CSV file from two Excel sheets? Marek L. Excel Discussion (Misc queries) 3 February 13th 05 07:47 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 02:05 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"