Hi,
when answering your question (privately), I wasn't aware, that it should
be a calc addin. I never created a calc addin, but my impression from
reading
http://api.openoffice.org/docs/common/ref/com/sun/star/sheet/AddIn.html
is, that there can only be exactly one return value, at least it
thanks, this brought me a step further...
Doing like Joerg suggest, at least I don't get the #NAME error.
I invoke my add-in as
=LP(A1:A2)
but only a single element of the (1,2), array is returned (the first
element).
Joachim