XLjedi
2010-02-10 18:05:01 UTC
I would post an example, but I'm not even sure where to begin...
I need to be able to create an xll function that takes ranges as arguments
(XLOPER12) and then returns an array value result (presumably also as an
XLOPER12).
Basically I have two issues:
1) I know how to declare and load a 2D array in C++, I just don't know how
to properly return it in the form of an XLOPER12 result.
2) Then I need to be able to make the 2D array variable in size so it
matches the size of the range arguments.
I just need a basic template for an xll function that takes a 2D range as an
argument, creates a 2D array and populates it with the values +1, and then
returns the results in the form of an array result.
I need to be able to create an xll function that takes ranges as arguments
(XLOPER12) and then returns an array value result (presumably also as an
XLOPER12).
Basically I have two issues:
1) I know how to declare and load a 2D array in C++, I just don't know how
to properly return it in the form of an XLOPER12 result.
2) Then I need to be able to make the 2D array variable in size so it
matches the size of the range arguments.
I just need a basic template for an xll function that takes a 2D range as an
argument, creates a 2D array and populates it with the values +1, and then
returns the results in the form of an array result.