Shape.OLEFormat property (Excel)
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.
Worksheets(1).Shapes(1).OLEFormat.Activate
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.