Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 90
Default File Size With Macros Has Increased From Its Origina Size

I have a spreadsheet with a few macros that I open and execute about several
times a day for the past year. I noticed that the file size increased from
less than 100 bytes to 5 MB. There has been no increase in the cells and/or
macros.
The macros include moving/deleting cells. These are repetitive macros that
has to be executed hourly.

Is there any explanation for this? Is there a way to "optimize" (defrag?)
this file?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default File Size With Macros Has Increased From Its Origina Size

Could be your macros are steadily increasing your file size due to what Excel
thinks is an increase in the used ranges of worksheets.

See Debra's site for re-setting the "used range" of worksheets in workbooks.

http://www.contextures.on.ca/xlfaqApp.html#Unused

Don't forget the "Save" part.


Gord Dibben MS Excel MVP

On Fri, 25 Apr 2008 15:40:00 -0700, Fred wrote:

I have a spreadsheet with a few macros that I open and execute about several
times a day for the past year. I noticed that the file size increased from
less than 100 bytes to 5 MB. There has been no increase in the cells and/or
macros.
The macros include moving/deleting cells. These are repetitive macros that
has to be executed hourly.

Is there any explanation for this? Is there a way to "optimize" (defrag?)
this file?


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
What increased my file size from 2mb to 5mb in a week? Joe Excel Discussion (Misc queries) 4 March 26th 08 03:07 PM
macros and file size CMD Excel Discussion (Misc queries) 3 February 13th 08 04:58 PM
File size increased 7-fold! bman342 Excel Discussion (Misc queries) 3 July 4th 06 04:44 AM
Can actual size of CHECK BOX be increased? Stilla Excel Worksheet Functions 1 December 7th 05 07:01 PM
Excel file size increased Akheel Excel Discussion (Misc queries) 2 January 29th 05 05:18 PM


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