OLEFormat.DoVerb Method
Publisher Developer Reference |
Requests that an OLE object perform one of its verbs.
Syntax
expression.DoVerb(iVerb)
expression A variable that represents an OLEFormat object.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
iVerb | Required | Long | The verb to perform. |
Remarks
Use the ObjectVerbs property to determine the available verbs for an OLE object.
Example
This example performs the first verb for the third shape on the first page of the active publication if the shape is a linked or embedded OLE object.
Visual Basic for Applications |
---|
|
This example performs the verb "Open" for the third shape on the first page of the active publication if the shape is an OLE object that supports the verb "Open."
Visual Basic for Applications |
---|
|
See Also