+ Reply to Thread
Results 1 to 3 of 3

Custom Menus

  1. #1
    Registered User
    Join Date
    01-17-2006
    Posts
    14

    Custom Menus

    I am experimenting with custom menus and was wondering if there was a 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 menu the selected item is found in (Barney, Betty or Wilma)?

  2. #2
    Bob Phillips
    Guest

    Re: Custom Menus

    Try

    With Commandbars.ActionControl
    Msgbox .Parent.Caption
    End With

    --
    HTH

    Bob Phillips

    (remove nothere from email address if mailing direct)

    "fazstp" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I am experimenting with custom menus and was wondering if there was a
    > 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 menu
    > the selected item is found in (Barney, Betty or Wilma)?
    >
    >
    > --
    > fazstp
    > ------------------------------------------------------------------------
    > fazstp's Profile:

    http://www.excelforum.com/member.php...o&userid=30574
    > View this thread: http://www.excelforum.com/showthread...hreadid=507972
    >




  3. #3
    Peter Rooney
    Guest

    RE: Custom Menus

    Fazstp,

    Could you use .parent ?

    Pete




    "fazstp" wrote:

    >
    > I am experimenting with custom menus and was wondering if there was a
    > 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 menu
    > the selected item is found in (Barney, Betty or Wilma)?
    >
    >
    > --
    > fazstp
    > ------------------------------------------------------------------------
    > fazstp's Profile: http://www.excelforum.com/member.php...o&userid=30574
    > View this thread: http://www.excelforum.com/showthread...hreadid=507972
    >
    >


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1