Hi all,
I have a bunch of worksheets that have dates saved as 'text' and not as a 'date'. I wrote a macro to correct this on a per-cell basis using DateValue(), but I was hoping to be able to use TextToColumns to do all the work, as it seems much simpler and quicker to me.
Unfortunately, I'm running into a problem with it working perfectly fine on most sheets but not all. I attached two small sample sheets - before I run my macro and after. On the next to last worksheet, the date format is not changed even though the macro correctly identifies it and attempts to change it (verified by stepping through the macro manually). Is there something I'm doing wrong here? I'm trying to get a final date format of day-month-year, but I found that I have to specify "mm-dd-yy" as the NumberFormat to get it to correctly show. Not sure why that is, either...
At the end, I'm not sure if there will be any issues with "Date" having a date number format or not so I figured I'd change it back to be safe.
Thanks for any help!
Bookmarks