Time to complete code/function
interesting, thanks one and all for the replies
"witek" wrote:
John wrote:
Is there a way for VBA to capture how long it takes for a piece of code or
user defined function to run? Like how fast it is on calculating a simple
UDF?
:)
Declare Function GetTickCount Lib "kernel32" () As Long
Dim longStart As Long, longStop As Long
longStart = GetTickCount
......
longStop = GetTickCount
|