BoundObjectFrame.ObjectVerbsCount Property
Access Developer Reference |
You can use the ObjectVerbsCount property in Visual Basic to determine the number of verbs supported by an OLE object. Read-only Long.
Syntax
expression.ObjectVerbsCount
expression A variable that represents a BoundObjectFrame object.
Remarks
The ObjectVerbsCount property setting is a value that specifies the number of elements in the ObjectVerbs property array.
This property setting isn't available in Design view.
The list of verbs an OLE object supports may vary, depending on the state of the object. To update the list of supported verbs, set the control'sAction property to acOLEFetchVerbs.
Example
The following example returns the verbs supported by the OLE object in the OLE1 control and displays each verb in a message box.
Visual Basic for Applications |
---|
|