Class ExcelErrorValue.Values
- Namespace
- OfficeOpenXml
- Assembly
- EPPlus.dll
Handles the convertion between eErrorType and the string values used by Excel.
public static class ExcelErrorValue.Values
- Inheritance
-
ExcelErrorValue.Values
- Inherited Members
Fields
Calc
A constant for the Calc error in Excel
public const string Calc = "#CALC!"
Field Value
Div0
A constant for Div/0 error in Excel
public const string Div0 = "#DIV/0!"
Field Value
NA
A constant for the N/A error in Excel
public const string NA = "#N/A"
Field Value
Name
A constant for the Name error in Excel
public const string Name = "#NAME?"
Field Value
Null
A constant for the Numm error in Excel
public const string Null = "#NULL!"
Field Value
Num
A constant for the Num error in Excel
public const string Num = "#NUM!"
Field Value
Ref
A constant for the Ref error in Excel
public const string Ref = "#REF!"
Field Value
Spill
A constant for the Spill error in Excel
public const string Spill = "#SPILL!"
Field Value
Value
A constant for the Value error in Excel
public const string Value = "#VALUE!"
Field Value
Methods
IsErrorValue(object)
Returns true if the supplied candidate
is an excel error.
public static bool IsErrorValue(object candidate)
Parameters
candidate
object
Returns
StringIsErrorValue(string)
Returns true if the supplied candidate
is an excel error.
public static bool StringIsErrorValue(string candidate)
Parameters
candidate
string
Returns
ToErrorType(string)
Converts a string to an eErrorType
public static eErrorType ToErrorType(string val)
Parameters
val
string
Returns
Exceptions
- ArgumentException
Thrown if the supplied value is not an Excel error