OLEFormat object (Excel)

Contains OLE object properties.

Remarks

If the Shape object doesn't represent a linked or embedded object, the OLEFormat property of the Shape object 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

Methods

Properties

See also

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.