[]
Returns true if the cell or range contains any formulas; otherwise, false is returned.
bool HasFormula { get; }
ReadOnly Property HasFormula As Boolean
| Type | Description |
|---|---|
| bool |
|
IRange range = worksheet.Range["A1"];
range.Formula = "=1+1";
bool hasFormula = range.HasFormula;