Partager via


_Chart.BarGroups Method

On a 2-D chart, returns an object that represents either a single bar chart group (a ChartGroup object) or a collection of the bar chart groups (a ChartGroups collection).

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Function BarGroups ( _
    Index As Object _
) As Object
'Usage
Dim instance As _Chart
Dim Index As Object
Dim returnValue As Object

returnValue = instance.BarGroups(Index)
Object BarGroups(
    Object Index
)

Parameters

  • Index
    Type: System.Object

    Optional Object. Specifies the chart group.

Return Value

Type: System.Object

See Also

Reference

_Chart Interface

_Chart Members

Microsoft.Office.Interop.Excel Namespace