Excel User Group
Microsoft Excel blogs, forums, files. Read, ask questions, provide answers.

merging items from excel 2007 ribbon into classic toolbar

Latest post Mon, May 12 2008 6:40 PM by Nick Hodge. 3 replies.
  • Mon, May 12 2008 4:18 PM

    • haim.haviv
    • Top 150 Contributor
    • Joined on Mon, May 12 2008
    • Posts 2
    • Points 42

    merging items from excel 2007 ribbon into classic toolbar

    Hi
    I wrote an excel add-in for excel 2007. The button that executes my new
    add-in reside in a ribbon. I have an old toolbar in my excel 2007 (was create for excel 2003) with the same
    menu item name. I want to merge that new toggle button that I created by
    using the ribbon into the existing classic menu item. Is it possible?

    Regards,

    Haim

    • Post Points: 21
  • Mon, May 12 2008 4:52 PM In reply to

    • Nick Hodge
    • Top 10 Contributor
    • Joined on Sun, Dec 23 2007
    • Southampton
    • Posts 232
    • Points 3,856
    • MVP

    Re: merging items from excel 2007 ribbon into classic toolbar

    Haim

    It's not possible to merge the controls. You could write commandbar code to the 'old' menu that would appear on the old commandbar on the add-ins tab.

    Regards
    Nick Hodge
    Microsoft MVP, Excel
    Southampton, UK

    • Post Points: 21
  • Mon, May 12 2008 5:39 PM In reply to

    • haim.haviv
    • Top 150 Contributor
    • Joined on Mon, May 12 2008
    • Posts 2
    • Points 42

    Re: merging items from excel 2007 ribbon into classic toolbar

    Hi Nick,

    Thank you for getting back to me. Can you please give me more information regarding your suggestion. I am pretty new in the excel world (VBA in particular). Do you have an example of how to access the ribbon from VBA and how to add it to an existing menu item.

    Kind Regards,

    Haim

     

    • Post Points: 21
  • Mon, May 12 2008 6:40 PM In reply to

    • Nick Hodge
    • Top 10 Contributor
    • Joined on Sun, Dec 23 2007
    • Southampton
    • Posts 232
    • Points 3,856
    • MVP

    Re: merging items from excel 2007 ribbon into classic toolbar

    Haim

    i'm obviously not understanding? You have an existing menu created in XL2003. This will appear in XL2007 on the add-in tab. (by default, there is nowhere else it can display).

    The ribbon you have created in XL2007 is a seperate object. You cannot merge the two it is one or the other.

    If you wanted to replicate the button that is on your ribbon onto the commandbar on the add-ins tab, just go back to Excel 2003, write the extra code and that too will appear on the add-ins tab with the other 'old' controls.

    Regards
    Nick Hodge
    Microsoft MVP, Excel
    Southampton, UK

    • Post Points: 5
Page 1 of 1 (4 items) | RSS
Copyright Excel User Group and the relevant contributors, 2008. All Trade Marks acknowledged. This site is a peer-to-peer site and NOT affiliated in any way to Microsoft Corp. All rights reserved.