Compartilhar via


_Chart.ChartGroups Method

Returns an object that represents either a single chart group (a ChartGroup object) or a collection of all the chart groups in the chart (a ChartGroups object). The returned collection includes every type of group.

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

Syntax

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

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

Parameters

  • Index
    Type: System.Object

    Optional Object. The chart group number.

Return Value

Type: System.Object

See Also

Reference

_Chart Interface

_Chart Members

Microsoft.Office.Interop.Excel Namespace