_Application.Hwnd Property

Returns an Integer indicating the top-level window handle of the Microsoft Excel window.

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

Syntax

'Declaration
ReadOnly Property Hwnd As Integer
    Get
'Usage
Dim instance As _Application
Dim value As Integer

value = instance.Hwnd
int Hwnd { get; }

Property Value

Type: System.Int32

See Also

Reference

_Application Interface

_Application Members

Microsoft.Office.Interop.Excel Namespace