Error re-calculating a workbook

Mattastic

New Member
Joined
Jul 25, 2011
Messages
18

Hi all, after a frustrating weekend and fruitless research I come to you with a plea for assistance! <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>
<o:p></o:p>
I have, what I think, is a reasonably complex workbook, plagued by a strange occurrence I have never seen before. The Workbook references a number of external workbooks (up-to 30) and returns relevant data into a number of specific worksheets.<o:p></o:p>
<o:p></o:p>
With either Options - Workbook Calculation set in auto or manual when the book recalculates more often than not, the external workbook references (Indirect.ext) return a #REF error that is only resolved after either a number of further forced recalculations or save /close /open. But neither of these exclusively resolve the issue every time.<o:p></o:p>
<o:p></o:p>
My questions; The obvious one; What is the cause? Secondly any suggestions on something generic I can do to improve the situation?<o:p></o:p>
<o:p></o:p>
I use the MoreFunc add-in to provide the Indirect.ext function.<o:p></o:p>
<o:p></o:p>
Your thoughts and suggestions will be much appreciated. <o:p></o:p>

Rgds

Matt
 
Well I am still stuck on the initial issue, but right now creating a copy using INDIRECT instead, which the users can suffer with for the time being. But this does cause an issue with losing data once the reference spread sheets are close and the file re-calculates. I can turn auto calculate off, but this is not the right solution!<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>
<o:p></o:p>
Maybe I will start another thread to see if there is a solution to lock data or automatically replace the formulae with static data when the data is imported - VBA I guess, but trying to avoid that due to archaic security policy ;-)<o:p></o:p>

Thanks again.
 
Upvote 0

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Using VBA, you could open each workbook in turn and copy the data across.
It's not huge amounts of code and the copy/paste takes seconds.
 
Upvote 0

Forum statistics

Threads
1,224,586
Messages
6,179,728
Members
452,939
Latest member
WCrawford

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