HasFormula Property
TOC
Collapse the table of content
Expand the table of content
This documentation is archived and is not being maintained.

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)

'Usage
Dim range1 As Range

Dim returnValue As Object
returnValue = range1.HasFormula

object HasFormula {get;}
public System.Object get_HasFormula();
function get HasFormula() : 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.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

Show:
© 2016 Microsoft