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

ObjectVerbs Object (Publisher)

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

Represents the collection of OLE verbs for the specified OLE object. OLE verbs are the operations supported by an OLE object. Commonly used OLE verbs are play and edit.

Example

Use the ObjectVerbs property to return an ObjectVerbs object. The following example displays all the available verbs for the OLE object contained in the first shape on first page in the active publication. For this example to work, the specified shape must contain an OLE object.

Sub GetVerbs() 
 Dim intCount As Integer 

 With ActiveDocument.Pages(1).Shapes(1).OLEFormat 
 For intCount = 1 To .ObjectVerbs.Count 
 MsgBox .ObjectVerbs(intCount) 
 Next 
 End With 
End Sub

Methods

Name
Item

Properties

Name
Application
Count
Parent
© 2017 Microsoft