共用方式為


Worksheet.OLEObjects(Object) Method

Definition

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.

Applies to