Use:
Sub test2()
starttime = Now()
' your code here
endTime = Now()
totTimeSec = Round(((endTime - startTime) * (24 * CLng(3600))), 1)
MsgBox (totTimeSec & " seconds")
End Sub
- Mangesh
Use:
Sub test2()
starttime = Now()
' your code here
endTime = Now()
totTimeSec = Round(((endTime - startTime) * (24 * CLng(3600))), 1)
MsgBox (totTimeSec & " seconds")
End Sub
- Mangesh
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks