We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

removeSheet causing CellsException during save

I'm using Cells for Java V2.0.0 with the PHP Java bridge. In order to get around the lack of a chart copy function, I have an Excel file with several worksheets containing charts. I add worksheets that contain spreadsheets to the file and set the data series on the appropriate charts to point to the spreadsheets that I added. The chart worksheets that I do not use, I want to delete when I am done processing data. Deleting them seems to work fine, but I get an error when I try to save the file out:

com.aspose.cells.CellsException: Worksheet has been destroyed.

This only seems to happen if I remove more than 1 worksheet from the file. Also, I am careful to remove the sheets from highest index to lowest.

Laura

Hi,

Thanks for providing us details.

We found the issue and will provide you the fix soon.

Thank you.

Hi,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />


Thank you for considering Aspose.

Please try the attached latest version of Aspose.Cells for Java. We have fixed the issue you have Reported. Please do let us know if you still face any problem.

Thank You & Best Regards,

Hi -

Works great now. Thanks for your fast response.

Laura