i want to create new excel sheet and insert data into it, from string array. i used the following code to create, now i want to insert data.
Excel.Applic
Calling COM methods is very slow. If you plan to insert a lot of data, I recommend you fetch the entire range you need, set all values, and add it back:
var range = xlWorkSheet.get_Range[firstCell, lastCell]; // or string range
var data = (object[,])range.get_Value(XlRangeValueDataType.xlRangeValueDefault);
// Set data here. Remember it's 1 based index, and row (y component) first
range.set_Value(data);