OLEFormat.DoVerb method (Word)
Requests that an OLE object perform one of its available verbs—the actions an OLE object takes to activate its contents.
expression Required. A variable that represents an 'OLEFormat' object.
|VerbIndex||Optional||Variant||The verb that the OLE object should perform. If this argument is omitted, the default verb is sent. If the OLE object does not support the requested verb, an error will occur. Can be any WdOLEVerb constant.|
Each OLE object supports a set of verbs that pertain to that object.
This example sends the default verb to the server for the first floating OLE object on the active document.
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.