Gets or sets the array formula of the NamedRange control.
Assembly: Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)
This property returns (or can be set to) a single formula or an array.
If the NamedRange control does not 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.
This example is for a document-level customization.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.