Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 389
Default Excel process slows down

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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 421
Default Excel process slows down

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.



---
Regards.
Norman

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 389
Default Excel process slows down

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?
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 25
Default Excel process slows down

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")
----
--
--
Set oRange = Nothing

Malik


"Steven" wrote:

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?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel worksheet slows computer stevieray Excel Worksheet Functions 1 June 3rd 06 02:05 AM
Excel slows down for no(?) reason... thekovinc Excel Discussion (Misc queries) 0 December 6th 05 06:01 PM
How to count process running time ( process not finished) miao jie Excel Programming 0 January 13th 05 09:23 AM
How to count process running time ( process not finished) miao jie Excel Programming 2 January 12th 05 06:01 AM
Excel macro slows down on second run lee777 Excel Programming 2 June 17th 04 02:28 PM


All times are GMT +1. The time now is 07:45 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"