SpreadsheetGear 2017
EvaluateRange Method (ISheet)

SpreadsheetGear Namespace > ISheet Interface : EvaluateRange Method
The formula to evaluate.
Evaluates the specified formula and returns the resulting IRange.
Function EvaluateRange( _
   ByVal formula As System.String _
) As IRange
Dim instance As ISheet
Dim formula As System.String
Dim value As IRange
value = instance.EvaluateRange(formula)
IRange EvaluateRange( 
   System.string formula
function EvaluateRange( 
    formula: System.String
): IRange; 
function EvaluateRange( 
   formula : System.String
) : IRange;
IRange* EvaluateRange( 
   System.string* formula
IRange^ EvaluateRange( 
   System.String^ formula


The formula to evaluate.

Return Value

The result of evaluating the formula as an IRange.
null will be returned if the formula is invalid or does not evaluate to an IRange.

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also


ISheet Interface
ISheet Members
EvaluateRanges Method
EvaluateValue Method
EvaluateValues Method