Custom Menus

F

fazstp

I am experimenting with custom menus and was wondering if there was
way to find which root menu an item was selected from.

ie.
Custom Menu "Fred"

Contains three sub menus
"Barney", "Betty", "Wilma"

Each containing a menu of various selectable options

When the items are selected can I tell programatically which sub men
the selected item is found in (Barney, Betty or Wilma)
 
B

Bob Phillips

Try

With Commandbars.ActionControl
Msgbox .Parent.Caption
End With

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top