Verb Method

Applies To

OLEObject Object.

Description

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

Syntax

object.Verb(verb)

object

Required. The OLEObject object.

verb

Optional. The verb that the server of the OLE object should act upon. 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 xlOpen and xlPrimary constants).

Example

This example sends the default verb to the server for OLE object one on Sheet1.


Worksheets("Sheet1").OLEObjects(1).Verb