G
Guest
I have a visual basic program in Windows that puts calculated data in an
array INTO an EXCEL spreedsheet. I am using late binding. Note I am not
Writing a macro inside EXCEL, but in a Visual Basic program outside of EXCEL.
The array is excelhold(122)
I tried to use the statement
oSheet.Range("A2").Resize(122,1).Value=excelhold
The problem in put the value of excelhold(1) into all the cells in column A
in the spreadsheet instead of putting all the values of excelhold.
If I use the statement
oSheet.Range("A2").Resize(1,122).Value=excelhold
It puts all the values of excelhold in row 2
Resize(122) and Resize (122,0) and skipping Resize all together does not
work either.
Any ideas?
Thanks
array INTO an EXCEL spreedsheet. I am using late binding. Note I am not
Writing a macro inside EXCEL, but in a Visual Basic program outside of EXCEL.
The array is excelhold(122)
I tried to use the statement
oSheet.Range("A2").Resize(122,1).Value=excelhold
The problem in put the value of excelhold(1) into all the cells in column A
in the spreadsheet instead of putting all the values of excelhold.
If I use the statement
oSheet.Range("A2").Resize(1,122).Value=excelhold
It puts all the values of excelhold in row 2
Resize(122) and Resize (122,0) and skipping Resize all together does not
work either.
Any ideas?
Thanks