OLEType Property

OLEType Property

See Also         Example         Applies To

You can use the OLEType property to determine if a control contains an OLE object, and, if so, whether the object is linked or embedded.

Setting

The OLEType property uses the following settings.

Setting Constant Description
Linked acOLELinked (0) The control contains a linked object. All the object's data is managed by the application that created it.
Embedded acOLEEmbedded (1) The control contains an embedded object. All the object's data is managed by Microsoft Access.
None acOLENone (3) The control doesn't contain an OLE object.

The OLEType property is read-only in all views.

Remarks

When creating an OLE object, use the OLETypeAllowed property to determine what type of object a control can contain.