Forum Discussion
freelensia
7 years agoAdvocate II
Passing a list or array to a function
Hi, I have a simple function that evaluates an Excel's Named Range to get its value like this: (RangeValue as text) =>
let
RangeValue = Excel.CurrentWorkbook(){[Name=RangeName]}[Content]{0}[...
- 7 years ago
Here is an example
https://www.dropbox.com/s/r2ha4qe9513ft08/functions.xlsx?dl=1
freelensia
7 years agoAdvocate II
Sorry could you show me the code to do that?
I am not sure what your method does, but how would I invoke this new function?
The simplicity that I seek is that I can easily type in one line the items in my list and the desired macro would execute them, without having to create new queries or tables.
MattAllington
7 years agoCommunity Champion
Here is an example
https://www.dropbox.com/s/r2ha4qe9513ft08/functions.xlsx?dl=1