Update cell values on Sheet rename #918
Replies: 3 comments 4 replies
-
Hi @BrianHung!
Is this sufficient for your use case? |
Beta Was this translation helpful? Give feedback.
-
@BrianHung Sorry for the late response, Explanation
This information can be extracted from the dependency graph but currently there is no public method for that. You can file a feature request for that and we will consider adding it to the scope of the next release.
No, it is not. The formula representation that is used internally references sheets by their ID so renaming a sheet do not cause any updates to cell formulas. Idea 1:
|
Beta Was this translation helpful? Give feedback.
-
For the future reference: #937 |
Beta Was this translation helpful? Give feedback.
-
Is there a utility function to get a list of cell addresses that depend on a sheet? For example, 'Sheet1' gives back [sheetId, row, col] if 'Sheet1!A1' exists as a value?
Use case is when 'renameSheet' is called, there doesn't seem to be a way to update all cells which used the previous sheet name instead of reffing out.
I would think this information is stored or calculated somewhere in the 'DependencyGraph'.
Beta Was this translation helpful? Give feedback.
All reactions