Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 113
Default File size getting large

Hi all,
I work in xl 2003 and from the automation create a file and save it
to the network drive ...

but I have a problem with the size of the file that getting large up to
6Megabyte
the original file is only 92 kb...

Why it's happen and when?

Rgds,
halim

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 903
Default File size getting large

Hi Halim, (excel.programming)
I don't have Excel 2003, so it may have unique problems, and likewise
don't work on a network.

One possible problem and one that has a solution is an
error in the Last Cell indication of worksheet(s) -- see what
you get with Ctrl+End which should be at the intersection of your
last used row and column.

If that is the problem, you are possibly either adding and deleting a lot of rows,
or unnecessarily processing cells with a macro and doing something
to them.

You can fix the problem for a single sheet by placing the cursor
on the cell that you want to be the cell then running the macro.
There is a test to see if the last cell would be in a merged cell and
will adjust accordingly, you will be doing this while looking at the data
so should be safe. (last updated 2006-07-05 for merged cells)
http://www.mvps.org/dmcritchie/excel...m#makelastcell

You can correct all the sheets in your workbook with a macro by
Debra Dalgleish -- Warning if the last cell is within a merged cell
on a sheet you will lose data.
to programmatically reset the last used cell (all sheets)
http://www.contextures.com/xlfaqApp.html#Unused

You might also remove empty unused sheets from your workbook.
The savings here will be minimal unless you are doing something unusual.
--
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

wrote in message ...
I work in xl 2003 and from the automation create a file and save it
to the network drive ...

but I have a problem with the size of the file that getting large up to
6Megabyte
the original file is only 92 kb...



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
Large File Size Paula Excel Discussion (Misc queries) 3 October 13th 08 10:44 AM
Excel File size too large Exhange server Excel Discussion (Misc queries) 6 December 27th 07 12:00 PM
Large File Size in 2003 JeffH Excel Discussion (Misc queries) 5 October 27th 06 10:05 PM
why is the size of my file so large? stevej12 Excel Discussion (Misc queries) 2 May 24th 05 05:38 PM
LARGE File Size John[_59_] Excel Programming 2 September 27th 03 11:41 PM


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