//----------------------------------------------------------------------------------- //Create Cell in spreadsheet public static void WriteCell(string sb, Row r, Cell c, int col, int row, int sv) { PrintLog("sb=" + sb + " r=" + r.ToString() + " c=" + c.ToString() + " col=" + col.ToString() + " row=" + row.ToString() + " sv=" + sv.ToString()); if (sv == 1) c.DataType = CellValues.String; else c.DataType = CellValues.Number; c.CellReference = cols[col] + row.ToString(); c.CellValue = new CellValue(sb); r.Append(c); } I have searched online, but I am not finding a solution. I think it has to do with the message: Cell information from /xl/worksheets/sheet.xml part But I do not know how to fix it. I do not know if I put this in the correct forum!I have attached the portion of code that run the loop that creates the file. Any help would be greatly appreciated. If anyone needs something else let me know. arep
Attachment: openxml code.zip