![]() |
How do I change the default date format in an Excel Footer
I need to change the date format in an Excel footer from e.g. 05.02.2005 to
05-Feb-2005. How can I do this? |
You can either type in exactly what you want...
or you can use a macro that runs each time you print. Option Explicit Private Sub Workbook_BeforePrint(Cancel As Boolean) With Worksheets("sheet1").PageSetup .LeftFooter = Format(Date, "dd-mmm-yyyy") End With End Sub This goes into the ThisWorkbook module. If you're new to macros, you may want to read David McRitchie's intro at: http://www.mvps.org/dmcritchie/excel/getstarted.htm Burki wrote: I need to change the date format in an Excel footer from e.g. 05.02.2005 to 05-Feb-2005. How can I do this? -- Dave Peterson |
All times are GMT +1. The time now is 06:19 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com