Is there a variable anywhere that gives the worksheet and cell that will recieve the result of a custom VBA function?
For example, if in A!B1 the formula is =MyCustomFunc() in my code:
public function MyCustomFunc()
'what can I call here to get the values "A" and "B1"?
end function
Is this what you are trying?