When calling Worksheet.AutoFitColumns(), it is throwing “Object reference not set to an instance of an object.” error.
Please find below the console app to replicate the same
ExcelAutoFitColumns.zip (531.0 KB)
Worksheet.AutoFitColumns() is throwing "Object reference not set to an instance of an object." error
Thanks for the template file.
After an initial test, I was able to reproduce the issue as you mentioned by using your template file and sample code segment. I found Worksheet.AutoFitColumns()
is throwing “Object reference not set to an instance of an object” error.
We require thorough evaluation of the issue. We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.
Issue ID(s): CELLSNET-55888
You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.
We are pleased to inform you that your issue (“CELLSNET-55888”) has been resolved. The fix will be included in an upcoming release (Aspose.Cells v24.6) that we plan to release in the next week (hopefully). You will be notified when the next version is released.
The issues you have found earlier (filed as CELLSNET-55888) have been fixed in this update. This message was posted using Bugs notification tool by johnson.shi