Subject: Exception when saving pre-existing Excel file containing Charts
Date: 2022-05-29 17:12:22
From: Ingo
Source: exception-saving-pre-existing-excel-file-containing-charts
----------------------------------------------------------------------

Hello, 
we have pre-fabricated an Excel file with five charts inside. 
We open the file, change a few values, then try to save, and get the following exception:

System.InvalidCastException: 
'Das Objekt des Typs "ComponentPro.Excel.Shapes.ChartShape" kann nicht in Typ "ComponentPro.Excel.WorksheetBase" umgewandelt werden.'


Please advise.

----------------------------------------------------------------------

Note: This question has been asked on the Q&A forum of Thang Dang's fraudulent ComponentPro brand
If you purchased anything from ComponentPro, you have been scammed. Contact the payment processor
who sold you the license and ask for your money back.

Back to ComponentPro Q&A Forum Index