OLEFormat Object (Excel)

Contains OLE object properties.

Remarks

If the Shape object doesn't represent a linked or embedded object, the OLEFormat property fails.

Example

Use the OLEFormat property to return the OLEFormat object. The following example activates an OLE object in the Shapes collection.

Worksheets(1).Shapes(1).OLEFormat.Activate

See also

Excel Object Model Reference