ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Format dates again (https://www.excelbanter.com/excel-programming/352993-format-dates-again.html)

alvin Kuiper

Format dates again
 
Hi
If i have 01-01-2006 i want to make my format like

1 January 2006

How do i do this?

Alvin


BadgerMK[_3_]

Format dates again
 

Hi Alvin

You need to create a custom number via Format\Cells

enter the following - d mmmm yyy


--
BadgerMK
------------------------------------------------------------------------
BadgerMK's Profile: http://www.excelforum.com/member.php...o&userid=31406
View this thread: http://www.excelforum.com/showthread...hreadid=511048


Tom Ogilvy

Format dates again
 
s = formt(cdate("01-01-2006),"d mmmm yyyy")

or if a cell
Activecell.Numberformat = "d mmmm yyyy")

--
Regards,
Tom Ogilvy

"alvin Kuiper" wrote in message
...
Hi
If i have 01-01-2006 i want to make my format like

1 January 2006

How do i do this?

Alvin




alvin Kuiper

Format dates again
 
Thanks

Alvin


"BadgerMK" wrote:


Hi Alvin

You need to create a custom number via Format\Cells

enter the following - d mmmm yyy


--
BadgerMK
------------------------------------------------------------------------
BadgerMK's Profile: http://www.excelforum.com/member.php...o&userid=31406
View this thread: http://www.excelforum.com/showthread...hreadid=511048




All times are GMT +1. The time now is 09:07 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com