|
Question : Excel too slow.
|
|
Hi all, I have a problem with my excel file. My excel file contain a sheet (about 50 000 rows). When I put data into a cell, after 1 minute, he appear. And more, when I insert or delete a row, it is too slow (3 or 4 minutes for a event). First time, I thought the virus, but I scan and nothing. How can I do to faster. Please help me. Thanks
|
|
Answer : Excel too slow.
|
|
NMD,
Here's a list from 'fanpages' that you should work through to ensure your file is no larger than it truly needs to be. Apart from that have a look at your swap file as described below...
From fanpages:
To reduce the overall size of an Excel workbook, you may like to try one/more of these suggestions:
* Don't save as dual format file (Excel 95/97); use the most recent version of Excel you (and your intended) audience will have access to - for instance, "Excel 2002", or "Excel 2000"? However, save in the oldest copy of MS-Excel you can, then re-save in the latest revision you can. Doing this may reduce overall size.
* If you notice that the vertical or horizontal scroll-bar(s) go(es) past the end of your data, you can clear the blank rows & columns beyond the extent of your data:
a) Go to the bottom row of data & then select the entire next row by clicking on the row number (in the "margin"). Use [Ctrl]+[Shift]+[Down Arrow] to select all the remaining rows in the worksheet, then click the "Edit" / "Clear" menu item to clear the rows of values & formats.
b) Go to the far right column of data & select the entire next column by clicking on the column letter. Use [Ctrl]+[Shift]+[Right Arrow] to select all the remaining columns in the worksheet. As before, use the "Edit" / "Clear" menu item to clear the columns of values & formats.
Repeat the above steps for each worksheet in your workbook where you can scroll past the end of your data. Finally, save the workbook, and close it. Upon re-opening the scroll-bars should now extend only as far as the data.
* Format your cells in continuous ranges (blocks) rather than individually setting the formats of distinct cells. For example, if all of row 1 is "size 12, arial, bold" do not set A1, B1, C1, D1, E1 (etc) separately, just select row 1 & apply the same style to each cell at once. Formatting in this manner can also be used with colo[u]rs (cell foreground & background), fonts, font sizes, font styles. Try to apply the same formatting to single or multiple columns, and/or rows, and make individual cells the exceptions, rather than apply formatting to individual cells one by one.
* Refresh any queries or pivot tables with (select critieria that references) the least amount of data possible.
* Research (via Help) & use inbuilt bespoke functions rather than writing your own code.
* Reduce the length of Range names so that they are still meaningful, but not as verbose.
* If you have any (auto) filtering enabled in your workbook, across one, or more, worksheets, remove this, or reset it back to "(All)" prior to saving.
* Remove any unused worksheets, or any unused VBA code (or pre-recorded macros).
* You may like to try exporting (right-click tab and select "Copy To" 'New Book') all your worksheets into a new workbook & then saving this newly created book as a different filename. When comparing the two files you may notice a vast difference.
===
From me!
Two items:
1. Have you checked the size of the Page File (sometimes referred to as the Swap File). As they say size matters. Have a look in Start/ControlPanel/System/Advanced/PerformanceSettings/Advanced/VirtualMemory To change the setting Press the Change button and make the changes there.
I have 0.5Gb RAM and 88Gb of HDD and my Page file is set at 1532Mb. However I do not have any really large files. To change the setting Press the Change button and make the changes there.
2. How much RAM do you have installed. It will need to be 512Mb of RAM installed and if you can afford it increase it to 1Gb
====
Hope that all helps you improve the performance of your machine/workbook.
Patrick
|
|
|
|