XLL+ Class Library (7.0)

ExcelForm Class

Used to link .NET forms to Excel.

class ExcelForm


The ExcelForm class establishes a link between the Excel application window and the .NET runtime Forms classes. In order to show a modal dialog during an add-in function (or during an add-in library event handler), you should construct a ExcelForm to use as the parent of your own window.

ExcelForm implements the IWin32Window interface, and can be used wherever .NET expects a window handle, as in the example C++/CLI code below.

    gcnew XllPlus::Forms::ExcelForm(), 
    "Hello from .NET");


Header: xlpclrforms.h

See Also

ExcelForm Methods | xlpclrforms.h | WinWrapper class