I am 99% sure that the answer is no, but I wonder if anyone who is 100% sure can say that.
Consider VBA UDF:
Public Function f(x) End Function
When you call this from a worksheet, "x" will be a number, a string, a Boolean, an error, an array, or an object of type "Range". Could it be, for example, an instance of "Chart", "ListObject", or any other Excel-VBA object model class?
(The question arose because I was moving to Excel 2007 and playing with tables, and I was wondering if I could write UDFs that accept them as parameters instead of Range . The answer seems to be no, but then I realized that I I didn’t know for sure at all.)
excel-vba excel user-defined-functions
jtolle Apr 7 '10 at 22:11 2010-04-07 22:11
source share