Quick way of identifying Worksheet size

Corleone

Well-known Member
Joined
Feb 2, 2003
Messages
841
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

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
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.
 
Upvote 0

Forum statistics

Threads
1,218,794
Messages
6,144,524
Members
450,550
Latest member
Melanie_Annies

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
Back
Top