SyntaxFix
Write A Post
Hire A Developer
Questions
Tip : To make Auto size work , the call to sheet.autoSizeColumn(columnNumber) should be made after populating the data into the excel.
sheet.autoSizeColumn(columnNumber)
Calling the method before populating the data, will have no effect.