View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
HeartSA HeartSA is offline
external usenet poster
 
Posts: 2
Default Time Calculation

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