XLL+ Class Library

XllDriver.CallAddinFunction

Invoke a function contained in a loaded XLL

[VB]
Public Function CallAddinFunction( _
   ByVal FunctionName As String, _
   ByVal ... _
) As Variant 

Parameters

FunctionName

The name of the add-in function, as it would appear in Excel.

...

The arguments to the add-in function.

Remarks

This method (i) converts the argument list to the appropriate argument types for the add-in function, (ii) invokes the add-in function and (iii) converts the result to a COM VARIANT type. It may fail during any of these steps.

Requirements

Library: pslxld01.dll

See Also

XllDriver Class | XllDriver Methods | LoadXll | CallAddinFunctionA