Date format in header

  • Thread starter Thread starter Michael
  • Start date Start date
M

Michael

How can I make the date in the header apear as April 30, 2009 instead of
4/30/09?
 
The date is in the header, not in a cell. I can format a cell easily, but the
header is a whole other story.
 
Excel uses the Windows short date format in headers/footers.

Very little formatting can be done with this.

Couple of options......................

Either enter the date as text or use VBA to change the formatting to what
you wish.

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


Gord Dibben MS Excel MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top