Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
If you assign an invalid custom number format to the Style.Custom property, Aspose.Cells will not throw any exception. However, if you want Aspose.Cells to check whether the assigned custom number format is valid, set the Workbook.Settings.CheckCustomNumberFormat property to true.
The following sample code assigns an invalid custom number format to the Style.Custom property. Since we have already set the Workbook.Settings.CheckCustomNumberFormat property to true, it throws an exception (e.g., Invalid number format). Please read the comments in the code for more information.
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.