Time Calculation
Thank you both, that did the trick.
"Tom Ogilvy" wrote in message
...
In VBA it is TimeSerial:
Range("A1").value = Range("A1").value + timeserial(0,0,10)
--
Regards,
Tom Ogilvy
"HeartSA" wrote in message
...
Getting a type mismatch error.
I have a cell (A1) with a custom format of mm:ss
I have a macro that is run that should add :10 seconds to the time, but
I
am
getting a type mimatch error. Not sure why.
Range("A1").value = Range("A1").value + time(0,0,10)
Please advise.
Thanks,
Doug
|