Application.RegisterXLL Method (Excel)

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

Syntax

expression. RegisterXLL( _Filename_ )

expression A variable that represents an [Application](Excel.Application(Graph property).md) object.

Parameters

Name Required/Optional Data Type Description
Filename Required String Specifies the name of the XLL to be loaded.

Return Value

Boolean

Remarks

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

Example

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

Application.RegisterXLL "XLMAPI.XLL"

See also

Application Object