This documentation is archived and is not being maintained.

_Worksheet.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. Read-only.

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

Dim Index As Object
Dim returnValue As Object
Dim _Worksheet1 As _Worksheet
returnValue = _Worksheet1.OLEObjects(Index)

object OLEObjects(
	[In, Optional] object Index
public System.Object OLEObjects(
	/*in*/System.Object Index
function OLEObjects(
	 Index : Object
) : Object;



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

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms