#1   Report Post  
Jav
 
Posts: n/a
Default Header and Footer

Can the Header and Footer be automatic set everytime I create a spreadshheet ?
  #2   Report Post  
Ankur
 
Posts: n/a
Default

by using the macro you can set the header and footer ...also the print out
format and whenever u work on new sheet u have to just run the macro.
Tools \ Macros

"Jav" wrote:

Can the Header and Footer be automatic set everytime I create a spreadshheet ?

  #3   Report Post  
Bob Phillips
 
Posts: n/a
Default

You can also set it at print time

Private Sub Workbook_BeforePrint(Cancel As Boolean)
With ActiveSheet.PageSetup
.LeftHeader = "Date: " & Format(Date, "dd mmm yyyy")
End Sub

'This is workbook event code.
'To input this code, right click on the Excel icon on the worksheet
'(or next to the File menu if you maximise your workbooks),
'select View Code from the menu, and paste the code



--

HTH

RP
(remove nothere from the email address if mailing direct)


"Ankur" wrote in message
...
by using the macro you can set the header and footer ...also the print out
format and whenever u work on new sheet u have to just run the macro.
Tools \ Macros

"Jav" wrote:

Can the Header and Footer be automatic set everytime I create a

spreadshheet ?


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
Give multiple charts on a worksheet/workbook same header or footer Ches Excel Discussion (Misc queries) 8 July 4th 05 09:29 PM
Give multiple charts on a worksheet/workbook same header or footer Ches Charts and Charting in Excel 2 July 4th 05 04:58 PM
Custom Header and Footer Dave Excel Discussion (Misc queries) 1 March 23rd 05 08:24 PM
How to insert a picture in the Footer (not the Header) in Excel 20 jmon Excel Worksheet Functions 2 March 17th 05 05:59 AM
header or footer ParTeeGolfer Excel Worksheet Functions 4 January 9th 05 07:33 PM


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