Excel crashes on saving a spreadsheet

paulym666

New Member
Joined
Jun 23, 2013
Messages
20
Hi,

I have a process that was big and cumbersome, so I split it into two workbooks. The first workbook links to an external data source (this was the part which slowed the process down before I split it into two), the second workbook pulls in the data from the first one, and does a little processing, but mainly just summarizes the data. Each cell in the second workbook that pulls data from the first is just a simple direct link - so cell c10 in the relevant tab of the second workbook has the simplest formula:

=[first workbook]Tab!c10

It all works fine. But...

When I try to save the second workbook, it always crashes Excel. The only time it doesn't crash Excel is if the first workbook (that it links to) is open. So my assumption is that it must be something to do with the links to the first workbook. It's a big set of data - there are over 60,000 links to the other workbook. That sounds a lot, but the files are still relatively small (3.5MB for the first and 1.1MB for the second workbook), and once the data has been populated in the first one, they are very quick to recalculate and for the links to refresh.

I have a theory that when the first workbook is open and the formulae in the second workbook are simple (as above) Excel can handle it. But if the first workbook is closed, then actually the formulae in the second look like this:

='FILEPATH\[first workbook]Tab'!c10

Maybe the longer formulae, including the file path, repeated 60,000 times, is too much for Excel.

Ordinarily, keeping the first workbook open while working on the second wouldn't be a problem. It's mainly tedious because, despite being relatively small, for some reason the first workbook takes 4-5 minutes to open. And I almost never have to work on that one - once a month I update it with refreshed data and then I don't have to do anything else for a month. But I do have to regularly update the second one, so it's painful to have to keep opening the first, and very painful if I forget and then lose my work when Excel inevitably crashes.

Does anyone know of a way to prevent the workbook from causing Excel to crash when I save it?

Thanks
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Not really an answer to your question, but is it feasible to put both worksheets into one file? If more than one user would be updating it at a time, you could enable shared workbook.
 
Upvote 0
Not really an answer to your question, but is it feasible to put both worksheets into one file? If more than one user would be updating it at a time, you could enable shared workbook.
I started out with them both in one file, but the 4-5 minute file opening time was very tedious for a file I used a lot. That's why I split them.
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

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