OLEFormat.Verb method (Excel)

Sends a verb to the server of the specified OLE object.

Syntax

expression.Verb (Verb)

expression A variable that represents an OLEFormat object.

Parameters

Name Required/Optional Data type Description
Verb Optional XlOLEVerb The verb that the server of the OLE object should act on. If this argument is omitted, the default verb is sent.

The available verbs are determined by the object's source application. Typical verbs for an OLE object are Open and Primary (represented by the XlOLEVerb constants xlOpen and xlPrimary).

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.