Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default File size grows enormously

I have an Excel sheet with lost of VBA code in. This
includes forms. The file is about 3mb big. Recently, if I
only include minimal code and save it, it will be 6mb,
next save :12 mb ect. I realised this after my computer
kept crashing, that my file is 120mb big!! please help!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default File size grows enormously

Hi Chris,

Three suggestions:

1. See Debra Dalgleish's recommendations:

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

2. Download Rob Bovey's CodeCleaner AddIn:

http://www.appspro.com/Downloads/CodeCleaner.exe

3. Use both of the above.


---
Regards,
Norman




"Chris" wrote in message
...
I have an Excel sheet with lost of VBA code in. This
includes forms. The file is about 3mb big. Recently, if I
only include minimal code and save it, it will be 6mb,
next save :12 mb ect. I realised this after my computer
kept crashing, that my file is 120mb big!! please help!



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 244
Default File size grows enormously

Thanks Norman.

The code cleaner does not solve my problem. I opened a 9mb
file, ran the codecleaner, and after saving it as another
filename, it was 16 mb.

Which recommendations of Debra do you mean? (Its not that
my system crash, the file sizes just keeps growing when I
save them)

-----Original Message-----
Hi Chris,

Three suggestions:

1. See Debra Dalgleish's recommendations:


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

2. Download Rob Bovey's CodeCleaner AddIn:


http://www.appspro.com/Downloads/CodeCleaner.exe

3. Use both of the above.


---
Regards,
Norman




"Chris" wrote in message
...
I have an Excel sheet with lost of VBA code in. This
includes forms. The file is about 3mb big. Recently, if

I
only include minimal code and save it, it will be 6mb,
next save :12 mb ect. I realised this after my computer
kept crashing, that my file is 120mb big!! please help!



.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 21
Default File size grows enormously

John Walkenbach refers to this problem on his website.

The best way around it is:

1. Save a copy of the workbook (somewhere safe)
2. Remove all forms and modules (say YES to export them)
3. Save the workbook (not over that saved in 1 above !!)
4. close the workbook
5. Open the workbook in 3 above
6. import the forms and modules
7. Save the workbook.

This should result in a considerable decrease in size.

By the way - I have used this successfully for years, and
it always works
Good luck


-----Original Message-----
Thanks Norman.

The code cleaner does not solve my problem. I opened a

9mb
file, ran the codecleaner, and after saving it as another
filename, it was 16 mb.

Which recommendations of Debra do you mean? (Its not that
my system crash, the file sizes just keeps growing when I
save them)

-----Original Message-----
Hi Chris,

Three suggestions:

1. See Debra Dalgleish's recommendations:


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

2. Download Rob Bovey's CodeCleaner AddIn:


http://www.appspro.com/Downloads/CodeCleaner.exe

3. Use both of the above.


---
Regards,
Norman




"Chris" wrote in message
...
I have an Excel sheet with lost of VBA code in. This
includes forms. The file is about 3mb big. Recently,

if
I
only include minimal code and save it, it will be 6mb,
next save :12 mb ect. I realised this after my computer
kept crashing, that my file is 120mb big!! please help!



.

.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
one column grows as another one grows excel 2003 Doctorteeth Excel Discussion (Misc queries) 0 February 9th 11 09:27 AM
Size of file grows RobertK Excel Discussion (Misc queries) 4 September 22nd 09 11:21 PM
file size grows so big zy1972 Excel Discussion (Misc queries) 1 August 13th 08 02:36 PM
Check box gets weird size when cell height grows Rene Excel Discussion (Misc queries) 1 March 20th 08 02:44 PM
Shared Workbook inexplicably grows in size Bob Excel Discussion (Misc queries) 0 August 18th 06 01:29 PM


All times are GMT +1. The time now is 08:15 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"