Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Procedure

Status
Not open for further replies.

Informatic

Programmer
Oct 4, 2002
34
DE
Hello...

How can I see how long a procedure is being run.

Can somebody Help me....
 
Put these lines at the start of your function

Code:
Dim datTimestamp As Date
datTimestamp = Now()

and these at the end

Code:
Debug.Print ((Now() - datTimeStamp) * 24 * 60 * 60) & " seconds"

Then watch your debug window as the procedure runs to see how long it is taking. Is this what you're after? [pc2]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top