Share via


ControlSite.Verb Method

Sends a verb to the server of the ControlSite.

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

Syntax

'Declaration
Function Verb ( _
    Verb As XlOLEVerb _
) As Object
Object Verb(
    XlOLEVerb Verb
)

Parameters

  • Verb
    Type: XlOLEVerb

    One of the XlOLEVerb values that represents the verb that the server of the ControlSite should act on.

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 ControlSite are Open and Primary (represented by the xlVerbOpen and xlVerbPrimary values).

.NET Framework Security

See Also

Reference

ControlSite Interface

Microsoft.Office.Tools.Excel Namespace