Hi,
having an annoying problem here.
I need to change the date format of a report which is imported to my excel sheet since i later need to compare the date values with another report. anyway, currently the date format is dd-MMM-yy (eg. 21-Nov-11) but via search and replace I replace the text for the month with the respective number to dd-mm-yyyy (eg. 21-11-2011). This code is doing that for me.
however, now I am receiving one error after another from excel saying that it cannot calculate the cell value of 13-08-2011 for example. If i disable the cell value recalculation and merely change the format of the column, it works most the time correclty, but sometimes ends up mixing me the order of the date (eg. 12-07-2011 becomes 7-12-2011 (M-DD-YYYY)).
Can anyone maybe advise me an easier approach towards this problem?
Thanks a lot!
A2k
Bookmarks