View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
jfeka[_2_] jfeka[_2_] is offline
external usenet poster
 
Posts: 5
Default What's causing file to increase in size and slow program?

I'm completely baffled.

I hope someone can help.

I created a workbook in which I copy information which is
in a table on a web page and paste this directly into
Excel.

Then I run a macro which reformats this data, and sorts
it a couple of times in different sections.

Two problems have arisen.

First, whenever the data is copied from the Webpage, it
seems to take a very long time before the paste in Excel
finished doing it's thing and allows me to manipulate the
data. This problem has been there from the very
beginning. Always a long delay between doing the "Copy"
of the selected data, and Excel finishing the "Paste"
function.

Next, problem is something that has only come to light
recently. The macros have started running slower and
slower. It has gotten to the point where it now takes
about 15 or 20 minutes to sort about 30 lines of data
(about 30 columns).

I've noted that the Excel file has become humoungous in
size...well over 9 MB, which makes me think that somehow
the file is accumulating a lot of garbage, but I can't
see anything except for the data and formulas which I put
in the cells. I'm very suspicions that the bloated size
has something to do with the problem because at one point
Excel closed and generated a recovered file which
contained most of the formulas except for a pair of user
defined functions, and this only occupied about 150 KB
when it was saved.

Oh, I've tried clearing out all my temp files ...that
doesn't make any difference.

What can I try next?

Jack