Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default size/space problem with module1 in VB even though it is empty

Hi all

I have created a spreadsheet (xl97) using formulas, userforms and some
buttons spanning approx 7 worksheets. While new to vb, it's size seemed a
little large (740kb) and so I have done some investigating.

I first deleted the contents of module1 which decreased the file size to
624kb. I then progressively deleted all the worksheet contents (saving as I
went) until I got down to one worksheet and one with a number of charts on.
The filesize had progressively decreased to 382KB.

I then deleted my (empty) module1 and the filesize reduced to 93KB when
saved. Thats nearly 300KB stored in an empty module1. Can anyone shed some
light on the space waster for me.

Thanks
Tony.


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 535
Default size/space problem with module1 in VB even though it is empty

Hi Mcpheat,

I then deleted my (empty) module1 and the filesize reduced to 93KB when
saved. Thats nearly 300KB stored in an empty module1. Can anyone shed some
light on the space waster for me.


The VBE does a bad job cleaning up code that has been heavily edited. Much
of the stuff you changed/removed remains behind in the file somewhere.
That is why Rob Bovey has created his highly recommended Code Cleaner. Find
it at www.appspro.com or at www.bmsltd.ie/mvp

Regards,

Jan Karel Pieterse
Excel MVP
www.jkp-ads.com

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
How do I free up the space occupied by empty rows? davedadu Excel Discussion (Misc queries) 2 September 25th 09 05:37 PM
Trim Characters Other Than An Empty Space At The End Of A Cell K8_Dog Excel Worksheet Functions 5 April 19th 08 01:29 AM
repeat macro until empty space in next column Sabba Efie Excel Worksheet Functions 1 August 15th 06 09:08 PM
Empty space around charts when copying BillRobson Excel Discussion (Misc queries) 1 June 21st 05 06:08 PM
Empty space in formulas. Arla M Excel Worksheet Functions 4 January 27th 05 06:35 AM


All times are GMT +1. The time now is 02:06 PM.

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"