OLEFormat Object

         Properties         Methods        

Shape object
OLEFormat object

Contains OLE object properties.

Using the OLEFormat Object

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

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