LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 389
Default Automating Page Header

I have this in the before print:

vDate = Range("C4").Value
vName = Range("C5").Value
ActiveSheet.PageSetup.LeftHeader = "Expense Report" & Chr(10) & vDate &
Chr(10) & vName

Question: How do I tell it only print the Header if Page Number is greater
than 1.

Thank you for your help.

Steven.
 
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
Omit header from first page without embedding header in code ibvalentine Excel Worksheet Functions 6 August 28th 07 05:10 AM
Get header only on first page of multi page excel file betwms Excel Discussion (Misc queries) 3 March 29th 06 05:47 PM
Automating Word - Print one page not entire document! quartz[_2_] Excel Programming 1 January 25th 05 06:16 PM
Automating the downloading of web page and sending it via email Sean[_7_] Excel Programming 1 May 24th 04 02:55 PM
Page Header with Fit to 1 page wide Josh Smith[_2_] Excel Programming 0 July 15th 03 09:51 PM


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