Posted 12 April 2019, 3:01 am EST
Hello,
I have a Custom function created let’s say it is CUSTVAL and when I use it I have a formula like =CUSTVAL(D4) the argument being sent to the Evaluate Function is the value of the D4 cell. What I would like is to be able to see what the location of D4 is, such as column and row indexes.
Is there a way to get the actual initial argument of D4 not the value of that cell?
Along those same lines, is there a way to have that initial argument and be able to determine it is a valid cell reference? (this would accomplish my need noted above of getting the Column index)
The reason I am looking into this is, some of our custom functions that we will need rely on a cell pointer but can also take literal values, and we would have our Evaluate Function handle this.
Thanks,
Kevin