Quick way of identifying Worksheet size

Corleone

Well-known Member
Joined
Feb 2, 2003
Messages
748
Office Version
  1. 365
Afternoon all, is there a quick way of doing the above

one of our contractors is having problems with one of our excel spreadheets in that when he runs a particular macro the file expands to 13mb, as opposed to around 6mb/7mb which it has been for over a year after every update.

I cannot see anything obvious as to why it is expanding. - there are around 20 worksheets on it.

my questions is, is there a way of viewing each of the worksheet sizes that make up the entire workbook?

at least then i can pinpoint where the issue is

thanks
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying

JackDanIce

Well-known Member
Joined
Feb 3, 2010
Messages
9,899
Office Version
  1. 365
Platform
  1. Windows
I don't believe you can individually assess the size of each worksheet within a workbook, however, if you select each worksheet one by one in the workbook, then press CTRL+END it will take you to what the worksheet thinks is the last used cell in the sheet. Quite often, when a workbook's size suddenly grows, it's because the used range has expanded (for no apparent reason). Any unsed rows/columns should be deleted and the file then saved and you should see the file size then decrease.

At a guess, the macro is either taking data from another source, pasting it and this is including non-used data but making the destination workbook believe it is part of a used range or some variable in the macro code is larger than it should be.
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,652
Messages
5,838,597
Members
430,557
Latest member
MK15

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top