#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Chart Data

I have data in a chart. I want to set up a macro to perform calculations on
this data, but I want to be able to select the "starting point" - which will
not necessarily correspond to the first data point.

Is there a way to allow a user to manipulate a "line" on the graph so that
where they position that line (along the x-axis) will correspond to the
starting position to perform calculations on the data?

Any other suggestions?

Thanks
Frank
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,588
Default Chart Data

Plot another series on the chart as a line, using two datapoints with
the same x-values and different y-values (use min y & max y). Set the
series x-values to a cell and link a scrollbar on the sheet to the
cell. Set the min and max of the scrollbar to the min/max of your
x-axis data. The user can move the scroll bar to position the line on
the chart.

Tim.



"Frank@shell" wrote in message
...
I have data in a chart. I want to set up a macro to perform
calculations on
this data, but I want to be able to select the "starting point" -
which will
not necessarily correspond to the first data point.

Is there a way to allow a user to manipulate a "line" on the graph
so that
where they position that line (along the x-axis) will correspond to
the
starting position to perform calculations on the data?

Any other suggestions?

Thanks
Frank



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
Chart empty with new data in the dynamic range chart. Feejo Excel Discussion (Misc queries) 16 January 3rd 08 10:03 PM
chart from pivot data does not update x-axis bar chart values - bug jason gers Excel Discussion (Misc queries) 0 April 3rd 07 06:34 PM
How do you link chart source data when you copy the chart? mamagirl Charts and Charting in Excel 1 December 8th 06 02:40 AM
Resizing chart because of refreshing Chart Data through a query jayb Charts and Charting in Excel 0 August 10th 06 04:21 PM
Chart data file lost - need to re-create from chart? LostExcelData Charts and Charting in Excel 1 June 7th 06 07:54 PM


All times are GMT +1. The time now is 06:46 AM.

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

About Us

"It's about Microsoft Excel"