Class UpBars (PowerPoint VBA)

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

Set

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

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

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

Syntax : expression.GetProperty (Id)

Name

Returns the name of the object.

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

Parent

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

Select

Selects the object.

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

SetProperty

Syntax : expression.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