Share via


OLEFormat.Verb Method

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

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

Syntax

'Declaration
Sub Verb ( _
    Verb As Object _
)
'Usage
Dim instance As OLEFormat
Dim Verb As Object

instance.Verb(Verb)
void Verb(
    Object Verb
)

Parameters

  • Verb
    Type: System.Object

    Optional Object. 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).

See Also

Reference

OLEFormat Interface

OLEFormat Members

Microsoft.Office.Interop.Excel Namespace