![]() |
new window event
Hi
xl2003. Does anyone know how I can get an event to fire when the user opens a new window ? 'withevents' in a class module offers activate, deactivate and resize but no other likely suspects. Any help, advive or pointers gratefully received. Many thanks John |
new window event
Try saving all the application window captions on startup, and each time a
window is activated, check against your list (array). If found, ignore, if not its new so do your stuff and add it. Maybe it would be best to check all windows on any activate, in case one is closed. -- HTH Bob Phillips (replace somewhere in email address with gmail if mailing direct) "John" wrote in message ... Hi xl2003. Does anyone know how I can get an event to fire when the user opens a new window ? 'withevents' in a class module offers activate, deactivate and resize but no other likely suspects. Any help, advive or pointers gratefully received. Many thanks John |
new window event
Thanks Bob, nice workaround!
"Bob Phillips" wrote in message ... Try saving all the application window captions on startup, and each time a window is activated, check against your list (array). If found, ignore, if not its new so do your stuff and add it. Maybe it would be best to check all windows on any activate, in case one is closed. -- HTH Bob Phillips (replace somewhere in email address with gmail if mailing direct) "John" wrote in message ... Hi xl2003. Does anyone know how I can get an event to fire when the user opens a new window ? 'withevents' in a class module offers activate, deactivate and resize but no other likely suspects. Any help, advive or pointers gratefully received. Many thanks John |
All times are GMT +1. The time now is 10:35 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com