Home |
Search |
Today's Posts |
#1
|
|||
|
|||
Header and Footer
Can the Header and Footer be automatic set everytime I create a spreadshheet ?
|
#2
|
|||
|
|||
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
|
|||
|
|||
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 |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Give multiple charts on a worksheet/workbook same header or footer | Excel Discussion (Misc queries) | |||
Give multiple charts on a worksheet/workbook same header or footer | Charts and Charting in Excel | |||
Custom Header and Footer | Excel Discussion (Misc queries) | |||
How to insert a picture in the Footer (not the Header) in Excel 20 | Excel Worksheet Functions | |||
header or footer | Excel Worksheet Functions |