Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,560
Default Header/Footer Date Format

Hi, I would like to have my date format in the header/footer to be
dd/MMM/yyyy. However the 'Date Button' in the header screen only gives me a
format of dd/MM/yyyy. My Regional settings are as i need them to be. Date
format in my actual worksheet is as i want it.....just not in the
header/footer ?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 345
Default Header/Footer Date Format

This is a bit basic but the way I've achieved this is to actually go into the
footer and type in the date exactly as you want it to appear.

"David" wrote:

Hi, I would like to have my date format in the header/footer to be
dd/MMM/yyyy. However the 'Date Button' in the header screen only gives me a
format of dd/MM/yyyy. My Regional settings are as i need them to be. Date
format in my actual worksheet is as i want it.....just not in the
header/footer ?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,480
Default Header/Footer Date Format

Hi David

You would have to use code to change it.

You could add the following code to the ThisWorkbook Module

Private Sub Workbook_BeforePrint(Cancel As Boolean)
ActiveSheet.PageSetup.CenterFooter = Format(Date, "dd mmm yyyy")
End Sub

Copy the Code above
Alt+F11 to invoke the VB Editor
Double click on the ThisWorkbook module in Project Explorer
Paste code into white pane that appears
Alt+F11 to return to Excel

It will get invoked automatically when you Print or do a Print Preview

--
Regards
Roger Govier

"David" wrote in message
...
Hi, I would like to have my date format in the header/footer to be
dd/MMM/yyyy. However the 'Date Button' in the header screen only gives me
a
format of dd/MM/yyyy. My Regional settings are as i need them to be.
Date
format in my actual worksheet is as i want it.....just not in the
header/footer ?


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to put save date in the header (or footer) GypsyHarper Excel Discussion (Misc queries) 10 July 23rd 08 07:11 PM
How can you format a date in the header/footer of Excel sheet SAM SEBAIHI Excel Discussion (Misc queries) 4 December 11th 06 05:50 PM
How do I use long date format in a header or footer? Long Date Format in Excel Excel Discussion (Misc queries) 1 November 17th 05 01:23 AM
Date formula for footer/header Kurtlee Excel Discussion (Misc queries) 1 November 4th 05 05:01 PM
Formatting Date in Header & Footer Eliza Excel Discussion (Misc queries) 1 March 15th 05 09:17 PM


All times are GMT +1. The time now is 07:01 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"