Hi,
Our reference: TT46627
Hi Bastiaan,
Thanks for your posting and using Aspose.Cells.
We were able to replicate this issue using the following code with your source Excel file using the latest version (8.4.0). The code throws index outside the bounds exception.
We have logged this issue in our database for investigation. We will look into it and fix this issue. Once, the issue is resolved or we have some other update for you, we will let you know asap.
- CELLSNET-43499 - Index was outside the bounds of the array exception when using AutoFitRow
I have attached the source Excel file used in this code for a reference.
VB.NET
Dim objWorkbook As New Aspose.Cells.Workbook(“Test.xls”)
Dim objCellArea As New CellArea()
objCellArea.StartColumn = 1
objCellArea.StartRow = 0
objCellArea.EndColumn = 1
objCellArea.EndRow = 0
objWorkbook.Worksheets(“Tables”).Cells.InsertRange(objCellArea, 1, ShiftType.Right)
objWorkbook.Worksheets(“Tables”).AutoFitRow(0)
Hi,
Thanks for your using Aspose.Cells.
Please download and try the latest fix: Aspose.Cells for .NET v8.4.0.3 and let us know your feedback.
Hi,
Hi Bastiaan,
The issues you have found earlier (filed as CELLSNET-43499) have been fixed in this update.
This message was posted using Notification2Forum from Downloads module by Aspose Notifier.