so this is the main line of code for everything else
ActiveSheet.ChartObjects("Chart 1").Chart.SeriesCollection(1).Values = Range(Range("a12").Offset(Range("o4"), 3), Range("a12").Offset(Range("o4"), 7))
this is just the syntax for the data series
ActiveSheet.ChartObjects("Chart 1").Chart.SeriesCollection(1).Values
this bit sets the range
Range(Range("a12").Offset(Range("o4"), 3), Range("a12").Offset(Range("o4"), 7))
starting cells of range begins at A12 then offset by the number generated from dropdown box...ie if it is 3 it drops down 3 rows then 3 columns
likewise for end range of range...except 7 columns
example
option 5, drops down 6 lines from 12 = 12+6 = 18
making the range ("D18:H18")
Maximum value would be pretty self explanatory if you understand the everything else part
Bookmarks