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.

Visual Basic for Applications
Application.RegisterXLL "XLMAPI.XLL"
Input and register XLL code? Load xll resource? register register xll Register XLL Method RegisterXLL RegisterXLL Method

See also: