#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default Speed

I run a lot of code that will analyze large amounts of data, both in text
files and in other spreadsheets. Typically I populate an array with one set
of data and then go to the other set of data and compare the information and
keep a list of differences. The issue is speed. If I first open excel and
run one of these subs it goes pretty fast. But later in the day, I will
rerun the same sub and it is EXTREMELY slow. There may be other things
loaded in Excel and I have noticed if I kill the process, close excel and
restart it, I get the same speed I did initially. Is there another way to
get the same effect without closing excel and restarting it?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default Speed

If you are leaving various files open during the day, certain things are
retained in memory until the file is closed or Excel is teminated. Memory
storage can accumulate and cause slow processing since each previously stored
datum is checked to see if it applies to the current process. It does not
hurt to periodically shut Excel down and restart when you are going to run a
big procedure or do a lot of calculations.

"MikeH2" wrote:

I run a lot of code that will analyze large amounts of data, both in text
files and in other spreadsheets. Typically I populate an array with one set
of data and then go to the other set of data and compare the information and
keep a list of differences. The issue is speed. If I first open excel and
run one of these subs it goes pretty fast. But later in the day, I will
rerun the same sub and it is EXTREMELY slow. There may be other things
loaded in Excel and I have noticed if I kill the process, close excel and
restart it, I get the same speed I did initially. Is there another way to
get the same effect without closing excel and restarting it?

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
Speed this up for me, please Adrian D. Bailey Excel Programming 1 December 21st 06 12:52 AM
Is there any way to speed this up? Keith74 Excel Programming 5 December 15th 06 01:32 PM
Can you speed UP drag speed? Ryan W Excel Discussion (Misc queries) 1 October 24th 05 06:09 PM
Speed tjh Excel Programming 1 December 16th 04 05:49 PM
need for speed! Neil[_19_] Excel Programming 1 May 19th 04 10:25 PM


All times are GMT +1. The time now is 01:12 AM.

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

About Us

"It's about Microsoft Excel"