[]
The exception that is thrown when a formula is invalid.
public class InvalidFormulaException : Exception, ISerializable
Public Class InvalidFormulaException
Inherits Exception
Implements ISerializable
Workbook workbook = new Workbook();
IWorksheet worksheet = workbook.Worksheets[0];
try
{
worksheet.Range["A1"].Formula = "=SUM(A1:";
}
catch (InvalidFormulaException exception)
{
string message = exception.Message;
}
| Name | Description |
|---|---|
| InvalidFormulaException(string) | Initializes a new instance of the InvalidFormulaException class with a specified error message. |