help on UDF code
I have the following code to create a UDF to calculate reciprocals:
Function Reciprocal(a)
Reciprocal(a) = (1 / a)
End Function
The code is in a module.
I get #VALUE! errors when I try to run it. So I think this means that Excel
recognizes the UDF (otherwise it would return a #NAME error, right?)
So what's the problem here?
--
Brevity is the soul of wit.
|