Share via


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
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

See Also

Reference

NamedRange Interface

Microsoft.Office.Tools.Excel Namespace