Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 44
Default Application Event Question

I want to use the Workbook.Activate application event to detect when a
worksheet has been activated, and then depending on which one, do something...

I have seen reference on this site to catching this event in the
"ThisWorkBook code module", but I don't know where that is. I tried creating
a module with that name, and told me that it was already in use.

I'm sure that I am missing something that should be obvious, but where is or
how do I create the "ThisWorkBook" code module.

Thanks,
Steve
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 44
Default Application Event Question

Never mind.....I found it. I knew it was something obvious.....I have ~100
sheets in my workbook, and ThisWorkbook is the last in the LONG list, so I
never saw it in there....


"Steve Haack" wrote:

I want to use the Workbook.Activate application event to detect when a
worksheet has been activated, and then depending on which one, do something...

I have seen reference on this site to catching this event in the
"ThisWorkBook code module", but I don't know where that is. I tried creating
a module with that name, and told me that it was already in use.

I'm sure that I am missing something that should be obvious, but where is or
how do I create the "ThisWorkBook" code module.

Thanks,
Steve

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
Application level event help John Bundy Excel Discussion (Misc queries) 2 January 15th 08 10:30 PM
Application Maximise event [email protected] Excel Programming 1 January 4th 08 01:53 AM
how to add a sub at the application level open event? Rich Excel Programming 5 October 25th 07 10:59 PM
Application Event Procedure <Falling Over Tim Childs Excel Programming 10 June 18th 07 10:06 AM
Trigger an Excel VBA event from another application Mike[_113_] Excel Programming 4 December 14th 06 09:21 AM


All times are GMT +1. The time now is 05:40 PM.

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"