Can I have the same header/footer on differnt sheets within an Excel
document. I have 10 sheets, and currently when I want to change the footer i
need to go into each sheet.
I have Excel 2003
Thansk
You can have code that sets it at print time, so all sheets get it
Private Sub Workbook_BeforePrint(Cancel As Boolean)
With ActiveSheet.PageSetup
.LeftFooter = quot;my valuequot;
End With
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
Bob Phillips
(remove nothere from email address if mailing direct)
quot;Amitquot; gt; wrote in message
...
gt; Can I have the same header/footer on differnt sheets within an Excel
gt; document. I have 10 sheets, and currently when I want to change the footer
i
gt; need to go into each sheet.
gt;
gt; I have Excel 2003
gt;
gt; Thansk
- Nov 21 Wed 2007 20:41
Excel Sheet Footer
close
全站熱搜
留言列表
發表留言