Hmm.. I'm not seeing anything obvious, other than you have every single cell formatted to be Bold, Arial, 12 pt. But just copy/pasting the populated range of column A to a new sheet seems to take the slow down with it. I was only able to get rid of the slowdong using a macro that got just the populated data in column A formulas (which includes the raw values) and cell formats and pasted special it all into a brand new worksheet.
So, in a brand new Excel file, use the following macro. It will prompt you to select an Excel file. Select the one that contains the problem worksheet. Before you run the macro, make sure to update the strName from "AAA" to be the name of the actual worksheet.
How to use a macro:- Make a copy of the workbook the macro will be run on
- Always run new code on a workbook copy, just in case the code doesn't run smoothly
- This is especially true of any code that deletes anything
- In the copied workbook, press ALT+F11 to open the Visual Basic Editor
- Insert | Module
- Copy the provided code and paste into the module
- Close the Visual Basic Editor
- In Excel, press ALT+F8 to bring up the list of available macros to run
- Double-click the desired macro (I named this one OnlyKeepEveryThirdRow)
There, now you've run the macro, the file is open, and you have the sheet (OLD) and the sheet (NEW). the sheet (NEW) should be much faster. If that works, you can delete the sheet (OLD).
Bookmarks