Deleting Formulas Taking Excessive Time

gwm

New Member
Joined
Jan 24, 2005
Messages
7
I'm running Excel 2002 on Windows 2000 V5.0.

I have a spreadsheet in which a user loads data into an input area. The spreadsheet has two buttons that execute VB macros. The first button is used to analyze the data and copies formulas onto several existing tabs. This first button typically takes about 3 minutes to execute. The second button simply deletes the formulas copied by the first button (deleting formulas in the reverse order that they were created) and restores the spreadsheet to the state it was in before the first button was pushed. This second button takes over 17 minutes to complete.

I'm trying to see if there is a way to get Excel to do the formula deletes quickly. (I'm assuming that Excel is trying to maintain cell recalculation flags or something and that is making the delete time long. If so, can this function be turned off? I turned the calculation mode to manual, but that doesn't seem to speed things up.)
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.

Forum statistics

Threads
1,214,653
Messages
6,120,752
Members
448,989
Latest member
mariah3

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