SpreadsheetGear 2012
EvaluateRanges Method (ISheet)






The formula to evaluate.
Evaluates the specified formula and returns the resulting array of ranges.
Syntax
'Declaration
 
Function EvaluateRanges( _
   ByVal formula As System.String _
) As IRange()
'Usage
 
Dim instance As ISheet
Dim formula As System.String
Dim value() As IRange
 
value = instance.EvaluateRanges(formula)
IRange[] EvaluateRanges( 
   System.string formula
)
function EvaluateRanges( 
    formula: System.String
): array of IRange; 
function EvaluateRanges( 
   formula : System.String
) : IRange[];
IRange*[]* EvaluateRanges( 
   System.string* formula
) 
array<IRange^>^ EvaluateRanges( 
   System.String^ formula
) 

Parameters

formula
The formula to evaluate.

Return Value

The result of evaluating the formula as an array of ranges.
Remarks

Multiple instances of IRange may be returned by providing a formula with comma separated (or the appropriate argument separator for the workbook set's locale) expressions.

null will be returned if the formula is invalid or does not evaluate to one or more ranges.

Requirements

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

Reference

ISheet Interface
ISheet Members
EvaluateRange Method
EvaluateValue Method
EvaluateValues Method

Send Feedback