Footer Date Format

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi

Is it possible to change the format of Date in the Header/ Foote
Say, from the default M/D/YYYY to DD/MMM/YYY

Than
Sachin
 
Hi
AFAIK not directly possible. But you may use the following macro (put
it in your workbook module - not in a standard module):

Private Sub Workbook_BeforePrint(Cancel As Boolean)
Dim wkSht As Worksheet
For Each wkSht In Me.Worksheets
With wkSht.PageSetup
.CenterFooter = Format(date,"DD/MMM/YYYY")
End With
Next wkSht
End Sub
 

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

Back
Top