Share via


OLEFormat Object

Excel Developer Reference

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.

Visual Basic for Applications
  Worksheets(1).Shapes(1).OLEFormat.Activate

See Also