Time a sub routine in thousanths of a second
With the following code provided by this forum I'm able to pause a sub
routine in thousanths of a second.
Is there a way to time how long it takes a sub routine to run in thousanths
of a second?
Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
Sub SleepOneSecond()
Sleep 1000
End Sub
--
Regards,
Rocky McKinley
|