Build 4.5.0.1 of xlsgen fixes a problem related to deleting columns (worksheet.Columns("A:F").Delete();
for instance). Under certain circumstances, xlsgen could write back the resulting file with negative column indexes, and Excel would identify this as a file corruption problem.