• Privacywetgeving
    Het is bij Helpmij.nl niet toegestaan om persoonsgegevens in een voorbeeld te plaatsen. Alle voorbeelden die persoonsgegevens bevatten zullen zonder opgaaf van reden verwijderd worden. In de vraag zal specifiek vermeld moeten worden dat het om fictieve namen gaat.

Bestand blowing up

Status
Niet open voor verdere reacties.

cloosen

Gebruiker
Lid geworden
27 dec 2005
Berichten
99
Goeroe's :),

Wellicht dat jullie mij op weg kunnen helpen. Ik heb een groot bestand (met meerdere macro's, gehide sheets etc.). Iedere keer als ik nu iets simpels wijzig wordt het bestand enorm veel groter (van 60 MB naar 180 MB etc.). Enig idee hoe dit komt en hoe ik dit kan gaan oplossen..?

Many many thanks!! :thumb:
 
Ik heb een paar keer gezien dat een excel-bestand zo groot kan worden.

Bij mij gebeurde dit zodra ik een werkblad volledig gevuld heb. Dus tot op de laatst mogelijke cel. Dit kan soms ongemerkt gebeuren, als je alle cellen (bv dmv het knopje links bovenin) een achtergrondkleur geeft.

Sowieso vindt ik een excel bestand van 60 mb al inmens groot.
 
Ik zou al eens beginnen met op elk werkblad alle rijen na de laatst gevulde rij te verwijderen (tem 65536). Niet deleten maar de rijen echt verwijderen.

Mvg

Rudi
 
Unfortunately it is not too uncommon to have an Excel Workbook increase in file size for no apparent reason. Below are some methods to overcome this problem, that should be performed in the order stated! Please note OzGrid accepts no responsibility for any loss of data. This means save a copy of your Workbook first. After each step Save and check the File size by going to File>Properties/General If it has reduced the file size you shouldn't need to go any further!

1. Avoid saving as multiple versions. Save as "Microsoft Excel Workbook (*.xls). You can make this the default by going to Tools>Options/Transition and selecting Microsoft Excel Workbook from the Save Excel files as Combobox. This alone can reduce file size by 50%


2. Do the following to ALL Worksheets. Select any single cell then push F5, click Special and check the "Blanks" option and click Ok. Now go to Edit>Clear>All. Manually go to the last used row in the Worksheet (do not use Edit>Go to-Special "Last Cell"). Select the entire row beneath, then holding down the Ctrl+Shift key push the Down Arrow. This should select all unused rows. Now go to Edit>Clear>All. Do the same for the Columns. Now Save.


3. Right click on any sheet name tab and select "Select all sheets". Now right click again and select "Move or copy" Check the Create a copy option then choose "(New Book)" and click Ok. Save this new Workbook as any name and check it's file size via File>Properties/General. If no dramatic difference delete one sheet at a time and Save, each time check it's file size via File>Properties/General and see if there has been a disproportional reduction in file size. If there has, the Worksheet may have been corrupt, go back to the the original Workbook and copy the entire contents of the possibly corrupt Worksheet. Come back to the new Workbook, insert a new Worksheet and paste the data onto it. If this does not help you may need to delete a few rows at a time (Saving each time) until you find the offending row(s).


4. If you have Modules and/or UserForms in the Workbook, open the VBE (Alt+F11) and right click on each in the "Project Explorer" (Ctrl+R) and Export. Now, in a new Workbook again open the VBE and go to File>Import File.. and import all Modules and UserForms into this Workbook. Use the Move or copy method (as shown in step above) to copy all sheets into this Workbook then Save.

Bron: http://www.ozgrid.com/News/FileSizeLinksSheetRanges.htm, unusual file size increases
 
Status
Niet open voor verdere reacties.
Terug
Bovenaan Onderaan