Range.HasFormula Property
Determines if all cells in the range contain formulas.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
ReadOnly Property HasFormula As Object
Get
'Usage
Dim instance As Range
Dim value As Object
value = instance.HasFormula
Object HasFormula { get; }
Property Value
Type: System.Object
Remarks
This property returns True if all cells in the range contain formulas, False if none of the cells in the range contains a formula, and Null otherwise.