<t>thanks, this is how i did it in VBA, I haveDim result(2, 19) As Double Call Compute(Income(0), Hour, charles(0), result(0, 0))For i = 1 To 3 // this is how I output my result, I only list one row from dll Cells(i, 8) = result(i - 1, 0)Next i// the result should show 0,0,0, instead I got 0,1,2. as...