If you have a string "timeused" containing hours and minutes in the format "hh:mm", you can convert it to minutes with the following expression:
Val(Left$(timeused,2)) * 60 + Val(Mid$(timeused,4,2))
I don't understand your calculation (StartTime-1-EndTime) of timeused, however. Shouldn't it be EndTime-StartTime?
Anyway, while the string method will work, it's actually much simpler to just convert the time value directly into minutes with:
(EndTime - StartTime) * 1440.0
That will give you a floating point result in minutes and fractional minute, which you can round if you wish. Rick Sprague