G
Gum
I have this:
Now() is current time.
Function myTime()
Dim t As Variant
t = Now() + TimeValue("00:00:20")
myTime= Format(t, "hh:mm:ss") & "." & Right(Format(Timer, "#0.00"), 2)
End Function
This adds 20 seconds to now()
I require to add milliseconds to Now() rather than seconds to get mytime().
How can this be done?
Now() is current time.
Function myTime()
Dim t As Variant
t = Now() + TimeValue("00:00:20")
myTime= Format(t, "hh:mm:ss") & "." & Right(Format(Timer, "#0.00"), 2)
End Function
This adds 20 seconds to now()
I require to add milliseconds to Now() rather than seconds to get mytime().
How can this be done?