PC Review


Reply
Thread Tools Rate Thread

Centralized event handler

 
 
=?Utf-8?B?TmF5YW4=?=
Guest
Posts: n/a
 
      2nd Nov 2007

How to centralize an event handler for all the workbooks that are open ?

In other words I want to handle cell click event from workbook1.sheet1 in to
an addin (say HandleEvent.xla).

In the similar fashion I want to create a tool bar from this addin, only if
a specific workbook is opened.

( I remember using Public withevents oExcel as Excel.application to get a
handle to any workbook being opened from a centralize addin. But can not
recall any furthur)

Any ideas???

Thanks in advance

Nayan



 
Reply With Quote
 
 
 
 
Andy Pope
Guest
Posts: n/a
 
      2nd Nov 2007
Hi,

Have a read of Chip Pearson's page on application events.
http://www.cpearson.com/excel/AppEvent.aspx

Cheer
Andy

Nayan wrote:
> How to centralize an event handler for all the workbooks that are open ?
>
> In other words I want to handle cell click event from workbook1.sheet1 in to
> an addin (say HandleEvent.xla).
>
> In the similar fashion I want to create a tool bar from this addin, only if
> a specific workbook is opened.
>
> ( I remember using Public withevents oExcel as Excel.application to get a
> handle to any workbook being opened from a centralize addin. But can not
> recall any furthur)
>
> Any ideas???
>
> Thanks in advance
>
> Nayan
>
>
>

 
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
Event Handler that creates adds another event handler kaczmar2@gmail.com Microsoft ASP .NET 1 22nd Feb 2007 07:37 AM
Check if object handles/is hooked up to a certain type of event/event handler nford@vizual.co.uk Microsoft VB .NET 2 14th Jun 2005 11:58 AM
setting a breakpoint in a WinForms event handler... and then getting caught in the event loop. Hazz Microsoft C# .NET 8 14th Feb 2005 08:25 PM
How to Remove an Event Handler without knowing the name of the handler Charles Law Microsoft VB .NET 4 10th Jun 2004 03:48 PM
Create new event handler or override existing handler? =?Utf-8?B?V29vbiBLaWF0?= Microsoft Dot NET Framework Forms 1 5th Jan 2004 08:08 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:15 PM.