Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I would like to time the speed of a macro. I currently use this code, but
the StartTime and EndTime are the same, is that right? I don't think the Time function is precise enough. Is there a accurate way of timing the speed of a macro? Sub TimeMacro() Dim StartTime As Single Dim EndTime As Single StartTime = Time Debug.Print "Start Time = " & StartTime ' my code here EndTime = Time Debug.Print "End Time = " & EndTime Debug.Print "Elapsed Time = " & EndTime - StartTime End Sub -- Cheers, Ryan |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Calculating Time from Speed and Distance? | Excel Worksheet Functions | |||
Time the Execution Speed of Procedure in Milliseconds | Excel Programming | |||
Excel 2002: Need to speed up calculation and response time | Excel Discussion (Misc queries) | |||
How do I get speed given time (hh:mm:ss) and distance in Excel? | Excel Worksheet Functions | |||
How to calculate speed given distance and mm:ss time format? | Excel Discussion (Misc queries) |