MontgomeryPete
Instructor
I have converted elapsed time into hours and minutes by using the DateDiff function and then the result into total minutes by using the Hour and Minute functions. This gives me total elpased minutes.
However, when I attempt to add the result, for example by unit, I get a data type mismatch message. I tried to convert the result using CINT, but still get the same message.
What is the best method to get the elapsed minutes to convert to an integer so that I can perform SUM, etc?
Thanks for your help.
Pete
However, when I attempt to add the result, for example by unit, I get a data type mismatch message. I tried to convert the result using CINT, but still get the same message.
What is the best method to get the elapsed minutes to convert to an integer so that I can perform SUM, etc?
Thanks for your help.
Pete