ran large macro, workbook now slow

egris52788

Board Regular
Joined
Mar 6, 2003
Messages
114
I have a workbook that is relatively small in size, i colored a number of rows, then ran a macro that deleted the color from a1000 to az1000000. Now the workbook takes 10 minutes to open and to save. I have since deleted that macro, shut excel down, turn computer off, etc. and it is still slow now. any ideas?
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
Any time you Format an entire Row or Column, you are formatting a lot more cells than you need. Deleting the color does not remove the fact that the cell is Formated, it just changes the color. You need to delete the cell to tell Excel it is no longer being used.
Try hitting Ctrl-End and see where your cursor ends up. That is the end of your used data.
Any Formatting outside that range is loading your computer with an un-needed burden.
 
Upvote 0
workbook now slow

sometimes Err's like that...
that time...
1. blank sheet insert
2. used cell copy (if used a1:s20 , a1:s20 select and copy)
- use Paste Special -
3. paste formulas (a1:s20)
4. paste cell formats (a1:s20)
5. use macro adjust columnwidth and rowheight

adjust as below
Code:
Sub x()
Dim i
For i = 1 To 5
ActiveSheet.Cells(1, i).ColumnWidth = Sheets("sheet2").Cells(1, i).ColumnWidth
Next

For i = 1 To 5
ActiveSheet.Cells(i, 1).RowHeight = Sheets("sheet2").Cells(i, 1).RowHeight
Next
End Sub
 
Upvote 0

Forum statistics

Threads
1,214,667
Messages
6,120,822
Members
448,990
Latest member
rohitsomani

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