I tried weejas suggestion and built the following macro by selecting a series and setting it's width to a thick line.
Code:
ActiveChart.SeriesCollection(1).Select
With Selection.Border
.ColorIndex = 57
.Weight = xlThick
.LineStyle = xlContinuous
End With
With Selection
.MarkerBackgroundColorIndex = xlNone
.MarkerForegroundColorIndex = xlNone
.MarkerStyle = xlNone
.Smooth = False
.MarkerSize = 3
.Shadow = False
End With
It took me awhile to realize that the line properties are contained inthe border object. After realizing that I change the code to the following and it appears to work.
Code:
If Not sWeight = "" Then
If Application.Version > 11 Then
oXLSer.Format.Line.Weight = sWeight
Else
If sWeight > 4 Then
sWeight = 4
oXLSheetControl.Cells(20, 4).Value = 4
MsgBox "Line weight cannot exceed 4." & vbCrLf & _
"Setting weight to max value.", _
vbOKOnly, _
"Line weight limit exceeded"
End If
oXLSer.Border.Weight = sWeight
End If
End If
Thanks for the suggestion weejas