#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 386
Default File size

Hi,

I have an excel folder which has four copy paste delete type macros working
between about 10 sheets and several large databases of 2000 products and
machines with index, match and calculation functions.

The file is growing at a collosal rate, its now 84M!

Is there any way of reducing this without having to start from scratch?

Thanks
LiAD
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default File size

1. If you have pivot tables, consider not saving them with the file. Clear
the table and re-create them with macros after you have opened the file.

2. If you have the same equation/formula pasted down 10's of thousands of
rows, consider not populating the column until after the file is opened and
then doing the copy with a macro.
--
Gary''s Student - gsnu200847


"LiAD" wrote:

Hi,

I have an excel folder which has four copy paste delete type macros working
between about 10 sheets and several large databases of 2000 products and
machines with index, match and calculation functions.

The file is growing at a collosal rate, its now 84M!

Is there any way of reducing this without having to start from scratch?

Thanks
LiAD

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 386
Default File size

Helps quite a bit actually. Cheers

Thanks

"Gary''s Student" wrote:

1. If you have pivot tables, consider not saving them with the file. Clear
the table and re-create them with macros after you have opened the file.

2. If you have the same equation/formula pasted down 10's of thousands of
rows, consider not populating the column until after the file is opened and
then doing the copy with a macro.
--
Gary''s Student - gsnu200847


"LiAD" wrote:

Hi,

I have an excel folder which has four copy paste delete type macros working
between about 10 sheets and several large databases of 2000 products and
machines with index, match and calculation functions.

The file is growing at a collosal rate, its now 84M!

Is there any way of reducing this without having to start from scratch?

Thanks
LiAD

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,480
Default File size

Hi

Check each sheet to find where Excel thinks the last cell is.
Type Control+End and see where it takes you.
If it is beyond where your data extends in either rows or columns, delete
all columns to the right of your data and delete all rows below your last
row of data or the last row where you NEED to have formulae. Then save the
file and re-open.
If you have copied formulae all the way down the sheet just to allow for
future data entry, do you really need that?
Only copy down for as far as you can really expect to enter data, or better
still write a macro to copy formulae down in blocks of say a further 100
rows below the last used row when you open the file.

Have you got Conditional Formatting set for the whole sheet? If so, change
it to only cover the range that you need formatted.
Where possible, use Pivot Tables for your calculations rather than lots of
Sumproduct or Array formulae.
Used Dynamic Ranges rather than giving huge ranges in your formulae. This
won't save space but will probably improve speed.
In terms of speed of opening, ensure the macros that run have

Application.ScreenUpdating = False
Application.CalculationMode= xlManual
at the start of the macro, and

Application.ScreenUpdating = True
Application.CalculationMode= xlAutomatic
set at the end

--
Regards
Roger Govier

"LiAD" wrote in message
...
Hi,

I have an excel folder which has four copy paste delete type macros
working
between about 10 sheets and several large databases of 2000 products and
machines with index, match and calculation functions.

The file is growing at a collosal rate, its now 84M!

Is there any way of reducing this without having to start from scratch?

Thanks
LiAD


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 386
Default File size

Good tips.

Thanks

"Roger Govier" wrote:

Hi

Check each sheet to find where Excel thinks the last cell is.
Type Control+End and see where it takes you.
If it is beyond where your data extends in either rows or columns, delete
all columns to the right of your data and delete all rows below your last
row of data or the last row where you NEED to have formulae. Then save the
file and re-open.
If you have copied formulae all the way down the sheet just to allow for
future data entry, do you really need that?
Only copy down for as far as you can really expect to enter data, or better
still write a macro to copy formulae down in blocks of say a further 100
rows below the last used row when you open the file.

Have you got Conditional Formatting set for the whole sheet? If so, change
it to only cover the range that you need formatted.
Where possible, use Pivot Tables for your calculations rather than lots of
Sumproduct or Array formulae.
Used Dynamic Ranges rather than giving huge ranges in your formulae. This
won't save space but will probably improve speed.
In terms of speed of opening, ensure the macros that run have

Application.ScreenUpdating = False
Application.CalculationMode= xlManual
at the start of the macro, and

Application.ScreenUpdating = True
Application.CalculationMode= xlAutomatic
set at the end

--
Regards
Roger Govier

"LiAD" wrote in message
...
Hi,

I have an excel folder which has four copy paste delete type macros
working
between about 10 sheets and several large databases of 2000 products and
machines with index, match and calculation functions.

The file is growing at a collosal rate, its now 84M!

Is there any way of reducing this without having to start from scratch?

Thanks
LiAD





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
Unusual File Size in Excel file Teck Excel Discussion (Misc queries) 2 January 12th 07 01:52 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
WHY IS MY FILE SO BIG? How can I reduce the size of a file? I h. Julieeeee Excel Discussion (Misc queries) 5 December 17th 04 11:20 PM


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