Class UpBars (PowerPoint 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 = ActiveWindow.RangeFromPoint.Chart.ChartGroups(1).UpBars

Delete

Deletes the object.


ActiveWindow.RangeFromPoint.Chart.ChartGroups(1).UpBars.Delete

Fill

Returns a FillFormat object for the parent chart element that contains fill formatting properties for the chart element.


Dim As Variant
ActiveWindow.RangeFromPoint.Chart.ChartGroups(1).UpBars.Fill

Format

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


Dim cftFormatted As ChartFormat
Set cftFormatted = ActiveWindow.RangeFromPoint.Chart.ChartGroups(1).UpBars.Format

GetProperty

GetProperty (Id)

Name

Returns the name of the object.


Dim strName As String
strName = ActiveWindow.RangeFromPoint.Chart.ChartGroups(1).UpBars.Name

Select

Selects the object.


ActiveWindow.RangeFromPoint.Chart.ChartGroups(1).UpBars.Select

SetProperty

SetProperty (Id, Value)


Dim strId As String: strId = 
ActiveWindow.RangeFromPoint.Chart.ChartGroups(1).UpBars.SetProperty Id:=strId, Value:=

Arguments

The following arguments are required:

Id - String

Value