Posted 30 January 2019, 7:59 am EST
Hi,
I am using Excel VSTO C#.
I am trying to pull an array of Excel Range, following is the code that I have tried but I get all values as Null in the array:
GrapeCity.Windows.SpreadSheet.Data.Worksheet wk = new GrapeCity.Windows.SpreadSheet.Data.Worksheet(xlworkSheet.Name);
object[,] nData = wk.GetArray(0, 0, sheetRange.Rows.Count, sheetRange.Columns.Count);
so nData array is populating with exact number of row and columns that i have passed but the values are null.
Please advise