View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
kamil jaskiewicz kamil jaskiewicz is offline
external usenet poster
 
Posts: 2
Default Worksheet function - array result, C++

Hi All,

I'd like to use C++ to:
1. Write addin which exposes function available from worksheet
2. Function has one parameter which is a query to database returning data
(size of data in unknown until query is launched)
3. Insert result into cells.

I've been trying with Excel and COM addins and I can't write results to
cells when I call function. The problem doesn't exists when it is a macro.
Then I can write to any cell on the sheet.

Is it possible to handle it in a different way?

Any help would be much appreciated.

Thanks
Kamil.