Hi all, I have a macro in excel that sets all the line weights in an active chart to a specific line width. The code is below. How do I adjust it: (1) to change width of a single series that I have selected on the chart (rather than all of them); and (2) change the colour (rather than the width) to one I specify (rgb(50,205,50)). Thank you!
Sub SetWeightsNormal()
Dim srs As series
For Each srs In ActiveChart.SeriesCollection
srs.Format.Line.Weight = 2#
Next
End Sub
Sub SetWeightsNormal()
Dim srs As series
For Each srs In ActiveChart.SeriesCollection
srs.Format.Line.Weight = 2#
Next
End Sub