N
nicgendron
Hi,
I have a user defined function in an xll add-in that is returning an
array.
But the dimensions of the array returned can differ from call to call.
Is there a way to produce this scenario with Excel C API.
* the user select a single cell
* the user enter a function name and args
* the user press CTRL+SHIFT+ENTER
* the user defined function returns and array of x by y and the user
can see
it
p.s. Then only way I can output an array is by selecting many cells and
entering the formula, but I can't select the right number of cells
because I
don't know the size of the array that is returned.
p.s.2 By the way, is there any available doc on Excel C API (I want to
have more information on Excel Command such as "xlcCalculateDocument"
or ''xlcFormulaArray". Any references?
Thanks
Nic
I have a user defined function in an xll add-in that is returning an
array.
But the dimensions of the array returned can differ from call to call.
Is there a way to produce this scenario with Excel C API.
* the user select a single cell
* the user enter a function name and args
* the user press CTRL+SHIFT+ENTER
* the user defined function returns and array of x by y and the user
can see
it
p.s. Then only way I can output an array is by selecting many cells and
entering the formula, but I can't select the right number of cells
because I
don't know the size of the array that is returned.
p.s.2 By the way, is there any available doc on Excel C API (I want to
have more information on Excel Command such as "xlcCalculateDocument"
or ''xlcFormulaArray". Any references?
Thanks
Nic