Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Handling Multiple Events in Excel 1

Status
Not open for further replies.
Joined
Jun 24, 2005
Messages
109
Location
GB
Hi all,

Is there any way to have one procedure or class that can handle multiple events?

Specifically I would like to have a sepcific function fire on the double click event of any worksheet. Even if a new worksheet is added.

The only way I can think of doing it is by writing code at runtime - but I'd rather avoid that method, and find something that doesnt raise security issues.

Any ideas?

Thanks

Matt
 
Take a look at the Workbook - or Application - SheetBeforeDoubleClick Event. Does that not do what you want?

Enjoy,
Tony

--------------------------------------------------------------------------------------------
We want to help you; help us to do it by reading this: Before you ask a question.

Professional Office Developers Association
 
That does exactly what I want!!!!

Cant believe I missed that!!

Thanks Tony
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top