LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default XL 2007 - grinding down to a halt after many rows - no objects,shapes or pagesetups

In XL 2007, I have a sheet with between 100 and 30000 rows at any one
time, across 40+ columns. Many have formulae in them.

The code takes a list of up to 10000 unique 10 digit numbers from
another reference sheet and puts them in an array. Each row of our
target data is checked against the array via 2 'for' loops.

A positive check results in some existing data in the target's columns
to be changed to alternative text.

A comment field up to 60 chars large receives a 5 alpha comment
appended to existing comments.

No objects or shapes are referenced. No pagesetup code is used or
performed prior to running the code (a recognised boo-boo for XL 2007)

Display update is suspended. Calculate is suspended.

However, if the target data has more than several thousand rows to
parse, the code grinds to a near halt. I can tell this because I have
a progress bar which starts very fast then slows right down and can
eventually even reach near zero progress. If I can break the run in
time, the sheet becomes molasses to negotiate. Other sheets it the
same workbook are fine and responsive.

So I check the blank cells for hidden data or formulas. None.
There is no new data at all, only replaced data. Update and Calculate
is restored. Formulas recalculate. Save the book and reopen in new XL
session. Still molasses. Book has doubled in size.

Thoughts:
Haven't been able to run in XL 03 to test if it's a 2007 problem.
There are OnChange events in the workbook, which I assume suspend
during the running of my code. In any case, why does the book still
get slulggish save/after reopen, etc.

Equipment: Core 2 Duo, 2 Gb RAM. XPSP3, XL 2007 SP2

tia,
I.D.
 
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
Deleting shapes/objects from a selected area Tim Excel Programming 1 October 23rd 04 01:00 AM
Deleting shapes/objects from a preselected area Tim Excel Programming 1 October 22nd 04 08:03 PM
Trying To Store Shapes/Objects to an array ?? Tom Ogilvy Excel Programming 2 September 21st 04 09:49 PM
Trying To Store Shapes/Objects to an array ?? Dan Thompson Excel Programming 0 September 21st 04 08:37 PM
Selecting drawing objects or shapes in a macro John DeFiore Excel Programming 3 October 13th 03 02:26 PM


All times are GMT +1. The time now is 07:49 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"