User defined function: Address where UDF is used
Hi NG,
how can I detect the address of a userdefined function within the code
of the function?
look at this example-function:
-------snip----------
1 Public Function myExcelFunction(myValue As Integer) As Integer
2
3 myExcelFunction = myValue * 20
4 Debug.Print ThisCell.Address
5
6 End Function
----------snip-------------
in line 4 I want to get the address of the cell the function is used.
But "ThisCell" is no valid Expression. Any tipps or hints?
Tx Jörg
|