View Single Post
  #6   Report Post  
Posted to microsoft.public.excel.programming
Gord Dibben Gord Dibben is offline
external usenet poster
 
Posts: 22,906
Default Record time peroid to run code

Sub do_things()

StartTime = Timer

'do things

MsgBox Timer - StartTime

End Sub


Gord Dibben MS Excel MVP


On Fri, 8 Jan 2010 12:16:02 -0800, gotroots
wrote:

Hi

Is there a msgbox method that will record the length of time it take for
code to complete its execution.

Thank you.