#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,814
Default Compact

I have created an Excel solution for a client, but with User Forms and
modules the file has gotten rather large. I realize there is no compact and
repair, as in Access, within Excel. Can anyone give me instructions on how
to export modules into a new spreadsheet file, or what is the best way to try
and reduce the file size.

Thanks,

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default Compact

Hi Steve,

For the Code modules consider using Rob Boveys's CodeCleaner addin which is
freely downloadable at:

http://www.appspro.com/Utilities/CodeCleaner.htm


For the worrksheets, see Debra Dalgleish' advice on resetting the UsedRange
at:

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


---
Regards,
Norman



"Steve" wrote in message
...
I have created an Excel solution for a client, but with User Forms and
modules the file has gotten rather large. I realize there is no compact
and
repair, as in Access, within Excel. Can anyone give me instructions on
how
to export modules into a new spreadsheet file, or what is the best way to
try
and reduce the file size.

Thanks,



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,814
Default Compact

Ok, thanks. I have downloaded the CodeCleaner and installed it, but how do I
make it run? How does it clean the code, so to speak?


"Norman Jones" wrote:

Hi Steve,

For the Code modules consider using Rob Boveys's CodeCleaner addin which is
freely downloadable at:

http://www.appspro.com/Utilities/CodeCleaner.htm


For the worrksheets, see Debra Dalgleish' advice on resetting the UsedRange
at:

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


---
Regards,
Norman



"Steve" wrote in message
...
I have created an Excel solution for a client, but with User Forms and
modules the file has gotten rather large. I realize there is no compact
and
repair, as in Access, within Excel. Can anyone give me instructions on
how
to export modules into a new spreadsheet file, or what is the best way to
try
and reduce the file size.

Thanks,




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default Compact

Hi Steve,

Run the downloaded exe file which invokes an automatic installation process.

The CodeCleaner may then be called from the VBA or Excel Tools menus.

If you are using xl2002 or later, note Rob's instructions:

'===============================

Note to Excel 2002 (XP) and Excel 2003 Users
There is a new level of code security in Excel 2002 and higher versions that
you must disable in order for the Code Cleaner to operate. Choose Tools
Macro Security from the Excel menu and click the Trusted Sources tab. At
the bottom of this tab you'll see a checkbox labeled Trust Access to Visual
Basic Project. Check this option and click OK to enable the Code Cleaner to
run.
'===============================

---
Regards,
Norman



"Steve" wrote in message
...
Ok, thanks. I have downloaded the CodeCleaner and installed it, but how
do I
make it run? How does it clean the code, so to speak?


"Norman Jones" wrote:

Hi Steve,

For the Code modules consider using Rob Boveys's CodeCleaner addin which
is
freely downloadable at:

http://www.appspro.com/Utilities/CodeCleaner.htm


For the worrksheets, see Debra Dalgleish' advice on resetting the
UsedRange
at:

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


---
Regards,
Norman



"Steve" wrote in message
...
I have created an Excel solution for a client, but with User Forms and
modules the file has gotten rather large. I realize there is no
compact
and
repair, as in Access, within Excel. Can anyone give me instructions on
how
to export modules into a new spreadsheet file, or what is the best way
to
try
and reduce the file size.

Thanks,






  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 860
Default Compact

Hi Steve,

Steve wrote:
I have created an Excel solution for a client, but with User Forms and
modules the file has gotten rather large. I realize there is no
compact and repair, as in Access, within Excel. Can anyone give me
instructions on how to export modules into a new spreadsheet file, or
what is the best way to try and reduce the file size.


You could try running Rob Bovey's VBA Code Cleaner:

http://www.appspro.com/Utilities/Utilities.htm

--
Regards,

Jake Marx
MS MVP - Excel
www.longhead.com

[please keep replies in the newsgroup - email address unmonitored]


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 TO COMPACT AN EXCEL FILE CAPTGNVR Excel Discussion (Misc queries) 3 February 1st 07 07:34 PM
This formula needs to be more compact. britgirl Excel Worksheet Functions 2 December 30th 05 01:58 AM
Compact Workbook naiveprogrammer Excel Discussion (Misc queries) 3 October 25th 05 02:48 AM
Compact Excel Spreadsheet Newbie Excel Programming 1 February 11th 04 08:41 PM
How to compact an Excel file with VBA Neil Bhandar Excel Programming 1 October 1st 03 02:58 AM


All times are GMT +1. The time now is 04:55 PM.

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

About Us

"It's about Microsoft Excel"