Suggestion: Exceptions or ways to validate before .Save

Could the component raise a specific exception for situations when:
- license does not have the required feature
- unsupported formulas have been set with .Formula
- invalid formula has been set
- etc

and/or a method that would let me validate if the resulting file can be saved without errors (other than file etc errors taht happen during the save of course).

Purpose:
This would allow me to check before saving and getting a generic exception that I cannot handle gracefully. Either way, I could handle the error better and inform the user why the file can’t be saved (“Designer file contains unsupported formulas”, “Designer file contains invalid formulas”, “You need to upgrade to use the XXX feature” etc.)

–TB

Good suggestion.

I will think of this feature and add it to Aspose.Excel in the future release.

Laurence:
Good suggestion. I will think of this feature and add it to Aspose.Excel in the future release.

Are these features added in the latest release?

Hi,

Yes, specific exception (with relevant message text) would be raised for the specific scenarios/situation now in recent versions of the product.

Thank you.