XLL+ Class Library

CXlMacros::EvaluateIntl

Evaluates a formula or expression that is in the form of English text and returns the result

[C++]
static int EvaluateIntl(
   CXlOper& xloValue,
   const char* formula_text
);

Parameters

xloValue

A reference to a CXlOper that will contain the desired data if the function succeeds.

formula_text

Formula_text is the expression in the form of text that you want to evaluate. The formula should always be in English, using the separators and syntax of US English settings.

Return value

Zero if the function has been called successfully; non-zero if the function could not be called. See Error codes for a list of return values.

Remarks

See the Microsoft Excel on-line Help for full details about this function.

Requirements

Header: xlfuncs.h

See Also

CXlMacros Class | CXlMacros Methods