PC Review


Reply
Thread Tools Rate Thread

Application event for Chart selected/activated?

 
 
raidevnet
Guest
Posts: n/a
 
      24th Jun 2008
Hi to all,

I need to update a Task Pane whenever the user selects a chart.
How can this be archived?

I've tried using Chart.Activate events, which works as long as the user does
not add new charts. In the Workbook Open event, I could then subscribe to the
Chart.Activate event of each instance, but what if the user creates a new
chart object?

I there anything like an Application.ChartActivated/Selected event that I
missed?

Regards,
Rai

 
Reply With Quote
 
 
 
 
Jon Peltier
Guest
Posts: n/a
 
      24th Jun 2008
Don't use the events on a chart sheet's module. Add a class module, and
assign each chart to an instance of the class. More about this here:

http://www.computorcompanion.com/LPMArticle.asp?ID=221

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. - http://PeltierTech.com
_______


"raidevnet" <(E-Mail Removed)> wrote in message
news:395BEF85-1C4B-47C7-A03E-(E-Mail Removed)...
> Hi to all,
>
> I need to update a Task Pane whenever the user selects a chart.
> How can this be archived?
>
> I've tried using Chart.Activate events, which works as long as the user
> does
> not add new charts. In the Workbook Open event, I could then subscribe to
> the
> Chart.Activate event of each instance, but what if the user creates a new
> chart object?
>
> I there anything like an Application.ChartActivated/Selected event that I
> missed?
>
> Regards,
> Rai
>



 
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
RE: Event when Backend is activated/ldb dch3 Microsoft Access VBA Modules 1 28th Jul 2008 03:50 PM
RE: Event when Backend is activated/ldb Klatuu Microsoft Access VBA Modules 0 28th Jul 2008 03:06 PM
can't update chart series unless its activated Woody Microsoft Excel Programming 1 29th Jun 2005 01:03 AM
Activated Event Vs. other Events Christian Correa Microsoft Dot NET Framework Forms 1 12th Apr 2005 08:33 PM
VBA - Left Shift to be Activated when Sheet is selected. =?Utf-8?B?QnJhZFdhcnI=?= Microsoft Excel Programming 1 22nd Jun 2004 01:25 PM


Features
 

Advertising
 

Newsgroups
 


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