Class SeriesLines (Word VBA)

The class SeriesLines represents series lines in a chart group.

Set

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

SeriesLines class variables can be set using the ChartGroup.SeriesLines procedure.

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

Syntax : expression.GetProperty (ID)

Name

Returns the name of the object.

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

Parent

Returns the parent for the specified object. Read-only object.

Dim objParent As Object
Set objParent = ActiveDocument.Background.Chart.ChartGroups(1).SeriesLines.Parent

Select

Selects the object.

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

SetProperty

Syntax : expression.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