I use EPPlus to export excel 2007 file. The file can export normally but i have some problem with setting column format. My string column with numeric style (Purchase Order
In addition to @briddums' answer, from EPPlus 5 you can ignore errors and there is no need to touch the EPPlus source.
var p = new ExcelPackage();
var ws = p.Workbook.Worksheets.Add("IgnoreErrors");
ws.Cells["A1"].Value = "1";
ws.Cells["A2"].Value = "2";
var ie = ws.IgnoredErrors.Add(ws.Cells["A2"]);
ie.NumberStoredAsText = true; // Ignore errors on A2 only