Jan 21, 2012 at 4:14 PM
Edited Jan 21, 2012 at 4:15 PM
I am trying to insert some rows into a specific range, but getting an error as follows..
Specified argument was out of the range of valid values.Parameter name: The cells CRO11 and CRO11048576 are outside the range ''Statement of Account- DeCr'!A1:XFD1048576'.
Here is the code I am using
var wb = new ClosedXML.Excel.XLWorkbook("E_Retail_Statement_Format.xlsx");
var ws = wb.Worksheet("Statement of Account- DeCr");
Error is getting while executing the InsertRowsBelow method. The source spreadsheet is formatted file. Here is the download link for the source spreadsheet file.
It would be great if someone can help...