//Make all text fit the cells
worksheet.Cells[worksheet.Dimension.Address].AutoFitColumns();
//Autofit with minimum size for the column.
double minimumSize = 10;
worksheet.Cells[worksheet.Dimension.Address].AutoFitColumns(minimumSize);
//Autofit with minimum and maximum size for the c...