Evaluates the specified formula and returns the result as a
System.Double,
System.String,
System.Boolean,
ValueError or
null if the formula is invalid or the formula evaluates to a reference to an empty cell.
'Declaration
Function EvaluateValue( _
ByVal As System.String _
) As System.Object
'Usage
Dim instance As ISheet
Dim formula As System.String
Dim value As System.Object
value = instance.EvaluateValue(formula)
System.object EvaluateValue(
System.string
)
Parameters
- formula
- The formula to evaluate.
Return Value
The result of evaluating the formula as a
System.Double,
System.String,
System.Boolean,
ValueError or
null if the formula is invalid or the formula evaluates to a reference to an empty cell.
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