Class DownBars (Word VBA)
The class DownBars represents the down bars in a chart group. 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
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
GetProperty (ID)
Name
Returns the name of the object.
Dim strName As String
strName = ActiveDocument.Background.Chart.ChartGroups(1).DownBars.Name
Select
Selects the object.
ActiveDocument.Background.Chart.ChartGroups(1).DownBars.Select
SetProperty
Dim strID As String: strID =
ActiveDocument.Background.Chart.ChartGroups(1).DownBars.SetProperty ID:=strID, Value:=
Arguments
The following arguments are required:
ID - String
Value