March 23rd, 2005, 9:50 pm
Dan,If I've understood your question correctly, here's a brief outline of one way you can do this:Option ExplicitSub test()Dim bbfunctionoutput As VariantDim i As Long, j As Longbbfunctionoutput=application.run("blph",.....) ' fll this in appropriatelyx = UBound(bbfunctionoutput, 1)y = UBound(bbfunctionoutput, 2)For i = 1 To x For j = 1 To y Range("a1").Cells(i, j).Value = bbfunctionoutput(i, j) Next jNext iEnd SubRegards,F.