Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Excel Explosion

I've got a spreasheet (excell 2k win 2k) with 14 tabs, containing 1 or two
pages schedules in each tab along with one pivot table. It really doesn't
contain a lot of data. I keep version control of the results as
filename_v1.0, filename_v2.0, etc. With no change in the layout (I did add a
short macro) v7.0 is about 1 meg in size and v8.0 is 30 megs. (I did add a
short macro)

Does any one have an idea why it would explode in size like that? and how to
fix it?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 105
Default Excel Explosion

Dcolecpa wrote:
I've got a spreasheet (excell 2k win 2k) with 14 tabs, containing 1 or two
pages schedules in each tab along with one pivot table. It really doesn't
contain a lot of data. I keep version control of the results as
filename_v1.0, filename_v2.0, etc. With no change in the layout (I did add a
short macro) v7.0 is about 1 meg in size and v8.0 is 30 megs. (I did add a
short macro)

Does any one have an idea why it would explode in size like that? and how to
fix it?


--------------------------

One question is whether it's using 30MB to store real stuff, or just empty
cells. Go to each sheet and hit Ctrl-End. That will move the cursor to what
Excel thinks is the last cell used on that page. If that's about where you
think the data ends then all is well. If it goes way down and includes several
thousand empty rows, then that's all junk being stored. To fix it you need then
to delete all the unused rows, store the file and exit Excel, then reopen the
file. At that point you should see Ctrl-End go to the right place.

As I mentioned, you need to do this for every sheet.

Good luck...

Bill
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Excel Explosion

Nice try, but no luck

"Bill Martin" wrote:

Dcolecpa wrote:
I've got a spreasheet (excell 2k win 2k) with 14 tabs, containing 1 or two
pages schedules in each tab along with one pivot table. It really doesn't
contain a lot of data. I keep version control of the results as
filename_v1.0, filename_v2.0, etc. With no change in the layout (I did add a
short macro) v7.0 is about 1 meg in size and v8.0 is 30 megs. (I did add a
short macro)

Does any one have an idea why it would explode in size like that? and how to
fix it?


--------------------------

One question is whether it's using 30MB to store real stuff, or just empty
cells. Go to each sheet and hit Ctrl-End. That will move the cursor to what
Excel thinks is the last cell used on that page. If that's about where you
think the data ends then all is well. If it goes way down and includes several
thousand empty rows, then that's all junk being stored. To fix it you need then
to delete all the unused rows, store the file and exit Excel, then reopen the
file. At that point you should see Ctrl-End go to the right place.

As I mentioned, you need to do this for every sheet.

Good luck...

Bill

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,718
Default Excel Explosion

I don't know why the workbook increased by 30 times in size but I do know
that merely opening the VBE can have 'interesting' size effects.

Try this:

1. Change your default Sheets in Workbook to 255 under Tools, Options,
General.
2. With the VBE closed add a new workbook and save it as "NoViewVBE.xls".
3. Open the VBE and close the VBE.
4. Save the same workbook as ViewVBE.xls.
5. Compare the sizes of these two 'empty' files.

In my case ViewVBE is 400k larger. Obviously opening the VBE initializes
the VB module for each sheet and adds a lot of junk to the file. I find
that if I open ViewVBE.xls with the VBE closed and immediately save it, the
size shrinks to almost the size of the first file. I don't know if this has
any bearing on your situation so FYI.

--
Jim
"Dcolecpa" wrote in message
...
| I've got a spreasheet (excell 2k win 2k) with 14 tabs, containing 1 or two
| pages schedules in each tab along with one pivot table. It really doesn't
| contain a lot of data. I keep version control of the results as
| filename_v1.0, filename_v2.0, etc. With no change in the layout (I did
add a
| short macro) v7.0 is about 1 meg in size and v8.0 is 30 megs. (I did add
a
| short macro)
|
| Does any one have an idea why it would explode in size like that? and how
to
| fix it?


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

Thanks Jim. Good approach, we did find out what blew up the spreadsheets. I
had put company logos ( jpeg's) in a few pages somehow they got corrupted,
delete them and the workbook is back to normal.
Thanks again

"Jim Rech" wrote:

I don't know why the workbook increased by 30 times in size but I do know
that merely opening the VBE can have 'interesting' size effects.

Try this:

1. Change your default Sheets in Workbook to 255 under Tools, Options,
General.
2. With the VBE closed add a new workbook and save it as "NoViewVBE.xls".
3. Open the VBE and close the VBE.
4. Save the same workbook as ViewVBE.xls.
5. Compare the sizes of these two 'empty' files.

In my case ViewVBE is 400k larger. Obviously opening the VBE initializes
the VB module for each sheet and adds a lot of junk to the file. I find
that if I open ViewVBE.xls with the VBE closed and immediately save it, the
size shrinks to almost the size of the first file. I don't know if this has
any bearing on your situation so FYI.

--
Jim
"Dcolecpa" wrote in message
...
| I've got a spreasheet (excell 2k win 2k) with 14 tabs, containing 1 or two
| pages schedules in each tab along with one pivot table. It really doesn't
| contain a lot of data. I keep version control of the results as
| filename_v1.0, filename_v2.0, etc. With no change in the layout (I did
add a
| short macro) v7.0 is about 1 meg in size and v8.0 is 30 megs. (I did add
a
| short macro)
|
| Does any one have an idea why it would explode in size like that? and how
to
| fix it?





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
pie explosion april Excel Discussion (Misc queries) 3 April 22nd 08 06:29 PM
Dealing with Pivot Detail Explosion JPatrick Excel Programming 1 April 5th 05 09:11 PM


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