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
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.