#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 125
Default Date in footer

In the spreadsheet footer how can I change the default &[Date] which
produces DD/MM/YYYY

to D MMM YY so the following appears:

2 Jul 08

or D MMMM YYYY for:

2 July 2008

Francis Hookham


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default Date in footer


Private Sub Workbook_BeforePrint(Cancel As Boolean)
With ActiveSheet.PageSetup

.LeftFooter = Format(Date, "d mmmm yyyy")
End With
End Sub

'This is workbook event code.
'To input this code, right click on the Excel icon on the worksheet
'(or next to the File menu if you maximise your workbooks),
'select View Code from the menu, and paste the code


--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Francis Hookham" wrote in message
...
In the spreadsheet footer how can I change the default &[Date] which
produces DD/MM/YYYY

to D MMM YY so the following appears:

2 Jul 08

or D MMMM YYYY for:

2 July 2008

Francis Hookham




  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Date in footer

Excel uses the short date format from your Windows OS date settings.

You can achieve some change by modifying at that spot.

I say "some" because not all formats are accepted.


Gord Dibben MS Excel MVP

On Wed, 2 Jul 2008 10:39:08 +0100, "Francis Hookham"
wrote:

In the spreadsheet footer how can I change the default &[Date] which
produces DD/MM/YYYY

to D MMM YY so the following appears:

2 Jul 08

or D MMMM YYYY for:

2 July 2008

Francis Hookham


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 125
Default Date in footer

Bob - please excuse me for not thanking you earlier - no excuse - i just
missed doing so..Many thanks once again.

Francis


"Bob Phillips" wrote in message
...

Private Sub Workbook_BeforePrint(Cancel As Boolean)
With ActiveSheet.PageSetup

.LeftFooter = Format(Date, "d mmmm yyyy")
End With
End Sub

'This is workbook event code.
'To input this code, right click on the Excel icon on the worksheet
'(or next to the File menu if you maximise your workbooks),
'select View Code from the menu, and paste the code


--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my
addy)

"Francis Hookham" wrote in message
...
In the spreadsheet footer how can I change the default &[Date] which
produces DD/MM/YYYY

to D MMM YY so the following appears:

2 Jul 08

or D MMMM YYYY for:

2 July 2008

Francis Hookham






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
As of date formula in a footer Belinda7237 Excel Worksheet Functions 3 May 29th 08 12:09 AM
Modifying a footer date jim314 Excel Discussion (Misc queries) 5 October 26th 05 10:00 PM
Footer date format Imran Excel Discussion (Misc queries) 1 October 4th 05 01:18 PM
How can I get yesterdays date in a custom footer &[DATE]-1 does . chuck Charts and Charting in Excel 1 February 17th 05 02:49 AM
Date in Footer Karen Excel Worksheet Functions 1 November 22nd 04 05:33 PM


All times are GMT +1. The time now is 11: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"