Hi!
Have created a number of .ods files (Calc) with mainly formulas and diagrams. each file has a name and ends with a year (eg file 2022.ods, file 2023.ods, file 2024.ods) and so on.
Each file contains 1 tab for each week (52-53 tabs).
This formula in B1 keeps track of which year, the file deals with (sorry instructions in Swedish)
=TEXTNUM( EXTEXT(CELL("FILENAME"); HITTA(".";CELL("FILENAME"))-4; 4) )
The first tab contains one link to a cell from the previous year.
=OMFEL(INDIREKT(SAMMANFOGA(VÄNSTER(CELL("FILENAME"); HITTA("."; CELL("FILENAME"))-5); B1-1; ".ods'#$'52'.R1")); "Fel")
The last tab in the file contains twelve cells that point to twelve cells in the file the following year. Like this.
=OMFEL(INDIREKT(SAMMANFOGA("'Likviditet "; $J$1+1; ".ods'#$'"; VÄNSTER($P21;1); "'.S19")); "Saknas")
If the file is missing, it says “Saknas” (missing) in the cell.
All tabs are locked, but some cells on the tabs, which can be used, are not locked.
Updating the cells always worked before, but now the cells are not updated every time the file is opened.
Each time one of the files is opened, the user has to press the “Allow update” button.
Question 1
Sometimes it is enough to unlock a tab for the cell to be updated. If the tab is locked again, the external value is lost.
There are cells in tab B that refer to a cell in tab A - sometimes the value is not updated between the tabs, but if the cell is unlocked, an update occurs. (This problem does not always occur)
What have I missed?
Question 2
Moved the .ods files from one directory/computer to another directory/computer. When updating the links, a message appears that the source directory is missing.
Is there a way to find the cell that is trying to establish this missing external link?
Question 3
Suppose the files 2020, 2021, 2022, 2023 are in a directory.
All files have external links between each other.
- Does it matter to have so many external links?
If the 2020 file is opened and a change is made.
- Will the 2023 file be updated with that change when opened?
Question 4
Is it possible to automate the updating of external links? (without having to press the “Allow updating” button)