Quick way of identifying Worksheet size

Corleone

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

Some videos you may like

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.

JackDanIce

Well-known Member
Joined
Feb 3, 2010
Messages
9,685
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.
 

Watch MrExcel Video

Forum statistics

Threads
1,109,426
Messages
5,528,690
Members
409,830
Latest member
KT50

This Week's Hot Topics

  • Change military grades into rank
    Afternoon all Need help with formula that will change military rank (i.e. 1, 2, 3 into Amn, A1C, SrA). Running IF formula that does not work...
  • VBA COUNTIF SOLUTION
    Hi The following are the errors spread across the several columns from E to Q ie. 13 columns across several sheets with more than 500 rows per...
  • INSERT ROW WITH SPECIFIS TEXT IN A COLUMN
    Hi All! How can identify that that the row to be inserted has to be inserted before 1st row with specific text in column F. If I record the...
  • Auto-Create a monthly Sign in sheet for preschool students
    The image below is what each page looks like. Above is space for the "Child Name" "Month" "Class" School days are obviously Monday-Friday but...
  • VBA vlookup multiple results
    Hi folks, Hopefully someone out there can help. I have a list to vlookup which works (ish). the lookup only picks up the first instance of the...
  • Extract values for earliest/latest times
    I am trying to put together a formula to get the earliest start time, the latest end time from column A for each person in Column B-F without the...
Top