Workbook taking forever to load ...

adambc

Active Member
Joined
Jan 13, 2020
Messages
412
Office Version
  1. 365
Platform
  1. Windows
... my WB has a table that has 30 columns and just over 1000 rows - it also has some (internal to the WB) IFs and XLOOKUPs (but nothing that complicated!) - but is taking a long time to open, every time ...

In a copy I have stripped out all the Worksheets other than the WS containing the main table, removed every formula, got rid of all data validation, removed conditional formatting, etc, etc - but it's still taking a long time to open, every time!

Can anyone help me get to the bottom of this?

I've tried Inquire but it just hangs Excel when trying to clean up ...

The table is correctly sized ie only to the last row/column in the table ...

And I'm out of ideas ...

Thanks ...

PS have just copied/pasted as values the table to a new WB - MUCH smaller file size and opens in seconds - so I also copied/pasted the table to a new WB and the same thing ... it's taking a long time to open, every time! - there's something in the table which I haven't found yet?!!!
 
Last edited:

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
Post a copy of your workbook for download.
 
Upvote 0
Post a copy of your workbook for download.
I would love to, but my “work” is voluntary for a local charitable organisation and the data contains personal information that would be impossible to redact without either masking the issue, or maybe even exacerbating it!!!

Thanks anyway …
 
Upvote 0
Lots of folks have received assistance here by removing the private/personal information and providing just enough markup data to make the
workbook function.
 
Upvote 0
1. Does your workbook contain any macros?
2. Does your install of Excel use any add-ins?
3. If you start excel in "safe" mode and then open the file, is it still slow?
(2 & 3 are related).

Ref:
 
Upvote 0
1. Does your workbook contain any macros?
2. Does your install of Excel use any add-ins?
3. If you start excel in "safe" mode and then open the file, is it still slow?
(2 & 3 are related).

Ref:
Apologies for the delay ion responding - took some time off at short notice ...

1. No macros (xlsx file)
2. No Excel add-ins
3. No quicker to open and moving around still very jumpy in safe mode

Ctrl-End takes me to the end of the table ...

Can't see any of the usual suspects ...

And the table simply won't copy to a new WB to let me do some playing around without affecting the data!

Aaarrrggghhh!!!

Thanks for trying ...
 
Upvote 0
If you clear the formulas out of the table, is it still slow? What is the file size of a workbook with just that table in it?

Edit: also, if you clear all the cell contents in the table, is it still slow to open?
 
Upvote 0
Make a COPY of your workbook.

Paste the following in a regular module in the COPY and run it.

Compare the size of the COPY after running the macro and the size of the original. Has the COPY been reduced in size substantially, does the COPY run better than the Original ?

VBA Code:
Sub LipoSuction()
'JBeaucaire (8/3/2009)
Dim LR As Long, LC As Long
Dim ws As Worksheet

For Each ws In Worksheets
    LR = ws.Range("A" & ws.Rows.Count).End(xlUp).Row + 1
    LC = ws.Cells(1, ws.Columns.Count).End(xlToLeft).Column + 1

    'Clear everything below column A last cell and row 1 last cell
        ws.Range(ws.Cells(1, LC), ws.Cells(ws.Rows.Count, ws.Columns.Count)).Delete
        ws.Range(ws.Cells(LR, 1), ws.Cells(ws.Rows.Count, ws.Columns.Count)).Delete
Next ws

End Sub
 
Upvote 0

Forum statistics

Threads
1,223,904
Messages
6,175,295
Members
452,631
Latest member
a_potato

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