I have this chart in which if any point in graphs exceeds specific limit then its color should change.
can anyone suggest me how to get the chart in VBA and then apply this kind of condition e.g i want to change the color of highest point in the above graph . Any help would be highly appreciated.
Using:
ActiveWorkbook.Sheets("Sheet1").ChartObjects("Chart1").Chart.SeriesCollection(1)Color of each point is
.Points(PointNumber).Interior.ColorThe number of points you have to cycle though is
.Points.CountThe value of each point is
.Points(PointNumber).Valuecolors of the markers themselves (Applies only to line, scatter, and radar charts):