View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Bob Phillips Bob Phillips is offline
external usenet poster
 
Posts: 10,593
Default 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