UDF Returning #N/A
With a user defined function saved in an *.xla add-in...
How can I make the function return the worksheet error value #N/A?
as an example (that doesn't work)
Function MyFunction(x,y, optional z)
MyFunction = application.worksheetfunction.NA()
End Function
|