My bad.
Both occurances of "objExcelDoc.Sheets.Cells(x,x)" are missing the sheet
qualifier "(1)". They should be objExcelDoc.Sheets(1).Cells(x,x)
Try:
objExcelDoc.Sheets(1).Range(objExcelDoc.Sheets(1).Cells(1, 1),
objExcelDoc.Sheets(1).Cells(1, UBound(v))) = v
(yes, on one line)

Signature
George Nicholson
Remove 'Junk' from return address.
>> Try
>> objExcelDoc.Sheets(1).Range(objExcelDoc.Sheets.Cells(1, 1),
[quoted text clipped - 18 lines]
>
> Jesper
Jesper - 16 Sep 2005 23:10 GMT
> My bad.
> Both occurances of "objExcelDoc.Sheets.Cells(x,x)" are missing the sheet
[quoted text clipped - 4 lines]
> objExcelDoc.Sheets(1).Cells(1, UBound(v))) = v
> (yes, on one line)
I should've caugt that, but it works great now. I was working with a very
slooow solution before finding out how to send an array directly into a
range. Thanks very much!
Jesper Fjølner, Denmark