Share via


_Chart.OLEObjects Method

Returns an object that represents either a single OLE object (an OLEObject) or a collection of all OLE objects (an OLEObjects collection) on the chart or sheet.

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

Syntax

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

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

Parameters

  • Index
    Type: System.Object

    Optional Object. The name or number of the OLE object.

Return Value

Type: System.Object

See Also

Reference

_Chart Interface

_Chart Members

Microsoft.Office.Interop.Excel Namespace