Hello all, thanks in advance for reading.
I have a macro to process some data, what it does is arrange a large chunk of raw data into separate sheets and dates/times, with proper formatting.
The problem is, it formats "single-digit hour times" (8:00:00 AM, 9:30:10 PM) as General but formats "double-digit hour times" (10:00:00 AM) as Time correctly.
To better understand this, please set a break point at line 59 and run the macro. The formatting section is from line 49-55. I'm using Excel 2007.
How can I prevent the macro from incorrectly formatting cells as General? I need it to be formatted as Time (h:mm:ss)...
Thanks a lot!
Bookmarks