I just upgraded from 6.2.5.2 to 6.2.7.1. I am now getting Err:540 when I enter a formula into a new spreadsheet that includes external references. That didn’t happen with 6.2.5.2. The description of the code is “Happens if a function that requires (re)loading of external sources is encountered and the user hasn’t confirmed reloading of external sources yet”. So if I save the new spreadsheet and reload it, the error goes away and then adding more formulas with external references works. But why should I have to go through that exercise? You don’t have to do that with 6.2.5.2 (or any earlier release). Is this a permanent “feature” or is it a bug that will be fixed?
Thank you.
Additional info (2019-09-13 18:12):
- Security Options and Warnings, Options, Block any links from documents not among the trusted locations (see Macro Security) is checked.
- Macro Security, tab Security Level is High, tab Trusted Sources includes D:\Spreadsheets under Trusted File Locations
I have created a simplified scenario that is easy to implement and illustrates the problem.
-
I created a spreadsheet called SSOld.ods in D:\Spreadsheets containing these cell values:
A1: 1234,
A2: 5678,
A3: 9012,
A4: 3456 -
I created a new spreadsheet (untitled) and entered the following formula into cell A1:
=‘file:///D:/Spreadsheets/SSOld.ods’#$Sheet1.A1
which returns a value of Err:540
-
I moved to cell A2 in the untitled spreadsheet and entered “CTRL+D”, which enters the formula:
=‘file:///D:/Spreadsheets/SSOld.ods’#$Sheet1.A2
and also returns a value of Err:540
-
Now cells A1 and A2 in the untitled spreadsheet both contain a value of Err:540
-
I saved the untitled spreadsheet in D:\Spreadsheets as SSNew.ods and closed it.
-
I re-opened SSNew.ods
-
SSNew.ods now contains these cell values:
A1: 1234,
A2: 5678 -
In SSNew.ods, I moved to cell A3 and entered “CTRL+D”, then to cell A4 and entered “CTRL+D”
-
SSNew.ods now contains these cell values:
A1: 1234,
A2: 5678,
A3: 9012,
A4: 3456
So it seems that once I have saved the new spreadsheet and re-opened it, I can enter external references at will and they work.
Thank you for your help.