consider add a scrollbar from 'Control Toolbox' right click it to inser
this code:
Private Sub ScrollBar1_Change()
Worksheets("Sheet1").Range("D1").Value = ScrollBar1.Value
ActiveSheet.ChartObjects("Chart 1").Activate
ActiveChart.SeriesCollection(1).Values = "=Sheet1!R1C1:R"
Worksheets("Sheet1").Range("D1").Value & "C1"
ActiveChart.SeriesCollection(2).Values = "=Sheet1!R1C2:R"
Worksheets("Sheet1").Range("D1").Value & "C2"
End Sub
skelhorne wrote:
> *I am looking to have a cell value as part of the range that i
> plotted in a chart, for example
>
> =SERIES(,Sheet1!$A[B]$1*:$A$10,Sheet1!$B*$1*:$B$10,1)
>
> I would like to replace *$1* (for both A and B with a value that i
> entered in another cell (say D15). The value in D15 would be tied t
> a scroll bar but I don’t know the syntax or if this is eve
> possible.
>
> Any help would be appreciated. [/B
--
Message posted from
http://www.ExcelForum.com