ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Utility to "clean up" or "defrag" large Excel file (https://www.excelbanter.com/excel-discussion-misc-queries/64738-utility-clean-up-defrag-large-excel-file.html)

Sabrina

Utility to "clean up" or "defrag" large Excel file
 
Is there a tool/utility that I can run on a very large Excel file to
essentially "clean up" the file? This file has existed for a while - lots of
things added and deleted....I is there such a utility?

Thanks!

Gord Dibben

Utility to "clean up" or "defrag" large Excel file
 
Sabrina

Generally file size is increased due to Excel thinking the used range on sheets
is much larger than what it really is.

This is caused by adding rows and columns then clearing them. Excel still
retains these cells as "used".

See Debra Dalgleish's site for methods of resetting the used range on sheets.

http://www.contextures.on.ca/xlfaqApp.html#Unused

Also if you have a lot of VBA code in modules you can clean them up using Rob
Bovey's codecleaner add-in

http://www.appspro.com/Utilities/CodeCleaner.htm


Gord Dibben MS Excel MVP

On Thu, 12 Jan 2006 06:19:02 -0800, "Sabrina"
wrote:

Is there a tool/utility that I can run on a very large Excel file to
essentially "clean up" the file? This file has existed for a while - lots of
things added and deleted....I is there such a utility?

Thanks!



Bill Martin

Utility to "clean up" or "defrag" large Excel file
 
Sabrina wrote:
Is there a tool/utility that I can run on a very large Excel file to
essentially "clean up" the file? This file has existed for a while - lots of
things added and deleted....I is there such a utility?

Thanks!


------------------

The only sort of clean-up that I'm aware makes a meaningful difference is if
your file has accumulated a bunch of empty data rows for which Excel still
stores formatting information. It can sometimes double the size of your stored
file. Hit Ctrl-End on a sheet and if the cursor goes to a cell well beyond the
end of your actual data then you have an opportunity to get rid of some meta data.

Look at Debra's website for a solution (and a lot of other good stuff!)

http://www.contextures.com/xlfaqApp.html#Unused

If you have a bunch of disused macros then I suppose you can delete them too
though that's never made much improvement in my particular cases.

Good luck...

Bill

Bill Martin

Utility to "clean up" or "defrag" large Excel file
 
Bill Martin wrote:
Sabrina wrote:

Is there a tool/utility that I can run on a very large Excel file to
essentially "clean up" the file? This file has existed for a while - lots of
things added and deleted....I is there such a utility?

Thanks!



------------------

The only sort of clean-up that I'm aware makes a meaningful difference is if
your file has accumulated a bunch of empty data rows for which Excel still
stores formatting information. It can sometimes double the size of your stored
file. Hit Ctrl-End on a sheet and if the cursor goes to a cell well beyond the
end of your actual data then you have an opportunity to get rid of some meta data.

Look at Debra's website for a solution (and a lot of other good stuff!)

http://www.contextures.com/xlfaqApp.html#Unused

If you have a bunch of disused macros then I suppose you can delete them too
though that's never made much improvement in my particular cases.

Good luck...

Bill


----------------

Note that you may want to also check the current thread "Huge Files Don't Know
Why" on this board. Somebody there had a few hundred unused named ranges that
also took up space. Dave Peterson pointed to an automated solution there.

Bill


All times are GMT +1. The time now is 09:26 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com