Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default 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


  #2   Report Post  
Posted to microsoft.public.excel.programming
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




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default 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






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
The window opens in a smaller window not full sized window. Rachael Excel Discussion (Misc queries) 0 November 7th 06 09:04 PM
unable to get the excel app event trigger for for window resize [email protected] Excel Programming 0 November 30th 05 03:03 AM
Window Event Nigel Excel Programming 2 April 29th 05 08:42 PM
event in worksheet switches to VB code window asiamood Excel Programming 0 February 20th 04 06:40 PM
Excel main window close event Avneesh Saxena Excel Programming 2 November 21st 03 07:42 PM


All times are GMT +1. The time now is 05:57 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"