Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default How do i change the date format in a footer?

How do i change the date format in a footer?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 103
Default How do i change the date format in a footer?

Whatever format is in the Windows Regional and Language Settings governs what
the format is in the header or footer.

These are very limited and Excel recognizes only a few for header formatting.

To get a header date format of your choosing use a cell reference for the
header.

e.g. In A1 enter =TEXT(DATE(2006,12,10),"dddd, mmmm d"&", "&"yyyy")

Then run this macro.

Sub CellInHeader()
With ActiveSheet
..PageSetup.CenterHeader = Range("A1").Value
End With
End Sub


Gord Dibben MS Excel MVP

--
William<"M"
Using 2007


"Diane Goncalves" wrote:

How do i change the date format in a 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 do i change the date format in a footer for all excel files? Diane Goncalves Excel Discussion (Misc queries) 1 March 7th 07 12:44 PM
How change the date format in the excel footer to dd mmm yy? John Ellis Excel Discussion (Misc queries) 1 September 25th 05 09:32 AM
How do I change the default date format in an Excel Footer Burki Setting up and Configuration of Excel 1 February 4th 05 02:15 AM
change date function format in footer Tori Excel Worksheet Functions 1 January 25th 05 08:18 PM
Change the format of my footer {date} option? Tori Excel Discussion (Misc queries) 1 January 25th 05 05:33 PM


All times are GMT +1. The time now is 03:04 PM.

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

About Us

"It's about Microsoft Excel"