Forum Discussion
Abramova
Staff
15 years agoHi,
If you know the menu item's index, you can obtain a reference to the item and then use the MenuItem.Caption property to return the menu item's caption.
For example:
...
Set Item = PopupMenu.Items(3)
ItemCaption = Item.Caption
Call PopupMenu.Click(ItemCaption)
.....