estimating execution time in VBA

5hima

New Member
Joined
Apr 24, 2018
Messages
3
Hi! :)

I was wondering if there is a code to ESTIMATE run time of a macro (before going through all of the loops and calculations).

I already incorporated elapse time and timer but the result comes out after the total execution of the codes and hence shows how long it took place.

Any help or suggestion is appreciated.
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
Welcome to the forum.

There is no such code that I know of - there would be far too many variables.
 
Upvote 0
Welcome to the forum.

There is no such code that I know of - there would be far too many variables.

thank you :). I didn't find any on the web either. My colleague developed a macro in which before doing the calculation and showing the result, a pop up about execution time appears. That made me wonder!
T
 
Upvote 0
I imagine that was a guess on his part, or based on some test runs.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,177
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top