_OLEObject.Verb(XlOLEVerb) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sends a verb to the server of the specified OLE object.
public object Verb (Microsoft.Office.Interop.Excel.XlOLEVerb Verb = Microsoft.Office.Interop.Excel.XlOLEVerb.xlVerbPrimary);
Public Function Verb (Optional Verb As XlOLEVerb = Microsoft.Office.Interop.Excel.XlOLEVerb.xlVerbPrimary) As Object
Parameters
- Verb
- XlOLEVerb
Optional XlOLEVerb. 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).