This project has moved and is read-only. For the latest updates, please go here.

The column width and DefaultColumnWidth property

Jun 14, 2012 at 6:36 PM

Hi all,

After creating new Excel file, I would like to get the column width but got problem as below:

The worksheet.Column(index).Width return 9.140625 and the debugger let me know that it is also the DefaultColumnWidth. but when I opened the file, all the column widths are 8.43

I just wanted to calculate the width of merged columns. Does any one have any ideas of what i should try