Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Long Date Format in Excel
 
Posts: n/a
Default How do I use long date format in a header or footer?


  #2   Report Post  
Posted to microsoft.public.excel.misc
Gord Dibben
 
Posts: n/a
Default How do I use long date format in a header or footer?

You don't.

Excel defaults to short date.

You can achieve a modicum of alteration in Windows Regional Settings but not
like Thursday, November 16, 2005

To get that you would need a macro.

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

Alternative.................

Assume you have date formatted to Thursday, November 16, 2005 in A1

Sub CellInFooter()
With ActiveSheet
.PageSetup.CenterFooter = .Range("A1").text
End With
End Sub


Gord Dibben Excel MVP

On Wed, 16 Nov 2005 16:12:03 -0800, "Long Date Format in Excel" <Long Date
Format in wrote:


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
Date Format Squirrelly Bill Martin -- (Remove NOSPAM from address) Excel Discussion (Misc queries) 2 August 19th 05 10:49 AM
DATE Format Venkat Excel Worksheet Functions 1 August 16th 05 12:23 AM
date format in excel not in line with control panel regional setti GrahamR Excel Discussion (Misc queries) 3 August 2nd 05 06:48 PM
Date & Time mully New Users to Excel 4 May 23rd 05 11:56 AM
format the "date" button for a header sc11 Excel Discussion (Misc queries) 1 May 12th 05 03:48 AM


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