Hi Folks,
I'm trying to format a cell to show a date as 04 Jan 2009
..so I setup a subroutine as...
-----------------------
Columns("A:A").Select
Selection.NumberFormat = "dd mmm yyyy"
Cells(1, 1).Value = "04/01/2009" ' yes, my PC is set to English settings!
------------------------
...BUT, when it runs, the cell entry appears as 01 Apr 2009
If I type 04/01/2009 directly into the cell on the worksheet, then press return, it displays the date as 04 Jan 2009...which is what I wanted!!!
Please help, it's driving me crazy!
DH
I'm trying to format a cell to show a date as 04 Jan 2009
..so I setup a subroutine as...
-----------------------
Columns("A:A").Select
Selection.NumberFormat = "dd mmm yyyy"
Cells(1, 1).Value = "04/01/2009" ' yes, my PC is set to English settings!
------------------------
...BUT, when it runs, the cell entry appears as 01 Apr 2009
If I type 04/01/2009 directly into the cell on the worksheet, then press return, it displays the date as 04 Jan 2009...which is what I wanted!!!
Please help, it's driving me crazy!
DH