+ Reply to Thread
Results 1 to 8 of 8

How to add buttons to a ribbon - EXCEL 2007

  1. #1
    Forum Contributor
    Join Date
    01-10-2006
    Location
    Ahmedabad, India
    MS-Off Ver
    Office 2000
    Posts
    346

    How to add buttons to a ribbon - EXCEL 2007

    I have just switched over from Office2000 to 2007. I have written my own micros and stored in Personal.xlam in XLStart folder. Therefore they are available when I start EXCEL. In my earlier version of EXCEL I could customize the tool bar, add a customized button to the tool bar and then assign one of my micros to the button. Thus I could run any of my desired micros by just clicking the button. I want to do similar thing in EXCEL 2007. Edit a button image and design a button, put it on the ribbon ( under any tab - eg. Developer Tab ) and then assign the desired micro to the button. The button should be on the ribbon ( and not on the sheet ) so that it is always available whenever I start EXCEL.

    Please help. Thanks
    Last edited by avveerkar; 02-12-2011 at 09:48 PM.

  2. #2
    Forum Contributor TechRetard's Avatar
    Join Date
    06-14-2009
    Location
    Houston, TX
    MS-Off Ver
    Excel 2010
    Posts
    202

    Re: How to add buttons to a ribbon - EXCEL 2007

    I had to do this when I created a custom menu in Outlook 2007 about a year ago and I used xml and c# programming in visual studio. Not sure if there is an easy way and I don't have a copy of 07 right now....check out this website and see if its plausible or too complicated for you
    http://msdn.microsoft.com/en-us/libr...ffice.12).aspx

  3. #3
    Forum Contributor bentleybob's Avatar
    Join Date
    02-27-2009
    Location
    Seattle, WA
    MS-Off Ver
    Excel 2010
    Posts
    644

    Re: How to add buttons to a ribbon - EXCEL 2007

    If you don't want to write the code yourself, try RibbonCustomizer. (See pschmid.net). You can customize the ribbons (within limits).

    If you just want the functionality and don't necessarily need it fully-customizable, you can of course add macros to the Quick Access Toolbar.

    I do both, although it's certainly not nearly as good as Office 2003 customization.

  4. #4
    Forum Contributor
    Join Date
    01-10-2006
    Location
    Ahmedabad, India
    MS-Off Ver
    Office 2000
    Posts
    346

    Re: How to add buttons to a ribbon - EXCEL 2007

    Quote Originally Posted by TechRetard View Post
    I had to do this when I created a custom menu in Outlook 2007 about a year ago and I used xml and c# programming in visual studio. Not sure if there is an easy way and I don't have a copy of 07 right now....check out this website and see if its plausible or too complicated for you
    http://msdn.microsoft.com/en-us/libr...ffice.12).aspx
    Thanks TechRetard. That is a very good article. I have not worked with XML etc so far but something tells me that I better start now. Looks like my weekend is now booked for XML.
    Veerkar

  5. #5
    Forum Contributor
    Join Date
    01-10-2006
    Location
    Ahmedabad, India
    MS-Off Ver
    Office 2000
    Posts
    346

    Re: How to add buttons to a ribbon - EXCEL 2007

    Quote Originally Posted by bentleybob View Post
    If you don't want to write the code yourself, try RibbonCustomizer. (See pschmid.net). You can customize the ribbons (within limits).

    If you just want the functionality and don't necessarily need it fully-customizable, you can of course add macros to the Quick Access Toolbar.

    I do both, although it's certainly not nearly as good as Office 2003 customization.
    Thanks for your quick reply. RibbonCustomizer appears to be a good product. But I think I will go the XML way. Learning that perhaps will be more fun.
    If not on ribbon, then how do you add your macros to Quick Access Toolbar? What I can see that you can move the components available on the ribbon to the QA Toolbar but I could not find out how to create buttons on the QA Toolbar to run your micros.

    Veerkar

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

    Re: How to add buttons to a ribbon - EXCEL 2007

    For a set of comprehensive information on the ribbon see Ron de Bruin's site
    http://www.rondebruin.nl/ribbon.htm

    xl2003 commandbar customization should appear in the Add-in tab.
    Cheers
    Andy
    www.andypope.info

  7. #7
    Forum Contributor
    Join Date
    01-10-2006
    Location
    Ahmedabad, India
    MS-Off Ver
    Office 2000
    Posts
    346

    Re: How to add buttons to a ribbon - EXCEL 2007

    Quote Originally Posted by Andy Pope View Post
    For a set of comprehensive information on the ribbon see Ron de Bruin's site
    http://www.rondebruin.nl/ribbon.htm

    xl2003 commandbar customization should appear in the Add-in tab.
    Thank you Andy and thank you all. I can take it from here.

    Veerkar

  8. #8
    Forum Contributor bentleybob's Avatar
    Join Date
    02-27-2009
    Location
    Seattle, WA
    MS-Off Ver
    Excel 2010
    Posts
    644

    Re: How to add buttons to a ribbon - EXCEL 2007

    To add macros to your QAT, they need to be stored in your Personal.xlsb file. Then, click on the arrow at the right of the QAT, select More Commands, and, in the box at the top "Choose commands from" select Macros. You should find yours listed, and it's a simple matter of adding them where you want. Then you can click on it in the right-hand panel and Modify will become ungrayed, so you can change the icon. You are, unfortunately, limited in the selection but at least you have some options.

+ 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