#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 93
Default Cleaning Up

It depends on what you macro does, if it adds charts or stores a large array
or the like it can get rather large indeed, seeting all of the variables to
0 and the emptying arrays is always a good idea

--
--
-John
Please rate when your question is answered to help us and others know what
is helpful.

"Rocks" wrote in message
...
Hello,
I recently was able to recover my Excel VBA Module from a corrupted Excel
File using OpenOffice Calc Application. After saving it back to an Excel
File I went back in and found every part of the File intact. I did notice
though that the size of the file was reduced in half, from 5.6 meg to 2.8
meg.
My question is,
Did my Code while running create all the extra size?
Is there a piece of code that I can append to the end of my program to
clean
up before exiting?

Thanks,
--
Rocks



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
Excel Cleaning RMT Excel Discussion (Misc queries) 4 November 6th 07 07:34 PM
Help with cleaning up a workbook. Dolphy Excel Discussion (Misc queries) 1 July 25th 07 07:32 AM
Cleaning Up Bob Phillips Excel Programming 0 January 2nd 07 01:37 PM
Cleaning up some code? Patrick[_14_] Excel Programming 3 August 16th 06 12:02 AM
Cleaning up some VB Ton Taetsch Excel Programming 1 November 16th 04 12:53 AM


All times are GMT +1. The time now is 06: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"