Hi all! Not really sure what supporting info to provide but I have a spreadsheet that has a rather odd behaviour.
The workbook has a lot of formulae and a sheet that has over 7000 rows. That sheet has about 10 columns of formulae which include INDEX/MATCHES referring to a couple of tables in other sheets. There's also data validation with 3-5 values. There are no macros in the workbook but it's saved as an xlsb. It does not refer to any other workbooks.
Everything works fine and it's not too slow when amending various cells. The problem arises when closing the file. It takes a good 2-3 minutes for the file to close, regardless of whether it saves or not. However, this only happens if there is another workbook open. I tested various scenarios and, as long as this workbook is the only one that is open, it closes in seconds. As soon as I open another workbook, even a blank one, it takes 2-3 minutes. I tried it both on our shared server and moving it to my own machine and the behaviour is consistent. The workbook is meant to be used with at least another workbook open so this is an issue as, depending on the user's machine, it may even crash and close all Excel files.
I think the formulae are not the issue as closing the workbook works as expected if it's the only excel workbook open. For the life of me, I don't know what is causing this issue. My last resort is to start fresh and redo the workbook as the workbook has been recently modified but in place for a couple of years. However, that would be an extensive job and take most of a day and I'm reticent to do this.
Any suggestions would be greatly appreciated, or if anyone has encountered this before.
Thanks!!
The workbook has a lot of formulae and a sheet that has over 7000 rows. That sheet has about 10 columns of formulae which include INDEX/MATCHES referring to a couple of tables in other sheets. There's also data validation with 3-5 values. There are no macros in the workbook but it's saved as an xlsb. It does not refer to any other workbooks.
Everything works fine and it's not too slow when amending various cells. The problem arises when closing the file. It takes a good 2-3 minutes for the file to close, regardless of whether it saves or not. However, this only happens if there is another workbook open. I tested various scenarios and, as long as this workbook is the only one that is open, it closes in seconds. As soon as I open another workbook, even a blank one, it takes 2-3 minutes. I tried it both on our shared server and moving it to my own machine and the behaviour is consistent. The workbook is meant to be used with at least another workbook open so this is an issue as, depending on the user's machine, it may even crash and close all Excel files.
I think the formulae are not the issue as closing the workbook works as expected if it's the only excel workbook open. For the life of me, I don't know what is causing this issue. My last resort is to start fresh and redo the workbook as the workbook has been recently modified but in place for a couple of years. However, that would be an extensive job and take most of a day and I'm reticent to do this.
Any suggestions would be greatly appreciated, or if anyone has encountered this before.
Thanks!!