Worksheet.OLEObjects(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets an object that represents either a single OLE object (an OLEObject) or a collection of all OLE objects (an OLEObjects collection) on the worksheet.
public object OLEObjects (object Index);
abstract member OLEObjects : obj -> obj
Public Function OLEObjects (Optional Index As Object) As Object
Parameters
- Index
- Object
The name or number of the OLE object.
Returns
An object that represents either a single OLE object (an OLEObject) or a collection of all OLE objects (an OLEObjects collection) on the worksheet.
Remarks
Optional Parameters
For information on optional parameters, see Optional Parameters in Office Solutions.