Invokes the controlled Excel instance and evaluates the named add-in function, using the specifed parameter list of arguments.

Namespace:  XllPlus.ComWrappers.Runtime
Assembly:  XllPlus.ComWrappers.Runtime (in XllPlus.ComWrappers.Runtime.dll) Version: 6.3.4.831 (6.3.4.0831)

Syntax

C#
Object CallExcel(
	string fnName,
	params Object[] arguments
)
Visual Basic (Declaration)
Function CallExcel ( _
	fnName As String, _
	ParamArray arguments As Object() _
) As Object
Visual C++
Object^ CallExcel(
	String^ fnName, 
	... array<Object^>^ arguments
)

Parameters

fnName
Type: System..::.String
The name of the function, as visible in Excel.
arguments
Type: array< System..::.Object >[]()[]
The arguments to the add-in function.

Return Value

The variant type returned by Excel.

See Also