Steve,
Definitly use the Code Cleaner.
Compile your code.
There are many things that inflate a file size: (hopefully you already know
most of these)
1. How many cells does excel think you are using. Use Ctrl+End to see
where you end up on
each worksheet. You may find some going all the way to column #256, or
to the last row,
when you only intended to use (say) A1:M512 (this is a common killer)
2. Formulas are a load. Watch your file expand rapidly when you add
hundreds or thousands
of formulas to cells. Maybe your code could quickly calculate the
results and put values into
the cells.
3. How many different fonts, colors, borders are you using. The more
variations in formatting adds
bulk to a file.
4. The number of forms and controls on forms could load the program down.
Can you simplify
these or simply create them at runtime.
5. Check the number of fonts, and the number of custom number formats -
these help load the size
of the file.
6. Simplify your code modules. If you are duplicating code in different
modules - break out that
part of the code into a single module and call it from the other
modules.
7. Make sure you have removed as much select or selection from the code as
possible. (This
helps stream line the code so that it works faster and uses fewer lines)
8. Are you using With ... End With statements - these help shorten and
simplify code.
9. [and there are probably many, many more....]
In summary - simplify, simplify, simplify... and than do it again...