Application.Hinstance Property (Excel)
Published: July 16, 2012
Returns a handle to the instance of Microsoft Excel 2013 represented by the Application object. Read-only Long.
This property returns a correct handle only in the 32-bit version of Excel. In Excel 2013, the HinstancePtr property was introduced, which works correctly in both 32- and 64-bit versions of Excel 2013.