How to set XLSX cell width with EPPlus?
I find that setting the column widths after I have filled in all the data on the sheet works: ws.Column(1).Width = 50; There is also the autoFitColumns method but this ignores cells with formulas and wrapped text so it did not work for me. ws.Cells[“A1:K20”].AutoFitColumns();