_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)

bool RegisterXLL(
	string Filename


Type: System.String

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

Return value

Type: System.Boolean

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