OLEObject Object (Visio)

Office 2013 and later

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

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.

To obtain the IDispatch interface on an ActiveX control or embedded or linked OLE 2.0 object represented by a shape, use the Object property of an OLEObject object.