Sub test()
Dim objSlide As Slide
Dim objGraph As Object
Set objSlide = ActivePresentation.Slides(1)
Set objGraph = objSlide.Shapes(1)
With objGraph.Chart
For i = 1 To .SeriesCollection(1).Points.Count
.SeriesCollection(1).Points(i).Format.Line.Visible = msoFalse
.Refresh
DoEvents
Sleep 200
Next i
End With
End Sub
' Code of the dummy(empty) UserForm1
Private Sub UserForm_Activate()
' Unload form immediately to provide refreshing of the active slide
Unload Me
End Sub