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

Free Support Forum - aspose.com

Copying a workbook colours a text shape's background for no reason

Hi,


The following code will result in an output file where the text shapes have a blue background (similar to one of the pie pieces) on the attached file.

var wb = new Workbook(“TextShape.xlsx”);

var wb2 = new Workbook();

wb2.Copy(wb);

wb2.Save(“TextShapeOut.xlsx”);


I have also had a problem with the dynamic text (coming from Sheet1) disappearing in the output file but I have been unable to reproduce with a simple Excel file for now.

Best regards.

Hi John,

Thanks for your posting and using Aspose.Cells.

We were able to observe this issue after executing your sample code with your source Excel file using the latest version: Aspose.Cells
for .NET v8.3.1.4
. Copying a workbook colors a text shape’s background

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.

This issue has been logged as

  • CELLSNET-43297 - Copying a workbook colors a text shape’s background

I have also attached the output Excel file and screenshot highlighting this issue for a reference.


Hi,

Thanks for your using Aspose.Cells.

Please download and try the latest fix: Aspose.Cells for .NET v8.3.1.6 and let us know your feedback.