Is it possible to format time in [h]:mm format using VBA?
[h]:mm format in excel would show 25 hours as 25:00, 125 hours as 125:00
I’ve tried several things such as:
format(datetime, "[h]:mm")
format(datetime, "H:mm")
format(datetime, "hh:mm")
None of these have the desired effect. I’ve also had a look through the MS help and can’t find anything useful.
Use the TEXT worksheet function via the application object, as so: