OLEObject.Verb Method (2003 System)

Sends a verb to the server of the OLEObject.

Namespace:  Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)


Public Function Verb ( _
    Verb As XlOLEVerb _
) As Object
Dim instance As OLEObject
Dim Verb As XlOLEVerb
Dim returnValue As Object

returnValue = instance.Verb(Verb)
public Object Verb(
    XlOLEVerb Verb


Return Value

Type: System.Object
If the Verb parameter is omitted, the default verb is sent. The available verbs are determined by the object's source application. Typical verbs for an OLEObject are Open and Primary (represented by the xlVerbOpen and xlVerbPrimary values).


See Also


OLEObject Class

OLEObject Members

Microsoft.Office.Tools.Excel Namespace