Perhaps this can be a start you can adapt to your workbook. This assumes a chart object in the worksheet as opposed to a Chart Sheet.
Option Explicit
Sub ChangeSeriesColor()
Dim co As ChartObject, x, y, z
x = Range("I1").Value
y = Range("I2").Value
z = Range("I3").Value
On Error Resume Next
For Each co In ActiveSheet.ChartObjects
co.Chart.SeriesCollection(1).Interior.ColorIndex = x
co.Chart.SeriesCollection(2).Interior.ColorIndex = y
co.Chart.SeriesCollection(3).Interior.ColorIndex = z
Next co
End Sub
You could run the code by using the worksheet change event to call it. Thus, by entering numeric values in cells, automatically change the color. See cells I1:I3 in the attached.
Private Sub Worksheet_Change(ByVal Target As Range)
If Not Intersect(Target, Range("I1:I3")) Is Nothing Then
Run "ChangeSeriesColor"
End If
End Sub
Bookmarks