Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Jdoggrr
 
Posts: n/a
Default Retrieve point address from scatter plot by clicking?

Basically, I'm trying to retrieve several selects peaks and troughs from an
oscillation data set with multiple amplitudes. It would be optimal to click
on the point and transfer the coordinate values to the spreadsheet.
  #2   Report Post  
Jon Peltier
 
Posts: n/a
Default

You need to trap chart events, then determine where the click occurred
and which point was under it. I discuss chart events in this article:

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

A section entitled "Identify the Point Clicked By the User" is located
about halfway through the article.

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


Jdoggrr wrote:

Basically, I'm trying to retrieve several selects peaks and troughs from an
oscillation data set with multiple amplitudes. It would be optimal to click
on the point and transfer the coordinate values to the spreadsheet.

  #3   Report Post  
Jdoggrr
 
Posts: n/a
Default Retrieve point address from scatter plot by clicking?

Hi Jon,
Over the past month, I have gone through your code, and have tried modifying
it to suit my needs. However, because I am a VBA nepohyte, I am unable to get
the code to work when I transfer to my own sheet. Would it be possible to
email the sheet to you, so you could take a look at it?

Thanks
Justin

"Jon Peltier" wrote:

You need to trap chart events, then determine where the click occurred
and which point was under it. I discuss chart events in this article:

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

A section entitled "Identify the Point Clicked By the User" is located
about halfway through the article.

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


Jdoggrr wrote:

Basically, I'm trying to retrieve several selects peaks and troughs from an
oscillation data set with multiple amplitudes. It would be optimal to click
on the point and transfer the coordinate values to the spreadsheet.


  #4   Report Post  
Jon Peltier
 
Posts: n/a
Default Retrieve point address from scatter plot by clicking?

Thanks for asking first. I can't promise an immediate response, but I
will try to look at it in a few days. Make the obvious correction to my
email address.

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


Jdoggrr wrote:

Hi Jon,
Over the past month, I have gone through your code, and have tried modifying
it to suit my needs. However, because I am a VBA nepohyte, I am unable to get
the code to work when I transfer to my own sheet. Would it be possible to
email the sheet to you, so you could take a look at it?

Thanks
Justin

"Jon Peltier" wrote:


You need to trap chart events, then determine where the click occurred
and which point was under it. I discuss chart events in this article:

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

A section entitled "Identify the Point Clicked By the User" is located
about halfway through the article.

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


Jdoggrr wrote:


Basically, I'm trying to retrieve several selects peaks and troughs from an
oscillation data set with multiple amplitudes. It would be optimal to click
on the point and transfer the coordinate values to the spreadsheet.


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
Point labels in an Excel scatter plot to be associated text Point labels in scatter plot - text? Charts and Charting in Excel 4 April 29th 23 07:45 PM
Can I copy x-y scatter plot data direct from one plot to another? Chris Charts and Charting in Excel 2 June 3rd 05 01:20 PM
Custom data labels on a scatter plot Bradfro Charts and Charting in Excel 3 April 20th 05 12:25 PM
scatter plot & label for a data point shabnam Charts and Charting in Excel 3 April 11th 05 06:37 PM
Fill area beneath a scatter plot JZip Charts and Charting in Excel 4 December 8th 04 01:59 PM


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