I have an excel range:
Excel.Range range = Worksheet.get_Range("A1","A7");
And a string list:
// The list contains the same amount of elements as cells in the range
List<string> AcollumnValues = getList();
My code so far:
Excel.Application App = new Excel.Application();
Excel.Workbook Workbook = App.Workbooks.Open(sourceASettings["file"]);
Excel._Worksheet Worksheet = Workbook.Sheets[1];
Excel.Range range = Worksheet.get_Range("A1","A4") userSupliedRangeArray[1]);
List<string> valuesToWrite = getValuesToWrite();
How can I write the string list to the excel using the range?
EPPlusyou might be able to useLoadFromCollectionEPPlusLoadFromCollectionstackoverflow.com/questions/34882275/…