+ Reply to Thread
Results 1 to 8 of 8

Modifying Excel Ribbon for Executing AddIn Sub Procedures

  1. #1
    Registered User
    Join Date
    04-20-2016
    Location
    Indianapolis, IN
    MS-Off Ver
    2016
    Posts
    5

    Modifying Excel Ribbon for Executing AddIn Sub Procedures

    I would like to modify the Excel Ribbon to include icons that will run Sub procedures in an Excel Add-In that I'm developing. I've been relying on John Walkenbach's "Excel 2013 Power Programming with VBA" as a resource, but this particular topic is not covered extensively. If anyone could point me to some resources or well documented examples, I would greatly appreciate it.

    Thank you.

  2. #2
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    5,947

    Re: Modifying Excel Ribbon for Executing AddIn Sub Procedures

    Look for the book

    RibbonX Customizing the Office 2007 Ribbon

    by Robert Martin, Ken Puls, and Teresa Hennig

    The Ribbon interface really hasn't changed since then, and this will apply to 2010 and (I think), 2013 and 2016.

    There is also a much less expensive Kindle book (but I have not used it, so cannot say how thorough it is):

    OfficeFest 2007: Customizing the Ribbon in Microsoft Office 2007/2010
    Last edited by Bernie Deitrick; 04-20-2016 at 03:14 PM.
    Bernie Deitrick
    Excel MVP 2000-2010

  3. #3
    Registered User
    Join Date
    04-20-2016
    Location
    Indianapolis, IN
    MS-Off Ver
    2016
    Posts
    5

    Re: Modifying Excel Ribbon for Executing AddIn Sub Procedures

    Thank you, Bernie. Much appreciated.

  4. #4
    Registered User
    Join Date
    04-20-2016
    Location
    Indianapolis, IN
    MS-Off Ver
    2016
    Posts
    5

    Re: Modifying Excel Ribbon for Executing AddIn Sub Procedures

    I purchased the book ($50) and meticulously followed the very first example in Chapter 2 (adding a Tab to an Excel ribbon), and alas it did not work. I next tried to use the Custom UI Editor and it also failed. I am using Excel 2016. I'm not sure where to turn to next. Is there a more recent book that covers this subject for this newer version of Office?

  5. #5
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    5,947

    Re: Modifying Excel Ribbon for Executing AddIn Sub Procedures

    If you open a workbook with a Ribbon customization, does it appear in 2016? What happens when you open the file below?

    And, most importantly, does 'brassrat' mean you are an MIT graduate?
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    04-20-2016
    Location
    Indianapolis, IN
    MS-Off Ver
    2016
    Posts
    5

    Re: Modifying Excel Ribbon for Executing AddIn Sub Procedures

    Yes the extra Ribbon group is there on the Data tab, and yes I'm an MIT grad.

  7. #7
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    5,947

    Re: Modifying Excel Ribbon for Executing AddIn Sub Procedures

    I guessed - I'm an '81 BS ChE grad, though I never wear my brass rat - there are painful edges on my class's version.

    Can you build on that code to figure out what you need to do? My initial few attempts when the Ribbon first appeared were pretty dismal, and IIRC, I needed to download a working sample before I figured it out...

    Good luck!

  8. #8
    Registered User
    Join Date
    04-20-2016
    Location
    Indianapolis, IN
    MS-Off Ver
    2016
    Posts
    5

    Re: Modifying Excel Ribbon for Executing AddIn Sub Procedures

    Just to let you know I was able to get this to work after I abandoned the UI Editor in place of Notepad for the purpose of crafting the customUI.xml file. Thanks again for your assistance, Bernie. ChE 93 btw.

+ 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] Custom Ribbon not executing macros
    By neddyseagoon in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 10-15-2019, 01:34 PM
  2. Run an addin even if its not there in a ribbon
    By Nirmall in forum Excel General
    Replies: 1
    Last Post: 12-29-2015, 09:29 AM
  3. Run an addin even if its not there in a ribbon
    By Nirmall in forum Excel General
    Replies: 0
    Last Post: 12-29-2015, 07:08 AM
  4. [SOLVED] Excel ribbon addin
    By neu_stone in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-23-2015, 10:22 AM
  5. [SOLVED] Modifying Global Variables in Procedures
    By RGrunden in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-21-2013, 09:04 PM
  6. Add Addin to Ribbon
    By sacprasanna in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-08-2012, 09:51 AM
  7. [SOLVED] Executing procedures with multiple arguments
    By ferfer in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-21-2012, 03:40 AM

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