SpreadsheetGear 2012
EvaluateValues Method (ISheet)






The formula to evaluate.
Evaluates the specified formula and returns the result as an array of objects, where each object is a System.Double, System.String, System.Boolean or ValueError.
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 formula to evaluate.

Return Value

The result of evaluating the formula as an array of objects, where each object is a System.Double, System.String, System.Boolean or ValueError.
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 the formula is invalid.

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

Send Feedback