Thread: Window Handle
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Tom Ogilvy Tom Ogilvy is offline
external usenet poster
 
Posts: 27,285
Default Window Handle

? application.hwnd
66358


in Excel 2000 and later (or perhaps xl2002 or later - can't recall for
sure).

--
Regards,
Tom Ogilvy

"pod" wrote in message
...
How can I find the window handle for my Excel session from within VBA?