Share via


_Application.RegisterXLL Method

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

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Function RegisterXLL ( _
    Filename As String _
) As Boolean
'Usage
Dim instance As _Application
Dim Filename As String
Dim returnValue As Boolean

returnValue = instance.RegisterXLL(Filename)
bool RegisterXLL(
    string Filename
)

Parameters

  • Filename
    Type: System.String

    Required String. Specifies the name of the XLL to be loaded.

Return Value

Type: System.Boolean

Remarks

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

See Also

Reference

_Application Interface

_Application Members

Microsoft.Office.Interop.Excel Namespace