Class UpBars (Excel VBA)

The class UpBars represents the up bars in a chart group.

Item

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

Dim ubs as UpBars
Set ubs = ActiveChart.ChartGroups(1).UpBars

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

Delete

Deletes the object.

ActiveChart.ChartGroups(1).UpBars.Delete

Format

Returns the ChartFormat object.

Dim cftFormatted As ChartFormat
Set cftFormatted = ActiveChart.ChartGroups(1).UpBars.Format

GetProperty

GetProperty (ID)

Name

Returns a String value that represents the name of the object.

Dim strName As String
strName = ActiveChart.ChartGroups(1).UpBars.Name

Select

Selects the object.

ActiveChart.ChartGroups(1).UpBars.Select

SetProperty

SetProperty (ID, Value)

Dim strID As String: strID = 
ActiveChart.ChartGroups(1).UpBars.SetProperty ID:=strID, Value:=

Arguments

The following arguments are required:

ID - String

Value