MenuClick

This event occurs when a user chooses an Item object from a menu on a CommandBar control.

Syntax

Private Sub object_MenuClick(menu)

Parameters

object
Object expression that evaluates to a CommandBar control.
menu
Copy of the chosen Item object.

Remarks

Use the Key or Index property of menu to determine which Item a user chooses on the CommandBar menu.