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)

Object HasFormula { get; }

Property Value

Type: System.Object

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.

Show: