Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 39
Default Centralized event handler


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



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,489
Default Centralized event handler

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
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
Save Event Handler Spencer Excel Programming 1 February 24th 07 02:42 PM
Event handler VBA Noob[_4_] Excel Programming 4 April 26th 06 03:49 PM
Clipboard Event Handler? [email protected] Excel Programming 1 April 2nd 06 04:37 AM
Autoshape event handler? [email protected] Excel Programming 7 February 23rd 06 10:12 PM
where is the workbook_open event handler??? Steff_DK[_10_] Excel Programming 2 April 25th 04 02:43 PM


All times are GMT +1. The time now is 02:24 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"