[]
Represents an exception thrown when a range number format cannot be parsed.
public sealed class NumberFormatParseException : FormatException, ISerializable
Public NotInheritable Class NumberFormatParseException
Inherits FormatException
Implements ISerializable
try
{
worksheet.Range["A1"].NumberFormat = "\u00A5* #,##0.00_; \u00A5* #,##0.00_; \u00A5* \"-\";@_";
}
catch (NumberFormatParseException exception)
{
string message = exception.Message;
}