Class SeriesLines (PowerPoint VBA)

The class SeriesLines represents series lines in a chart group. To use a SeriesLines class variable it first needs to be instantiated, for example


Dim sls as SeriesLines
Set sls = ActiveWindow.RangeFromPoint.Chart.ChartGroups(1).SeriesLines

Border

Returns the border of the object.


Dim cbrBorder As ChartBorder
Set cbrBorder = ActiveWindow.RangeFromPoint.Chart.ChartGroups(1).SeriesLines.Border

Delete

Deletes the object.


ActiveWindow.RangeFromPoint.Chart.ChartGroups(1).SeriesLines.Delete

Format

Returns the line, fill, and effect formatting for the object.


Dim cftFormatted As ChartFormat
Set cftFormatted = ActiveWindow.RangeFromPoint.Chart.ChartGroups(1).SeriesLines.Format

GetProperty

GetProperty (Id)

Name

Returns the name of the object.


Dim strName As String
strName = ActiveWindow.RangeFromPoint.Chart.ChartGroups(1).SeriesLines.Name

Select

Selects the object.


ActiveWindow.RangeFromPoint.Chart.ChartGroups(1).SeriesLines.Select

SetProperty

SetProperty (Id, Value)


Dim strId As String: strId = 
ActiveWindow.RangeFromPoint.Chart.ChartGroups(1).SeriesLines.SetProperty Id:=strId, Value:=

Arguments

The following arguments are required:

Id - String

Value