+ Reply to Thread
Results 1 to 10 of 10

Created add-in - how to get it on ribbon with button

  1. #1
    Forum Contributor
    Join Date
    08-23-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    404

    Created add-in - how to get it on ribbon with button

    Hi all,

    I've Googled this but can't find a set of clear instructions. I have created an Excel add in which once installed will allow people in my office to run a relevant macro.

    I have stored the macro in ThisWorkbook, saved it as an Add-in file (in the default directory where the standard ones are) and loaded it into Excel. When I open a blank workbook I can see that the macro is loaded in Project Explorer. All great so far.

    However I'd like the macro to appear on the ribbon as a new tab (with a custom button) so that it is easy for the user to use - how do I do this?

    Any help would be brilliant.

  2. #2
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: Created add-in - how to get it on ribbon with button

    Many examples here: http://www.rondebruin.nl/win/section2.htm
    • Please remember to mark threads Solved with Thread Tools link at top of page.
    • Please use code tags when posting code: [code]Place your code here[/code]
    • Please read Forum Rules

  3. #3
    Forum Contributor
    Join Date
    08-23-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    404

    Re: Created add-in - how to get it on ribbon with button

    Thanks Izandol. I found the one where there is a green arrow on the QAT but I really am looking for something that will add itself to the ribbon.

  4. #4
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: Created add-in - how to get it on ribbon with button

    First link on the page is for changing the Ribbon: http://www.rondebruin.nl/win/s2/win001.htm

  5. #5
    Forum Contributor
    Join Date
    08-23-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    404

    Re: Created add-in - how to get it on ribbon with button

    Hmm. I can't seem to get it to work.

    Thanks for the link.

  6. #6
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: Created add-in - how to get it on ribbon with button

    Unfortunately if you wish a new tab you must use CustomUI and XML. If it is OK to add to AddIns tab you may use Commandbars code, or if you are allowed to download add-ins you may try this one by the inestimable Andy Pope: http://www.andypope.info/vba/ribboneditor_2010.htm

  7. #7
    Forum Contributor
    Join Date
    08-23-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    404

    Re: Created add-in - how to get it on ribbon with button

    Thanks Izandol! Will any changes I make travel with the workbook? I.e. will other users see them (I want them to)?

  8. #8
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: Created add-in - how to get it on ribbon with button

    Yes because it is the workbook that you are actually changing. Everything is stored within it.

    One note: I have assumed it is an .xlam file and not an .xla? If it is .xla you must use commandbars code.

  9. #9
    Forum Contributor
    Join Date
    08-23-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    404

    Re: Created add-in - how to get it on ribbon with button

    Brill. Thanks again. Appreciate your time. Rep left.

  10. #10
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: Created add-in - how to get it on ribbon with button

    You are welcome. If you have further problems with it, please post back - I am sure we may assist you.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Linking VBA code to a Ribbon button
    By Fusto1 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-16-2013, 10:33 PM
  2. Click events on buttons created at runtime only work on the last button created
    By Treacle in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-25-2010, 05:44 AM
  3. How can i add a button to existing ribbon
    By J.wills in forum Outlook Programming / VBA / Macros
    Replies: 1
    Last Post: 03-30-2009, 02:41 AM
  4. How to create command button and run from the ribbon?
    By Nelson Li in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-18-2009, 01:57 PM

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