Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Verb Method

OLEObject.Verb Method

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

Syntax

expression.Verb(Verb)

expression   A variable that represents an OLEObject object.

Parameters

NameRequired/OptionalData TypeDescription
VerbOptionalXlOLEVerbThe 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).

Return Value
Variant

Example

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

Visual Basic for Applications
Worksheets("Sheet1").OLEObjects(1).Verb



Community Additions

ADD
Show:
© 2015 Microsoft