Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
PLP PLP is offline
external usenet poster
 
Posts: 5
Default trapping charts event

I'm writing a macro in which the user has to choose 2 value on a bar-graph.
I can trap chart events as Jon Peltier say (
http://www.computorcompanion.com/LPMArticle.asp?ID=221, ), but following his
way I trap *always* chart events.
What I want is to trap chart event in a chart sheet only one time, and after
that I want to leave the charts event control back to excel.
Is it possible?

Sorry for my newbie-ness :-(



  #2   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 6,582
Default trapping charts event

When you have the information you need, and don't need more events from the
chart, deactivate the chart events.

Set clsEventChart.EvtChart = Nothing

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


"PLP" wrote in message
...
I'm writing a macro in which the user has to choose 2 value on a
bar-graph.
I can trap chart events as Jon Peltier say (
http://www.computorcompanion.com/LPMArticle.asp?ID=221, ), but following
his way I trap *always* chart events.
What I want is to trap chart event in a chart sheet only one time, and
after that I want to leave the charts event control back to excel.
Is it possible?

Sorry for my newbie-ness :-(




  #3   Report Post  
Posted to microsoft.public.excel.charting
PLP PLP is offline
external usenet poster
 
Posts: 5
Default trapping charts event

Mr. Peltier, first of all my best compliments for your site!
Well, I follow the instruction but i was wrong in something, so I had
problem.
Now I solved them.... :-)
I did not understood the right place for the code, but I had an insight and
now it works fine.
Thankx again!




"Jon Peltier" ha scritto nel messaggio
...
When you have the information you need, and don't need more events from
the chart, deactivate the chart events.

Set clsEventChart.EvtChart = Nothing

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


"PLP" wrote in message
...
I'm writing a macro in which the user has to choose 2 value on a
bar-graph.
I can trap chart events as Jon Peltier say (
http://www.computorcompanion.com/LPMArticle.asp?ID=221, ), but following
his way I trap *always* chart events.
What I want is to trap chart event in a chart sheet only one time, and
after that I want to leave the charts event control back to excel.
Is it possible?

Sorry for my newbie-ness :-(








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
Error Trapping from WSH Tom Chau Excel Discussion (Misc queries) 1 August 25th 06 04:21 AM
Chart Events - Trapping arrow key strokes RLang Charts and Charting in Excel 3 August 14th 06 12:41 AM
error trapping flow23 Excel Discussion (Misc queries) 3 April 13th 06 04:51 PM
trapping for printer problems TAndrew Charts and Charting in Excel 0 December 22nd 05 09:11 PM
Trapping a NO FIND after a find Alan Excel Discussion (Misc queries) 2 August 31st 05 01:28 PM


All times are GMT +1. The time now is 02:32 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"