Share via


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 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

Concepts

Application Object Members

Application Object