For a line chart, in the Excel UI:
You can manually change the line weight of the series line in 'Format Data Series', Line Style.
You can manually change the line weight of the marker outline in 'Format Data Series', Marker Line Style.
I haven't been able to distinguish these two in the VBA object model. For example, if you change each one in sequence while recording, the code is as follows:
With Selection.Format.Line ' This block is from Line Style
.Visible = msoTrue
.Weight = 1.5
End With
With Selection.Format.Line ' This block is from Marker Line Style
.Visible = msoTrue
.Weight = 2
End With
I want to write VBA code that will make the line between points thicker (like, 2 points), and the line around the point itself thinner (like 1 point). But if I use the code like above, changing one will change the other as well.
Thanks!
With Selection
which is ambiguous context. Even so, it appears that.Format.Line
forSeriesCollection(n)
and.SeriesCollection(n).Point
are linked: one clobbers the other (on a per-point basis), regardless of which order you put them in the code. – Knom