ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Formatting &[Date] in header Excel 2000 (https://www.excelbanter.com/excel-programming/307398-formatting-%5Bdate%5D-header-excel-2000-a.html)

Harley Cooper

Formatting &[Date] in header Excel 2000
 
How can I change the default date format (8/18/2004) in the header/footer to
a different date format (18-Sep-04)?

Thanks



William[_2_]

Formatting &[Date] in header Excel 2000
 
Hi Harley
To use code....

ActiveSheet.PageSetup.LeftFooter = Format(Date, "dd mmm yy")

Place the code in the "BeforePrint" event of the "ThisWorkbook" module of
the relevant workbook if you want it to execute each time a sheet is
printed,

--
XL2002
Regards

William



"Harley Cooper" wrote in message
...
| How can I change the default date format (8/18/2004) in the header/footer
to
| a different date format (18-Sep-04)?
|
| Thanks
|
|




All times are GMT +1. The time now is 12:18 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com