Table of contents
Collapse the table of content
Expand the table of content

OLEFormat.ObjectVerbs Property (Publisher)

office 365 dev account|Last Updated: 8/24/2017
3 Contributors

Returns an ObjectVerbs collection that contains all the OLE verbs for the specified OLE object. Read-only.


expression. ObjectVerbs

_expression_A variable that represents an OLEFormat object.

Return Value



This example displays all the available verbs for the OLE object contained in shape one on page two in the active publication. For this example to work, shape one must be a shape that represents an OLE object.

Dim v As String 

With ActiveDocument.Pages(2).Shapes(1).OLEFormat 
 For Each v In .ObjectVerbs 
 MsgBox v 
End With
© 2018 Microsoft