Hey guys, ive been using this code for one of my battery monitor programs for a laptop, and it works fine unless this happens:
That will give a run time error 6 stating its an overflow. Does anyone know how could make it continue and calculate it without telling me its an overflow? And just so you know, I put 355 in an Int because I replaced lblALabel.Caption with 355, lblALabel.Caption contains 355 in it. I changed it just to show you.Code:MsgBox Format(TimeSerial(0, 0, Int(355) * 100), "H:MM:SS")
Alright, thanks!




Reply With Quote