RegisterXLL Method

Applies To

Application object.

Description

Loads an XLL code resource and automatically registers the functions and commands contained in the resource.

Syntax

expression.RegisterXLL(Filename)

expression Required. An expression that returns an Application object.

Filename Required String. Specifies the name of the XLL to be loaded.

Remarks

This method returns True if the code resource is successfully loaded; otherwise, the method returns False.

See Also

RegisteredFunctions property.

Example

This example loads an XLL file and registers the functions and commands in the file.

Application.RegisterXLL "XLMAPI.XLL"