Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
TIMING EXECUTION DURATION!
This macro when added to my code should write the time duration it takes
for my code to execute (from start to finish) in minutes or seconds in Range("A1") as a string like "Total Execution Time: X seconds". Any help would appreciated! Thanks Jay *** Sent via Developersdex http://www.developersdex.com *** |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
TIMING EXECUTION DURATION!
Dim nTime As Double
nTime = Timer ... your code Next Range("a1")Value ="Total execution time: " & Timer - nTime & " seconds" -- HTH Bob Phillips (replace somewhere in email address with gmail if mailing direct) "jay dean" wrote in message ... This macro when added to my code should write the time duration it takes for my code to execute (from start to finish) in minutes or seconds in Range("A1") as a string like "Total Execution Time: X seconds". Any help would appreciated! Thanks Jay *** Sent via Developersdex http://www.developersdex.com *** |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Timing VBA code | Excel Programming | |||
Timing/loading bar | Excel Programming | |||
Timing a macro | Excel Discussion (Misc queries) | |||
Timing loop help please | Excel Programming | |||
timing a sub procedure | Excel Programming |