I have a series of cells, all displaying times, some of which are formatted to display in the 24 hour clock ("##:##") and some of which are formatted to appear as "##h##". This is to differentiate between actual times of the day and lengths of shifts.
Is there an easy way of using vba to work out which is which?
I had been using "if .... like "#h#" but that doesn't work, because it's only the format of the cell, not the actual number.
Any ideas?
Is there an easy way of using vba to work out which is which?
I had been using "if .... like "#h#" but that doesn't work, because it's only the format of the cell, not the actual number.
Any ideas?