Shape.OLEFormat Property (Excel)

Returns an OLEFormat object that contains OLE object properties. Read-only.

expression .OLEFormat

expression A variable that represents a Shape object.

This example activates an OLE object. If Shapes(1) doesn’t represent an embedded OLE object, this example fails..

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

Concepts

Other resources

Show:
© 2014 Microsoft