Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
Each time I create a new workbook I want Excel to insert a the header and footer to every sheet of the new workbook. Where would I place the code for this? I guess the code would be something to similar to below With ActiveSheet.PageSetup .CenterHeader = "&A" .CenterFooter = "Printed &D &T" End With but not sure where to put it - presume in my personal workbook somewhere, but what sheet, what function etc. I dont want to have to create any buttons to do this, simply when i open a new sheet it should be automatically updated thanks in advance |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Creating Spreadsheets | Excel Worksheet Functions | |||
Creating Dynamic Spreadsheets | Excel Discussion (Misc queries) | |||
Creating customised calendars | Excel Discussion (Misc queries) | |||
creating spreadsheets and workbooks | New Users to Excel | |||
Creating Links Between Spreadsheets | Excel Programming |