1

Resolved

WorksheetWriter.PasteValues sometimes creates a corrupt .xlsx file if List<string> is used

description

sometimes, if i use
WorksheetWriter.PasteValues(doc, worksheetPart, "A", 2, values, CellValues.String, null); where values is a List<string>,
opening the generated .xlsx results in an error message of Excel complaining about a corrupt file.
 
this does not happen all the time and is not easily to reproduce. mostly it happens when the row used as target already contains data in some columns.
 
kind regards,
Tom

comments

JamesWestgate wrote Jun 17, 2009 at 1:13 PM

Hi Tom,

If you could attach a small corrupted .xlsx file, I'll try work out the problem.

JamesWestgate wrote Jan 26, 2010 at 8:55 PM

Closing due to inactivity

wrote Jan 26, 2010 at 8:55 PM

wrote Feb 21, 2013 at 11:11 PM

wrote May 16, 2013 at 10:43 AM

wrote May 16, 2013 at 10:43 AM

wrote Jun 14, 2013 at 7:25 AM