Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default file size too big!


Hi

I have an excel file with macros and one form. The worksheet has 70
rows and 7 columns of data. Its size is 2.14 MB!!!

However if I copy-paste all the values, the form and the module t
another workbook, the new workbook's size is 100 KB...

Any explanations?

Thank you

--
pmguerr
-----------------------------------------------------------------------
pmguerra's Profile: http://www.excelforum.com/member.php...fo&userid=1498
View this thread: http://www.excelforum.com/showthread.php?threadid=53448

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,440
Default file size too big!

You may have many more cells formatted. See

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


--
Kind regards,

Niek Otten


"pmguerra" wrote in message
...
|
| Hi
|
| I have an excel file with macros and one form. The worksheet has 700
| rows and 7 columns of data. Its size is 2.14 MB!!!
|
| However if I copy-paste all the values, the form and the module to
| another workbook, the new workbook's size is 100 KB...
|
| Any explanations?
|
| Thank you!
|
|
| --
| pmguerra
| ------------------------------------------------------------------------
| pmguerra's Profile: http://www.excelforum.com/member.php...o&userid=14986
| View this thread: http://www.excelforum.com/showthread...hreadid=534485
|


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 94
Default file size too big!

You might want to look at this free Excel add-in utility which can clean
Excel projects:

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

Regards,
Edwin Tam

http://www.vonixx.com


"pmguerra" wrote:


Hi

I have an excel file with macros and one form. The worksheet has 700
rows and 7 columns of data. Its size is 2.14 MB!!!

However if I copy-paste all the values, the form and the module to
another workbook, the new workbook's size is 100 KB...

Any explanations?

Thank you!


--
pmguerra
------------------------------------------------------------------------
pmguerra's Profile: http://www.excelforum.com/member.php...o&userid=14986
View this thread: http://www.excelforum.com/showthread...hreadid=534485


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,092
Default file size too big!

Usually it is leftover "Used Range" space where old data was cleared from
the cells but not deleted. Excel remembers where things used to be so you
can use the "Undo" feature. However, it is not very good at cleaning up
after itself. To check for this, hit Ctrl+End. That will move the cursor to
the bottom right corner of the sheet's "Used Range". In your case it should
be G700. I suspect it will end up way down from there. You will want to
DELETE the entire rows and columns that are between your data and the ends
of the Used Range. once deleted, Save the workbook. If that doesn't help,
post back.

Mike F
"pmguerra" wrote in
message ...

Hi

I have an excel file with macros and one form. The worksheet has 700
rows and 7 columns of data. Its size is 2.14 MB!!!

However if I copy-paste all the values, the form and the module to
another workbook, the new workbook's size is 100 KB...

Any explanations?

Thank you!


--
pmguerra
------------------------------------------------------------------------
pmguerra's Profile:
http://www.excelforum.com/member.php...o&userid=14986
View this thread: http://www.excelforum.com/showthread...hreadid=534485



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default file size too big!


Thank you! It worked fine!!!

The problem is that I'm copy-pasting data from a Wordpad document. S
it also pastes about 10 columns to the right of "my range"...

Thanks again

--
pmguerr
-----------------------------------------------------------------------
pmguerra's Profile: http://www.excelforum.com/member.php...fo&userid=1498
View this thread: http://www.excelforum.com/showthread.php?threadid=53448

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
File Size With Macros Has Increased From Its Origina Size Fred Excel Discussion (Misc queries) 1 April 26th 08 12:24 AM
how to set sheet size to reduce file size LJ Excel Discussion (Misc queries) 1 November 26th 06 02:35 AM
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
Reduce the file size of Word file by removing all images in it RosH Excel Programming 0 February 22nd 06 05:11 AM
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 05:53 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"