ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   array and CTRL+SHIFT+ENTER (https://www.excelbanter.com/excel-programming/337557-array-ctrl-shift-enter.html)

Nicolas[_2_]

array and CTRL+SHIFT+ENTER
 
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

Thanks

Nic



Stephen Bullen[_4_]

array and CTRL+SHIFT+ENTER
 
Hi Nicolas,

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 best newsgroup for C API questions is Public.Excel.sdk

Regards

Stephen Bullen
Microsoft MVP - Excel

Professional Excel Development
The most advanced Excel VBA book available
www.oaltd.co.uk/ProExcelDev




All times are GMT +1. The time now is 01:40 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com