How to make columns to be auto width when texts in columns are long?
I use this code
Worksheet.Column(colIndex).AutoFitColumn() \'on all columns\'
Had to use worksheet.Column(1).AutoFit(0); AutoFit() wasn't doing the trick.
worksheet.Column(1).AutoFit(0);