I'm currently trying to create defined names in excel using the node package xlsx-populate, and I'm using the docs here: https://github.com/dtjohnson/xlsx-populate#defined-names
I'm trying to give it a value which refers to a formula, like below, where each cell in the range AL3-AL14 refers to an item for sale, such as below
await workbook.definedName("Item").value("=ItemSheet!$AL$3:$AL$14")
When I try to run my code, I get the following error message:
Cannot read property 'value' of undefined
Any help would be greatly appreciated to point me in the right direction