If you call SaveToStream on a workbook that contains at least 257 columns, the returned stream contains corrupt data. If you create a new workbook from the stream, this workbook will not contain the correct values. In ad…...called, an xls file is saved. So the max column is 255 in xls file...Workbook.Save(stream, SaveFormat.Xlsx) method instead to save the...