The application class does not have an HWnd property to call
The Excel.Application class has the Hwnd property.
In response to the comment:
We do not use Microsoft.Office.Interop.Excel.dll, but instead Interop.Excel.dll, which lacks this property
I would recommend using PIA (Microsoft.Office.Interop.Excel.dll). If you have a good reason not to want this, and the RCW that you use for some reason does not reveal the property, an alternative could be to use late binding, for example:
typeof(Excel.Application).InvokeMember("Hwnd", BindingFlags.GetProperty, null, app, null);
source share