Shape.OLEFormat Property

Excel Developer Reference

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

Syntax

expression.OLEFormat

expression   A variable that represents a Shape object.

Example

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

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

See Also