OLEObject InterfaceÂ
Represents an ActiveX control or a linked or embedded OLE object on a worksheet. The OLEObject object is a member of the OLEObjects collection. The OLEObjects collection contains all the OLE objects on a single worksheet.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in microsoft.office.interop.excel.dll)
Usage
Public Class lEObjectImplementation
Implements OLEObject
End Class
Dim lEObjectImplementation1 As New lEObjectImplementation()
Syntax
Public Interface OLEObject
Inherits _OLEObject, OLEObjectEvents_Event
public interface OLEObject : _OLEObject, OLEObjectEvents_Event
public interface class OLEObject : public _OLEObject, OLEObjectEvents_Event
public interface OLEObject implements _OLEObject, OLEObjectEvents_Event
public interface OLEObject implements _OLEObject, , OLEObjectEvents_Event
Remarks
Use OLEObjects(index), where index is the name or number of the object, to return an OLEObject object.
The properties and methods of the OLEObject object are duplicated on each ActiveX control on a worksheet. This enables access to these properties by using the control’s name.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000
Target Platforms
See Also
Reference
Microsoft.Office.Interop.Excel Namespace