I have a .csv file that is downloaded from a vendor on a daily basis, with multiple tables include on the same page, with varying lengths. I need to get at the data in one of the tables but I can't format the columns for the entire file, since there are multiple data columns of various types within the same file. So I just accept the default formatting provided by importing the CSV into a single sheet.
Unfortunately the vendor formats their (24hr) times as hh.mm.0 Excel 2000 doesn't properly recognize the format and treats all the times as mm:ss.0 and therefore adds 12: in front of all my times. So if the vendor provides 16:32.0 which is 4:32pm - excel treats it as 12:16:32.0 I don't care about anything after the decimal, and only need HH:MM
HOW can I format my times to HH:MM and get the correct hour? I want to accomplish this during a formattting VB script that finds and copies the report of interest to the appropriate destination worksheet.
Thanks!
Unfortunately the vendor formats their (24hr) times as hh.mm.0 Excel 2000 doesn't properly recognize the format and treats all the times as mm:ss.0 and therefore adds 12: in front of all my times. So if the vendor provides 16:32.0 which is 4:32pm - excel treats it as 12:16:32.0 I don't care about anything after the decimal, and only need HH:MM
HOW can I format my times to HH:MM and get the correct hour? I want to accomplish this during a formattting VB script that finds and copies the report of interest to the appropriate destination worksheet.
Thanks!