Laptop has 3gb, and a dual core processor.
Have cleaned up a sample spreadsheet using all your other techniques, and got it to b 5mb smaller than it was, its still take a while to open... however the ultimate test will be tonight when I try it on the main laptop that needs the file.
Long opening time = acceptable
Freezing when pressing CTRL + F not
Will get back to you in a few hours with the results of the test.
Thanks for the great tip, very concise
Main Topics
Browse All Topics





by: patrickabPosted on 2009-09-10 at 02:10:59ID: 25298491
mvwmail,
AdvancedTa b/Performa nceSetting s/Advanced Tab/Virtua lMemory/Ch ange and set it to a decent size to cope with such a humungous workbook. Experiment with settings - or allow the system to manage it.
e.com/Appl ications/M S_Office/E xcel/ Q_217 14368.html #15817119
Before you rebuild the offending laptop I suggest that the problem is with both the Excel workbook and perhaps with some settings/configuration of the laptop. Have a look at:
1. The size of the installed RAM. Laptops are notorious for being under-resourced with RAM. Install a minimum of 3Gb RAM.
2. Check the size of the PageFile - Start/ControlPanel/System/
3. Work through this check list:
Minimising Excel file size fanpages) list
http://www.experts-exchang
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.
* If you regularly save data across a network (i.e. is the workbook stored on a network), or is it 'Shared'? If 'Shared', try unsharing & saving locally, re-share & then save back to the network.
4. Eliminate the use of volatile functions. They are:
RAND(), NOW(), TODAY(), OFFSET(), CELL(), INDIRECT(), INFO().
Despite claims, these are not volatile: INDEX(), ROWS(), COLUMNS(), AREAS().
That's it for the moment.
Patrick