PC Review


Reply
Thread Tools Rate Thread

Application Event Question

 
 
Steve Haack
Guest
Posts: n/a
 
      16th Mar 2008
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 With Quote
 
 
 
 
Steve Haack
Guest
Posts: n/a
 
      16th Mar 2008
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 With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Application unhandled exception event question Bob Microsoft VB .NET 1 12th Jun 2006 08:53 PM
Application Event Viewer showing Category (52) Event 4354 =?Utf-8?B?RG9ubmE=?= Windows XP Basics 1 12th Jul 2004 03:22 AM
PhotoShop not opening, event viewer says application hang, event =?Utf-8?B?Q2Fyb2x5bg==?= Windows XP General 3 8th Jul 2004 02:07 PM
Question about event handling in a win32 c++ application =?Utf-8?B?R0FFTA==?= Microsoft VC .NET 4 14th Mar 2004 11:40 PM
Event ID 1003 : Source BINLSVC : Posted to Application Event Log Every 35 Seconds Dan Geiser Microsoft Windows 2000 2 4th Dec 2003 09:30 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:29 PM.