August 21st, 2002, 3:18 pm
Yukathanks a lot, but I realized it a few minutes after my post...in fact, as I said it was only a test function for a more general problem...I was looking for a relation between a range of cells and an array:is it possible to create a function with a dynamic array as parameter, and use it directly in a cell of excel with a range of cells as parameters,I mean:function test(ByRef MyArray() as double) as doubleand in excel, in any cell:=test(A1:A5)how will I be able to Redim my array? will I have to count with a loop the number of cells first?In fact, I would like to avoid any loop in my code, since the purpose is to use (a) dll function(s) to "accelerate the code"...Well, there are many questions in fact...thanks for your help