OLEObject object (Visio)

Represents an OLE 2.0 linked or embedded object or an ActiveX control in a Microsoft Visio document, page, or master.


The default property of OLEObject is Object.

Use the Object property to obtain the IDispatch interface on an ActiveX control or embedded or linked OLE 2.0 object represented by a shape.


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.