All I'm running in the "Immediate" window is the following;
cells(1,1) = "01/04/2013"
Date appears in the cell as "04/01/2013" but right aligned
cells(1,1) = "23/04/2012"
Date appears in the cell as "23/01/2013" but left aligned
I assume the first instance, Excel sees it as a date, and reformats it hence it's right aligned. The second instance sees it as a string, hence left aligned.
I've checked my Locale settings and its all set as UK date dd/MM/yyyy. I've manually set the cell too, but still the same when I run that line of code.
What am I missing or doing wrong?
Bookmarks