Private Sub Workbook_BeforePrint(Cancel As Boolean)
With ActiveSheet.PageSetup
.LeftFooter = Format(Date, "dd mmm yyyy")
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
RP
(remove nothere from the email address if mailing direct)
"duane" wrote in message
...
In LOTUS 1-2-3 in the Header or Footer you can reference a text cell in
the
worksheet and have the contents appear in the Header/Footer. The text
cell
referenced changes weekly for date or some other text and this command
puts
the text automatically in the Header/Footer. How do you do this in EXCEL/
|