Without seeing your code it's hard to give you a precise answer, but I guess you tried to pass the double array as the parameter when calling the procedure. The type-mismatch error in that case is caused by the fact that the procedure expects an array of the Variant type, and therefore "doesn't like" the fact that you try to pass it an array of the Double-type.
I can think of 2 options:
1. Use the Double-type as the parameter in the procedure-definition.
2. In your calling procedure, create an array of the Variant-type, fill it with the data from the Double-array, and then pass it on to your procedure.
Hope this helps.
Erwin
Enter your message below
Sign in or Join us (it's free).