OLEFormat.ObjectVerbs property (Publisher)
Returns an ObjectVerbs collection that contains all the OLE verbs for the specified OLE object. Read-only.
Syntax
expression.ObjectVerbs
expression A variable that represents an OLEFormat object.
Return value
ObjectVerbs
Example
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
Next
End With
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.