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

Free Support Forum - aspose.com

CellsException during save of Excel file

Hello,


We have a problem using the save function of a workbook:

Please find the attached document and our implementation:

Dim wb As Aspose.Cells.Workbook = New Aspose.Cells.Workbook(“C:\Data\ERROR shape.xlsm”)<o:p></o:p>

wb.Save("C:\Data\ERROR shape.pdf", Aspose.Cells.SaveFormat.Pdf)

Following exception is thrown:

Aspose.Cells.CellsException : Shape to image Error!


Thanks for the help.

Hi there,

Thank you for sharing the sample.

I have evaluated the presented scenario while using the latest version of Aspose.Cells for .NET 17.2.0, and I am not able to replicate the said exception on my side. In fact, the PDF has generated correctly (attached is the result for your reference). Please give a try to the latest version on your side as well. In case the problem persists, please share some details about your environment, such as follow.

  • Operating system version & architecture
  • Service pack version
  • Target .NET framework version
  • Display settings of the machine (size of the text 100% or 125% or 150%)