close
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
arrow
arrow
    全站熱搜

    software 發表在 痞客邦 留言(0) 人氣()