#1   Report Post  
Posted to microsoft.public.excel.misc
pjy pjy is offline
external usenet poster
 
Posts: 14
Default Header/Footer

In Excel 2003, how do I make the header different on the first page? I want
to have different text - not page numbering.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,123
Default Header/Footer

Only possible with a macro
See
http://www.rondebruin.nl/print.htm#not


--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"PJY" wrote in message ...
In Excel 2003, how do I make the header different on the first page? I want
to have different text - not page numbering.

  #3   Report Post  
Posted to microsoft.public.excel.misc
pjy pjy is offline
external usenet poster
 
Posts: 14
Default Header/Footer

Thanks for your website - but I DO want it to print on each page, however, I
need the text to be different on page 1 than it is on the pages following.

"Ron de Bruin" wrote:

Only possible with a macro
See
http://www.rondebruin.nl/print.htm#not


--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"PJY" wrote in message ...
In Excel 2003, how do I make the header different on the first page? I want
to have different text - not page numbering.


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,123
Default Header/Footer

Very easy

Sub Test()
Dim TotPages As Long
TotPages = Application.ExecuteExcel4Macro("GET.DOCUMENT(50)")
With ActiveSheet.PageSetup
.RightHeader = "Your Header info of page 1"
ActiveSheet.PrintOut From:=1, To:=1
.RightHeader = "your header info for all other pages"
ActiveSheet.PrintOut From:=2, To:=TotPages
End With
End Sub



--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"PJY" wrote in message ...
Thanks for your website - but I DO want it to print on each page, however, I
need the text to be different on page 1 than it is on the pages following.

"Ron de Bruin" wrote:

Only possible with a macro
See
http://www.rondebruin.nl/print.htm#not


--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"PJY" wrote in message ...
In Excel 2003, how do I make the header different on the first page? I want
to have different text - not page numbering.


  #5   Report Post  
Posted to microsoft.public.excel.misc
pjy pjy is offline
external usenet poster
 
Posts: 14
Default Header/Footer



"Ron de Bruin" wrote:

Very easy

Sub Test()
Dim TotPages As Long
TotPages = Application.ExecuteExcel4Macro("GET.DOCUMENT(50)")
With ActiveSheet.PageSetup
.RightHeader = "Your Header info of page 1"
ActiveSheet.PrintOut From:=1, To:=1
.RightHeader = "your header info for all other pages"
ActiveSheet.PrintOut From:=2, To:=TotPages
End With
End Sub



--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"PJY" wrote in message ...
Thanks for your website - but I DO want it to print on each page, however, I
need the text to be different on page 1 than it is on the pages following.

"Ron de Bruin" wrote:

Only possible with a macro
See
http://www.rondebruin.nl/print.htm#not


--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"PJY" wrote in message ...
In Excel 2003, how do I make the header different on the first page? I want
to have different text - not page numbering.

Thanks, I'll give it a try

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 and Footer Need Help Excel Worksheet Functions 1 July 7th 06 02:01 AM
Header/Footer Melanie New Users to Excel 2 August 30th 05 02:00 AM
Header and Footer Jav Excel Discussion (Misc queries) 2 August 11th 05 02:33 PM
Header & Footer RAJEEV CHADHA Excel Worksheet Functions 1 April 13th 05 09:39 AM
header footer M&A_Jack Excel Worksheet Functions 1 March 8th 05 07:42 PM


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