Not supported row range address in definedNames #1883
reprisdinjus
started this conversation in
Ideas & Proposals
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
ExcelJs supports definednames when the address points to a range of cells but does not support definednames when the address points to a range of rows.
Example of row range address: "$1:$1".
If you did not expect ExcelJs to support row ranges, you should be aware that there is a loss of address information when loading the xlsx file. This prevents the row range address from being retrieved after loading into 'workbook.definedNames'.
This is due to the following code:
And:
And finally:
The 'addCell' function does not understand the supplied line range address.
I suggest you modify the code to keep the address in the CellMatrix like this:
This will allow developers to find this information even if ExcelJs does not support row ranges.
Hoping to help you improve ExcelJs.
Beta Was this translation helpful? Give feedback.
All reactions