Class DownBars (Word VBA)

The class DownBars represents the down bars in a chart group.

Set

To use a DownBars class variable it first needs to be instantiated, for example

Dim dbs as DownBars
Set dbs = ActiveDocument.Background.Chart.ChartGroups(1).DownBars

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

Delete

Deletes the object.

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

Format

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

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

GetProperty

Syntax : expression.GetProperty (ID)

Name

Returns the name of the object.

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

Parent

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

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

Select

Selects the object.

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

SetProperty

Syntax : expression.SetProperty (ID, Value)

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

Arguments

The following arguments are required:

ID - String

Value