[]
Gets or sets the formula of the cells represented by this IRange in A1-style array notation.
string Formula2 { get; set; }
Property Formula2 As String
| Type | Description |
|---|---|
| string | The formula. |
IRange range = worksheet.Range["A1:A3"];
range.Formula2 = "=SEQUENCE(3)";
workbook.Calculate();
object value = worksheet.Range["A1"].Value;