+ Reply to Thread
Results 1 to 4 of 4

Index number for CommandBar right-click on sheet tab?

Hybrid View

  1. #1
    Shane in Canberra
    Guest

    Index number for CommandBar right-click on sheet tab?

    I have some code that used to add some custom commands to the right-click
    menu for the sheet tabs. We have moved to Excel2003 recently and now it
    doesn't work any more.

    Can someone please tell me what the index number is for the right-click menu
    on the sheet tabs? It used to be 29 (ie
    Application.CommandBars(29).Controls.Add).

    Thanks in advance.
    Shane in Canberra

  2. #2
    Ardus Petus
    Guest

    Re: Index number for CommandBar right-click on sheet tab?

    set cb = commandbars("Workbook tabs")


    HTH
    --
    AP

    "Shane in Canberra" <[email protected]> a écrit dans
    le message de news: [email protected]...
    >I have some code that used to add some custom commands to the right-click
    > menu for the sheet tabs. We have moved to Excel2003 recently and now it
    > doesn't work any more.
    >
    > Can someone please tell me what the index number is for the right-click
    > menu
    > on the sheet tabs? It used to be 29 (ie
    > Application.CommandBars(29).Controls.Add).
    >
    > Thanks in advance.
    > Shane in Canberra




  3. #3
    Shane in Canberra
    Guest

    Re: Index number for CommandBar right-click on sheet tab?

    Thanks for that. I tried your suggestion, but it didn't work.

    The index 29 is now the "cell" menu, so I can use it for now.

    "Ardus Petus" wrote:

    > set cb = commandbars("Workbook tabs")
    >
    >
    > HTH
    > --
    > AP
    >
    > "Shane in Canberra" <[email protected]> a écrit dans
    > le message de news: [email protected]...
    > >I have some code that used to add some custom commands to the right-click
    > > menu for the sheet tabs. We have moved to Excel2003 recently and now it
    > > doesn't work any more.
    > >
    > > Can someone please tell me what the index number is for the right-click
    > > menu
    > > on the sheet tabs? It used to be 29 (ie
    > > Application.CommandBars(29).Controls.Add).
    > >
    > > Thanks in advance.
    > > Shane in Canberra

    >
    >
    >


  4. #4
    Norman Jones
    Guest

    Re: Index number for CommandBar right-click on sheet tab?

    Hi Shane,

    Try Application.Commandbars("Ply")


    ---
    Regards,
    Norman



    "Shane in Canberra" <[email protected]> wrote in
    message news:[email protected]...
    > Thanks for that. I tried your suggestion, but it didn't work.
    >
    > The index 29 is now the "cell" menu, so I can use it for now.
    >
    > "Ardus Petus" wrote:
    >
    >> set cb = commandbars("Workbook tabs")
    >>
    >>
    >> HTH
    >> --
    >> AP
    >>
    >> "Shane in Canberra" <[email protected]> a écrit
    >> dans
    >> le message de news: [email protected]...
    >> >I have some code that used to add some custom commands to the
    >> >right-click
    >> > menu for the sheet tabs. We have moved to Excel2003 recently and now
    >> > it
    >> > doesn't work any more.
    >> >
    >> > Can someone please tell me what the index number is for the right-click
    >> > menu
    >> > on the sheet tabs? It used to be 29 (ie
    >> > Application.CommandBars(29).Controls.Add).
    >> >
    >> > Thanks in advance.
    >> > Shane in Canberra

    >>
    >>
    >>




+ 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