Range.FormulaArray Property
Returns or sets the array formula of a range.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Property FormulaArray As Object
Get
Set
'Usage
Dim instance As Range
Dim value As Object
value = instance.FormulaArray
instance.FormulaArray = value
Object FormulaArray { get; set; }
Property Value
Type: System.Object
Remarks
This property returns (or can be set to) a single formula or an array.
If the specified range doesn't contain an array formula, this property returns Null.
If you use this property to enter an array formula, the formula must use the R1C1 reference style, not the A1 reference style (see the second example).