+ Reply to Thread
Results 1 to 5 of 5

Creating two menus

Hybrid View

  1. #1
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,453

    Re: Creating two menus

    You need to give the menus a different Tag value.

    This part removes a menu with the tag "MyTag" in your case they both have the same tag.

    Sub RemoveMenu()
    
        DeleteCustomCommandBarControl "MyTag" ' deletes the new menu
    End Sub
    Don't forget to also change the tag when creating the menu.
    Cheers
    Andy
    www.andypope.info

  2. #2
    Valued Forum Contributor
    Join Date
    11-16-2004
    Location
    Devon UK
    MS-Off Ver
    2010
    Posts
    357

    Re: Creating two menus

    Brilliant !!

    Thank you Andy that solved it

+ 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