ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How do I alter the date format in the footer in Excel? (https://www.excelbanter.com/excel-discussion-misc-queries/161420-how-do-i-alter-date-format-footer-excel.html)

haryalco

How do I alter the date format in the footer in Excel?
 
Whenever I set a date in the footer of Excel 2007, I get the SAME type of
format, i.e. "mm/dd/yyyy". The machine shows something like, say, "10/9/2007".

I want to change this to show soething like: "Tuesday, October 9, 2007"

Or evef, : "Tue, Oct 09, 2007".

How can I get this done ?

Gord Dibben

How do I alter the date format in the footer in Excel?
 
The date Excel places in headers and footers depends upon the Regional Settings
Date and you are limited to only a few variations.

I prefer a macro.

Sub DateInFooter()
ActiveSheet.PageSetup.RightFooter = Format(Date, "dddd, mmmm dd, yyyy")
End Sub


Gord Dibben MS Excel MVP

On Tue, 9 Oct 2007 07:49:03 -0700, haryalco
wrote:

Whenever I set a date in the footer of Excel 2007, I get the SAME type of
format, i.e. "mm/dd/yyyy". The machine shows something like, say, "10/9/2007".

I want to change this to show soething like: "Tuesday, October 9, 2007"

Or evef, : "Tue, Oct 09, 2007".

How can I get this done ?




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

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