Application.RegisterXLL Method (Excel)

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

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

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

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

Application.RegisterXLL "XLMAPI.XLL"
Show:
© 2014 Microsoft