Respond to a call to the Excel SDK
[VB]
Public Function HandleExcel4( _
ByVal xlfn As Long, _
ByVal arguments As Variant(), _
ByRef resultCode As Long, _
ByRef resultValue As Variant _
) As Boolean
The numeric ID of a built-in Excel function.
The arguments to the Excel built-in function, as an array of Variants.
If the function is handled, then resultCode must be set to the simulated return value from Excel4(). This should be one of the values listed below.
If the function is handled, and is expected to return a value, then resultValue should be set to contain that value.
If the SDK function is handled, this method should return TRUE.
If the function is not handled, then it should return FALSE.
When the XllDriver intercepts a call to the Excel SDK, it tries each emulator in turn,
until one of them returns TRUE.
If you are analysing an XLL, you may find it useful
to call XllDriver.GetFunctionName
to convert a numeric function ID to text.
Name Value Description xlretSuccess 0 The function returned successfully
and (if required) the value of resultValue was set. xlretAbort 1 The operation was aborted by the user xlretInvXlfn 2 The function is not valid at this time xlretInvCount 4 The number of arguments was invalid xlretInvXloper 8 One of the arguments was invalid xlretStackOvfl 16 Stack overflow xlretFailed 32 The operation failed xlretUncalced 64 The function could not be calculated at this time, and will be attempted again later
Library: pslxld01.dll