View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
colofnature[_83_] colofnature[_83_] is offline
external usenet poster
 
Posts: 1
Default Time consumption in macros


At the start of your code put in the line:

start_time = Now


and at the end put:

msgbox "Seconds elapsed: " & int((now-start_time)*86400)


Col


--
colofnature
------------------------------------------------------------------------
colofnature's Profile: http://www.excelforum.com/member.php...o&userid=34356
View this thread: http://www.excelforum.com/showthread...hreadid=560703