Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / March 2008

Tip: Looking for answers? Try searching our database.

Application Event Question

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Steve Haack - 16 Mar 2008 17:32 GMT
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
Steve Haack - 16 Mar 2008 17:48 GMT
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....

> 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...
[quoted text clipped - 8 lines]
> Thanks,
> Steve
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.