Excel process slows down

  • Thread starter Thread starter Steven
  • Start date Start date
S

Steven

After running a macro a few times that is a little involved in sorting data
the macro starts to take a long time to complete. Why might that be? Can it
be fixed?

Thank you,

Steven
 
Hi Steven,

============
After running a macro a few times that is a little involved in sorting data
the macro starts to take a long time to complete. Why might that be? Can
it
be fixed?
============

To maximise your chances of a useful
response, try posting your code.
 
Same issue is outstanding:

The question is ; Can memory start to get used up and held onto and
therefore causing a macro to slow down? If that can happen then how can the
memory be cleared to gain back performance?
 
Steven,

Are you initating any object within the code? Then you should destroy the
object after the Sort finish. Please paste macro code here ane it will help.

i.e. If you are using this:
Dim oRange as EXCEL.Range
Set oRange = Range("MyRange")
----
 

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

Back
Top