Class SeriesLines (Word 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 = ActiveDocument.Background.Chart.ChartGroups(1).SeriesLines

Border

Returns the border of the object.


Dim cbrBorder As ChartBorder
Set cbrBorder = ActiveDocument.Background.Chart.ChartGroups(1).SeriesLines.Border

Delete

Deletes the object.


ActiveDocument.Background.Chart.ChartGroups(1).SeriesLines.Delete

Format

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


Dim cftFormatted As ChartFormat
Set cftFormatted = ActiveDocument.Background.Chart.ChartGroups(1).SeriesLines.Format

GetProperty

GetProperty (ID)

Name

Returns the name of the object.


Dim strName As String
strName = ActiveDocument.Background.Chart.ChartGroups(1).SeriesLines.Name

Select

Selects the object.


ActiveDocument.Background.Chart.ChartGroups(1).SeriesLines.Select

SetProperty

SetProperty (ID, Value)


Dim strID As String: strID =  
ActiveDocument.Background.Chart.ChartGroups(1).SeriesLines.SetProperty ID:=strID, Value:=

Arguments

The following arguments are required:

ID - String

Value