How to find it for earlier versions of Excel. I read somewhere that it can be found using FindWindow API call. If so please tell me how to use this API call to find hwnd?use Win32::OLE qw(in with); use Win32::OLE::Const 'Microsoft Excel'; $Constant = Win32::OLE::Const->Load('Microsoft Excel'); $Excel = Win32::OLE->new('Excel.Application', 'Quit') || die "Error launching MS Excel ".Win32::OLE->LastError; $hwnd = $Excel->{"Hwnd"}; print "Excel Windows Handle: $hwnd\n";
In reply to How to get windows handle? by Nalina
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |