Sub ElapsedTime()
Dim StartTime As Double, EndTime As Double
'Stores start time in variable "StartTime"
StartTime = Timer
'Place your code to be timed here
'Stores end time in variable "EndTime"
EndTime = Timer
'Prints execution time in the debug window
Debug.Print "Execution time in seconds: ", EndTime - StartTime
End Sub
Copied from MSDN
Blog ini bukan sebagai rujukan untuk programmer: Tetapi adalah blog peribadi saya yang bekerja sebagai PROGRAMMER. Tp sikit2 code skeleton adalah kot :) Yeah....
WARNING - THIS SITE IS NOT FOR PROGRAMMER REFERENCE YEAH!!
Thursday, July 9, 2009
More simpler Counting Elapsed Time with milisecond - VB6
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment