Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
If you assign invalid custom number format to Style.Custom property then Aspose.Cells will not throw any exception. But if you want that Aspose.Cells should check if the assigned custom number format is valid or not then please set the Workbook.Settings.CheckCustomNumberFormat property to true.
The following sample code assigns an invalid custom number format to Style.Custom property. Since we have already set Workbook.Settings.CheckCustomNumberFormat property to true, therefore the API will throw CellsException e.g. Invalid number format.
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.