Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
CB
 
Posts: n/a
Default How do I make a Header stop printing on page 1 only?


  #2   Report Post  
Ron de Bruin
 
Posts: n/a
Default

Try this CB

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


--
Regards Ron de Bruin
http://www.rondebruin.nl


"CB" wrote in message ...



  #3   Report Post  
Jim Rech
 
Posts: n/a
Default

Ron-

Looking at your helpful code I wondered whether you have to specify the "To"
parameter. It doesn't look like it, as least this prints page 2 and
everything beyond it in Excel 2003 for me:

Sub Test()
With ActiveSheet.PageSetup
.RightHeader = "Your Header info"
ActiveSheet.PrintOut From:=1, To:=1
.RightHeader = ""
ActiveSheet.PrintOut From:=2
End With
End Sub


--
Jim
"Ron de Bruin" wrote in message
...
| Try this CB
|
| http://www.rondebruin.nl/print.htm#Header
|
|
| --
| Regards Ron de Bruin
| http://www.rondebruin.nl
|
|
| "CB" wrote in message
...
|
|
|


  #4   Report Post  
Ron de Bruin
 
Posts: n/a
Default

Hi Jim

Yes i know

But it is easy to change if people do not want to print the last one for example
That's why I keep it in the code

To:=TotPages -1



--
Regards Ron de Bruin
http://www.rondebruin.nl


"Jim Rech" wrote in message ...
Ron-

Looking at your helpful code I wondered whether you have to specify the "To"
parameter. It doesn't look like it, as least this prints page 2 and
everything beyond it in Excel 2003 for me:

Sub Test()
With ActiveSheet.PageSetup
.RightHeader = "Your Header info"
ActiveSheet.PrintOut From:=1, To:=1
.RightHeader = ""
ActiveSheet.PrintOut From:=2
End With
End Sub


--
Jim
"Ron de Bruin" wrote in message
...
| Try this CB
|
| http://www.rondebruin.nl/print.htm#Header
|
|
| --
| Regards Ron de Bruin
| http://www.rondebruin.nl
|
|
| "CB" wrote in message
...
|
|
|




  #5   Report Post  
Jim Rech
 
Posts: n/a
Default

But it is easy to change

Ahh, I see.

--
Jim
"Ron de Bruin" wrote in message
...
| Hi Jim
|
| Yes i know
|
| But it is easy to change if people do not want to print the last one for
example
| That's why I keep it in the code
|
| To:=TotPages -1
|
|
|
| --
| Regards Ron de Bruin
| http://www.rondebruin.nl
|
|
| "Jim Rech" wrote in message
...
| Ron-
|
| Looking at your helpful code I wondered whether you have to specify the
"To"
| parameter. It doesn't look like it, as least this prints page 2 and
| everything beyond it in Excel 2003 for me:
|
| Sub Test()
| With ActiveSheet.PageSetup
| .RightHeader = "Your Header info"
| ActiveSheet.PrintOut From:=1, To:=1
| .RightHeader = ""
| ActiveSheet.PrintOut From:=2
| End With
| End Sub
|
|
| --
| Jim
| "Ron de Bruin" wrote in message
| ...
| | Try this CB
| |
| | http://www.rondebruin.nl/print.htm#Header
| |
| |
| | --
| | Regards Ron de Bruin
| | http://www.rondebruin.nl
| |
| |
| | "CB" wrote in message
| ...
| |
| |
| |
|
|
|
|


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
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
Printing Recto/Verso Sam Vanderstraeten Excel Discussion (Misc queries) 2 July 7th 05 12:44 PM
adding a new page break to an existing page break Edward Letendre Excel Discussion (Misc queries) 1 March 6th 05 09:29 AM
how do I make the left margin of a header the same as the page ma. Dipper Excel Discussion (Misc queries) 1 January 12th 05 03:19 PM
How do I stop automatic page breaks in excel Lesley Hutchinson Excel Worksheet Functions 0 October 31st 04 12:49 PM


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