Syntax

expression.Hinstance

expression A variable that represents an Application object.

Example

In this example, Microsoft Excel notifies the user about the instance handle of the instance that is calling Excel.

Visual Basic for Applications
Sub CheckHinstance() MsgBox Application.Hinstance End Sub
hinstance hinstance property

See also: