display how long it takes to calc or timing certain events

G

GH

The glorious excel application that I have been constructing over the
past month is getting very sloooooowwwwww. I have done the obvious
like turning off screen updating and turning off automatic calculation
while the code is running and pasting stuff in cells.

Even the automatic calculation that executes when the user updates a
single cell is slow.

I would like to time how slow. Can you somehow display a clock or
timer to measure whether certain modification to the code improve the
speed? I would like to be able to quantify questions like: "How much
faster is the calculation if all UDF functions are made non-volatile?"
 
S

Stephen Bullen

Hi Gh,
I would like to time how slow. Can you somehow display a clock or
timer to measure whether certain modification to the code improve the
speed? I would like to be able to quantify questions like: "How much
faster is the calculation if all UDF functions are made non-volatile?"

If you can wait a few weeks, our book "Professional Excel Development"
includes a chapter about optimizing VBA performance and provides a
performance monitoring addin that does exactly what you require.

Regards

Stephen Bullen
Microsoft MVP - Excel
www.oaltd.co.uk
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top