ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Testing for Slow Routine (https://www.excelbanter.com/excel-programming/352070-testing-slow-routine.html)

ExcelMonkey

Testing for Slow Routine
 
I have a routine which is really slow. Gets slower as it runs. I am trying
to pin down the cause of it. I have a status bar which illustrates how it
slows down. Note the status bar itself can be part of the issue. Are there
any tests I can perform within the code to test for memory usage? I am
simply looping through sheet and cells and extracting data and printing to a
summary sheet(Using Set statement to create location for each paste). I am
looking for a way to prove to myself that something is eating up memory.

Thanks.

Niek Otten

Testing for Slow Routine
 
Post your code

--
Kind regards,

Niek Otten

"ExcelMonkey" wrote in message
...
I have a routine which is really slow. Gets slower as it runs. I am
trying
to pin down the cause of it. I have a status bar which illustrates how it
slows down. Note the status bar itself can be part of the issue. Are
there
any tests I can perform within the code to test for memory usage? I am
simply looping through sheet and cells and extracting data and printing to
a
summary sheet(Using Set statement to create location for each paste). I
am
looking for a way to prove to myself that something is eating up memory.

Thanks.




Norman Jones

Testing for Slow Routine
 
Hi ExcelMonkey,

See Charles Williams's DecisionModels site:

http://www.decisionmodels.com/optspeedd.htm


---
Regards,
Norman



"ExcelMonkey" wrote in message
...
I have a routine which is really slow. Gets slower as it runs. I am
trying
to pin down the cause of it. I have a status bar which illustrates how it
slows down. Note the status bar itself can be part of the issue. Are
there
any tests I can perform within the code to test for memory usage? I am
simply looping through sheet and cells and extracting data and printing to
a
summary sheet(Using Set statement to create location for each paste). I
am
looking for a way to prove to myself that something is eating up memory.

Thanks.




ExcelMonkey

Testing for Slow Routine
 
The code is too extensive to post as it is a full XLA with an extensive
userform. I could send you the xla itself.

EM

"Niek Otten" wrote:

Post your code

--
Kind regards,

Niek Otten

"ExcelMonkey" wrote in message
...
I have a routine which is really slow. Gets slower as it runs. I am
trying
to pin down the cause of it. I have a status bar which illustrates how it
slows down. Note the status bar itself can be part of the issue. Are
there
any tests I can perform within the code to test for memory usage? I am
simply looping through sheet and cells and extracting data and printing to
a
summary sheet(Using Set statement to create location for each paste). I
am
looking for a way to prove to myself that something is eating up memory.

Thanks.






All times are GMT +1. The time now is 12:26 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com