Table of contents
TOC
Collapse the table of content
Expand the table of content

Application.RegisterXLL Method (Excel)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

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

NameRequired/OptionalData TypeDescription
FilenameRequiredStringSpecifies 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

© 2017 Microsoft