If 850 means 8:30, then you need to use split to pick the string apart
Dim MyTimeIsYourTime as String
MyTimeIsYourTime= Split([yourTime],":")
MyTimeIsYourTime(1) = Int((MyTimeIsYourTime(1)/60)*100)
YourTime = Join(MyTimeIsYourTime, "")
MyTimeIsYourTime(0) will contain the hours and if I got the parenthesis
right MyTimeIsYourTime(0) will contain a two digit number wqhich is the
fraction time 100.
Note that the Join function has a zero length string as the delimiter.
Jean-Paul wrote:> I understand you must be all curious about the reason why
I want to