Get All Cell Precedents For A Cell Range #1352
BrianHung
started this conversation in
API Questions
Replies: 2 comments
-
Hi @BrianHung Thank you for your message. I think it would be best if @sequba would recommend something here. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Can you give an example (demo) of a situation when |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to get the list of all cell precedents when
setCellContents
is called.When
value: RawCellContent
is a single value andsetCellContents(address, value)
is called,getCellPrecedents(address)
works to get all the precedents in the new formula.However, what happens when
values: RawCellContent[][]
is an array? Is there an alternative besides brute-forcinggetCellPrecedents
for all the addresses that are affected bysetCellContents(address, values)
?The API for
getCellPrecedents
says it can take aSimpleCellRange
but it looks like it only works when the exact address is used as a precedent, not for smaller ranges contained in that range (as mentioned in the API comment).
Beta Was this translation helpful? Give feedback.
All reactions