_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.StringRequired 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.