Workbook (very) slow inserting/deleting rows

dmacmillan

Board Regular
Joined
Apr 5, 2004
Messages
125
Hello All,

I am working on an operational forecasting model that is 45.2MB in ".xlb" format. Development requires coping an pasting of modules but it takes over two minutes to insert just one row.

I have removed files in XLSTART, removed unnecessary ".xla" files, removed conditional formatting and renamed the file.

A full calculation takes 2.1 seconds (timed using FASTExcel form Charles Williams).

Possibly the file is corrupted.

I would appreciate your thoughts ....

Many thanks,
David
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Did you check for unwanted (copied) shapes ?

Code:
for each sh in sheets
   msgbox sh.shapes.count
next

Did you check for double/triple etc. CF rules ?
Did you reduce teh usedrange tot a minimum ?
 
Upvote 0
Thank you for your thoughts snb_

I have checked the UsedRanges using JWalk's PUP v7.

Please explain the double/triple CF rules.

Thanks again,
David
 
Upvote 0
Are you running macros ?
Are they constantly updating value ?
 
Upvote 0
Forgot to add....maybe you should post the code you are using !!
 
Upvote 0

Forum statistics

Threads
1,222,180
Messages
6,164,423
Members
451,894
Latest member
480BOY

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top