SpreadsheetGear 2017
EvaluateValues Method (ISheet)






SpreadsheetGear Namespace > ISheet Interface : EvaluateValues Method
The comma separated list of one or more expressions to evaluate.
Evaluates the specified comma separated list of expressions and returns the result(s) as an array of objects, where each object is a System.Double, System.String, System.Boolean or ValueError. null is returned if any of the expressions is invalid or if any of the expressions evaluates to a reference to an empty cell.
Syntax
'Declaration
 
Function EvaluateValues( _
   ByVal formula As System.String _
) As System.Object()
'Usage
 
Dim instance As ISheet
Dim formula As System.String
Dim value() As System.Object
 
value = instance.EvaluateValues(formula)
System.object[] EvaluateValues( 
   System.string formula
)
function EvaluateValues( 
    formula: System.String
): System.array of TObject; 
function EvaluateValues( 
   formula : System.String
) : System.Object[];
System.Object*[]* EvaluateValues( 
   System.string* formula
) 
System.array<Object^>^ EvaluateValues( 
   System.String^ formula
) 

Parameters

formula
The comma separated list of one or more expressions to evaluate.

Return Value

The result(s) of evaluating the comma separated list of expressions as an array of objects, where each object is a System.Double, System.String, System.Boolean or ValueError. null is returned if any of the expressions is invalid or any of the expressions evaluates to a reference to an empty cell.
Remarks

Multiple values 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 any of the expressions is invalid or if any of the expressions evaluates to a reference to an empty cell.

If an expression results in a range or an array, the top-left value of the range or array will be returned for that expression.

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
EvaluateRanges Method
EvaluateValue Method