Hello
I'm trying to copy a range of cells from an excelsheet to an array in Vb.net. But the last line doesn't seem to be working! Any idea how I can fix the problem?
Imports MyExcel = Microsoft.Office.Interop.Excel
Dim MyArray (3) As String
MyArray = MyWorksheet.Range("D2", "D4").Value
I can make it work for with a For Loop but not using the range.value
Thanks
I'm trying to copy a range of cells from an excelsheet to an array in Vb.net. But the last line doesn't seem to be working! Any idea how I can fix the problem?
Imports MyExcel = Microsoft.Office.Interop.Excel
Dim MyArray (3) As String
MyArray = MyWorksheet.Range("D2", "D4").Value
I can make it work for with a For Loop but not using the range.value
Thanks