OLEObject Class
Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

OLEObject Class

Represents a linked or embedded control on a worksheet.

Namespace: Microsoft.Office.Tools.Excel
Assembly: Microsoft.Office.Tools.Excel (in microsoft.office.tools.excel.dll)

public sealed class OLEObject

An OLEObject is returned when you use the AddControl method to add a control to the ControlCollection of a Worksheet. For more information, see Adding Controls to Office Documents at Run Time.


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