Hello I have this code where i create an xlsx file and i need to pre set the width of the xlsx sheet cells. The actual problem is that when i open the excell i need to double c
You can change the default width of all columns in the worksheet by simply changing its DefaultColWidth property:
worksheet.DefaultColWidth = 25;