NamedRange.HasFormula Property
Gets a value that indicates whether all cells in the NamedRange control contain formulas.
Namespace: Microsoft.Office.Tools.Excel
Assembly: Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)
Syntax
'Declaration
ReadOnly Property HasFormula As Object
Get
Object HasFormula { get; }
Property Value
Type: System.Object
true if all cells in the NamedRange control contain formulas; false if none of the cells in the range contains a formula; nulla null reference (Nothing in Visual Basic) otherwise.
.NET Framework Security
- 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.