The chart plots the data in the first two rows of the data sheet.
The scroll bar under the chart is linked to cell A1 in the data sheet. This
corresponds to the row of the data list which is listed in row 2 of the data
sheet and plotted in the chart. The first row of the data sheet contains
series names, which do not change. The second row extracts the values from
the proper row using this formula:
cell B2:
=INDEX(B$9:B$808,$A$1)
If A1's value is 1, B2 takes the 1st value from the data range B9:B808. If
A1's value is 10, B2 takes the 10th value.
The scrollbar directly changes the value in cell A1. The go to beginning and
go to end buttons change A1 to 1 and 800 respectively. The forward and
reverse buttons start VBA routines that add 1 to or subtract 1 from the
value in A1 in each iteration. The pause button changes the value of a
Boolean to true, and when the incrementing code is running, it tests this
value: when it becomes true, the code stops incrementing.
- Jon