I have multiple lines on a chart (6 or more) and I would like to change the color of the lines that are from an even series (seriescollection(2),(4),(6),etc.) to the color of the lines preceding them. The color of seriescollection(2) line would be the same as the color of seriescollection(1) and the same idea for the rest.
Specifically, I cannot figure out how to just change the color of the line in vba. I try:
Activechart.Legend.Legendentries(6).Format.Line.ObjectThemeColor = msoThemeColorAccent1
but I get an error saying "Method 'line' of object 'Chart Format' failed"
Specifically, I cannot figure out how to just change the color of the line in vba. I try:
Activechart.Legend.Legendentries(6).Format.Line.ObjectThemeColor = msoThemeColorAccent1
but I get an error saying "Method 'line' of object 'Chart Format' failed"