| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
XL.Sheet.AddIgnoredError
Adds the ignored error for specified range.
| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
| XL | 7.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "XL.Sheet.AddIgnoredError"; BookRef; SheetIndex; rowFirst; ColFirst; rowLast; ColLast; ignoreErrors ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| BookRef | The reference to the workbook. Please use XL.LoadBook to load a file. | $ref |
| SheetIndex | The index of the sheet. This number ranges from 0 to XL.Book.SheetCount-1. | 0 |
| rowFirst | The first row for the area. First row has index 0. | $row |
| ColFirst | The first column for the area. First column has index 0. | $column |
| rowLast | The last row for the area. First row has index 0. | $row |
| ColLast | The last column for the area. First column has index 0. | $column |
| ignoreErrors | The combination of errors to ignore. | "InconsistRange¶EvalError" |
Result
Returns OK or error.
Description
Adds the ignored error for specified range.It allows to hide green triangles on left sides of cells. For example, if a cell is formatted as text but contains a numeric value, this is considered to be a potential error because the number won't be treated as a number, for example, in calculations. It is possible to combine a few IgnoredError values as list.
Returns error message on failure.
| IgnoredError value | Description |
|---|---|
| NoError | No errors |
| EvalError | Ignore errors when cells contain formulas that result in an error. |
| EmptyCellRef | Ignore errors when formulas refer to empty cells. |
| NumberStoredAsText | Ignore errors when numbers are formatted as text or are preceded by an apostrophe. |
| InconsistRange | Ignore errors when formulas omit certain cells in a region. |
| InconsistFormula | Ignore errors when a formula in a region of your worksheet differs from other formulas in the same region. |
| TwoDigTextYear | Ignore errors when formulas contain text formatted cells with years represented as 2 digits. |
| UnlockFormula | Ignore errors when unlocked cells contain formulas. |
| DataValidation | Ignore errors when a cell's value in a Table does not comply with the Data Validation rules specified. |
See also
This function checks for a license.
Created 22nd April 2017, last changed 22nd April 2017