This project has moved. For the latest updates, please go here.

AutoFitColumns - trying to convert String in ExcelColumn

May 4, 2016 at 8:47 AM
Can't convert object of type "System.String" into type "OfficeOpenXml.ExcelColumn".
I get this error when i try to call the function AutoFitColumns(). Any ideas what i am doing wrong?My Excel file has 1 worksheet and 7 Columns with 24 rows.