Class UpBars (Excel VBA)
The class UpBars represents the up bars in a chart group. To use a UpBars class variable it first needs to be instantiated, for example
Dim ubs as UpBars
Set ubs = ActiveChart.ChartGroups(1).UpBars
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
Dim strID As String: strID =
ActiveChart.ChartGroups(1).UpBars.SetProperty ID:=strID, Value:=
Arguments
The following arguments are required:
ID - String
Value