Export (0) Print
Expand All
Expand Minimize

Application.Hinstance Property

Office 2007
Returns a handle to the Microsoft Excel instance represented by the Application object. Read-only Long.

Syntax

expression.Hinstance

expression   A variable that represents an Application object.

Example

In this example, a message box displays the Microsoft Excel instance handle to the user.

Visual Basic for Applications
Sub CheckHinstance()

    MsgBox Application.Hinstance

End Sub



Community Additions

ADD
Show:
© 2014 Microsoft