Application.Hinstance Property
Returns the instance handle of the instance that is calling Microsoft Excel. Read-only Long.
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 |
|---|
|