[Solved] Passing cell range as argument to user-defined macro function
I would like to define my own macro function. When passing the argument, I would like to pass the range of cells. However, I cannot find any information about the datatype that will be passed from internet.
In Microsoft Office VBA, it can be done by
Function myFunc(r As Range) 'Do something myFunc = result End Function
Then in the cell, I can enter something like
without quoting the argument as string.
In VBA, the datatype is declared as Range. I would like to know what is it in LibreOffice?