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"
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.