Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
kim kim is offline
external usenet poster
 
Posts: 1
Default excel file size problems

I have an excel file that I've been working with for over a year -
developing Macros and running them to develop a product for my job on
a quarterly basis. My spreadsheet has grown by 10 times (1200kb to
12,000kb) over time, but I haven't added a lot of data. Can you help
me figure out the problem and fix it?

Thanks

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27
Default excel file size problems

It may be a problem with some blank cells in your spreadsheet. Try
deleting the unused rows after your data down to row 65500 and see
whether this reduces the size of your file.

Faisal...

On 5 Nov, 12:22, kim wrote:
I have an excel file that I've been working with for over a year -
developing Macros and running them to develop a product for my job on
a quarterly basis. My spreadsheet has grown by 10 times (1200kb to
12,000kb) over time, but I haven't added a lot of data. Can you help
me figure out the problem and fix it?

Thanks



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,090
Default excel file size problems

To add to what Faisal says, on each sheet do the following. Scroll to what
you know to be the last used cell in the sheet. Note the cell address.
Now do Ctrl-End on your keyboard. That takes you to the cell that Excel is
using as the last used cell of your sheet. That cell, in part, determines
the size of your file.
If Excel's last used cell is vastly different than your last used cell, that
might explain the large file size.
To correct this, do this. Let's say that your (not Excel's) last used cell
is D100.
Select row 101. The whole row, not a cell in the row.
Do Ctrl-Shift-Down Arrow. This selects all the rows below your data. With
your mouse pointer in the selected area, right-click and click on Delete.
Then click on Column E. The column, not a cell in the column. Do
Ctrl-Shift-Right Arrow. As before, click on Delete.
Save the file.
Close the file.
See how large the file is.
HTH Otto
"kim" wrote in message
ups.com...
I have an excel file that I've been working with for over a year -
developing Macros and running them to develop a product for my job on
a quarterly basis. My spreadsheet has grown by 10 times (1200kb to
12,000kb) over time, but I haven't added a lot of data. Can you help
me figure out the problem and fix it?

Thanks



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 417
Default excel file size problems

You might have to export all code modules, then delete them from the
workbook and compile and save the workbook to clean all the symbol tables.
Then re-import all code modules, re-compile, and save again.

There is a VBA code cleaner by Rob Bovey that could be used for this
purpose.
See http://www.appspro.com/Utilities/CodeCleaner.htm
--
Regards,
Bill Renaud



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
code to check file size everytime an Excel file is opened Kaiser[_2_] Excel Programming 2 July 30th 06 05:46 PM
Does excel VBA programme has a size limit? Or some other problems caused this problem? [email protected] Excel Programming 3 June 20th 06 05:06 PM
Unable to open excel file and when view the file size show as 1 KB Kamal Siva Excel Discussion (Misc queries) 1 March 7th 06 03:23 AM
Problems merging an excel file due to code or file problems? Cindy M -WordMVP- Excel Programming 0 September 14th 04 02:58 PM
How to get the size of the excel file, a sheet size (in bytes)? bookworm98[_13_] Excel Programming 1 January 28th 04 02:59 PM


All times are GMT +1. The time now is 10:22 AM.

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"