ArgumentOutOfRangeException

Getting following exception when trying to save workbook.

Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index

If I remove code that generates the chart the error disappears

OK found out that there are 2 charts with same name.

To reproduce this error try copying chart to another sheet

Hi,

Please share your sample code and template file to show the issue. We will check it soon.

Thank You & Best Regards,

Found out that I was using older version of Aspose.Cells.dll