+ Reply to Thread
Results 1 to 15 of 15

Where does this file's custom ribbon tab come from?

  1. #1
    Registered User
    Join Date
    02-15-2019
    Location
    Quebec, Canada
    MS-Off Ver
    2010 Pro
    Posts
    12

    Where does this file's custom ribbon tab come from?

    Hi,

    I am trying to replicate the behavior of an .xlsm file I have. When I open it, I have a custom tab showing. However, if I go into the "customize ribbon" section, it's not there. There also doesn't seem to be any macro running on the workbook open event. Also looked in quick access toolbars and there's nothing... how is this happening???

    I've attached the file.

    Thanks!
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    02-15-2019
    Location
    Quebec, Canada
    MS-Off Ver
    2010 Pro
    Posts
    12

    Re: Where does this file's custom ribbon tab come from?

    OK no replies so going to try my luck on another forum as well. I'd post a link but it seems I'm too new...

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Where does this file's custom ribbon tab come from?

    muse, welcome to the forum.

    All forum members are volunteers, who offer their time and expertise for free. You waited a little over 2 hours before giving up - I would suggest a little more patience on your side?

    And yes, you are not permitted to post links until you have at least 10 posts, but you could still post the link here, using a bit of creativity. If you post elsewhere, and they notice your post here - without a link - you will probably get dinged there, too.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Registered User
    Join Date
    02-15-2019
    Location
    Quebec, Canada
    MS-Off Ver
    2010 Pro
    Posts
    12

    Re: Where does this file's custom ribbon tab come from?

    I very much appreciate that answers are coming from volunteers and I'm very thankful (or at least I would be) for any answers I get...

    However, this is my 2nd post and my 1st is now 9 days old and still has no replies... so I'm 0/2 so far and figured I needed to try elsewhere.

    here's an abreviated version of the link that I'm hoping passes the filter...

    mrexcel.com/forum/excel-questions/1088709-where-does-files-custom-ribbon-tab-come.html

  5. #5
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,873

    Re: Where does this file's custom ribbon tab come from?

    crossposted: https://www.mrexcel.com/forum/excel-...-tab-come.html

    Rule 03: Cross-posting Without Telling Us

    Your post does not comply with Rule 3 of our Forum RULES. Do not cross-post your question on multiple forums without telling us about your threads on other forums.

    Post a link to any other forums where you have asked the same question.

    Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.

    Read this to understand why we ask you to do this.

    I have added the crosspost reference for you today. Please comply with this and all our rules in the future
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  6. #6
    Registered User
    Join Date
    02-15-2019
    Location
    Quebec, Canada
    MS-Off Ver
    2010 Pro
    Posts
    12

    Re: Where does this file's custom ribbon tab come from?

    I'm sorry but your mistaken.

    If you read my post I said I couldn't post the link because of the forum's rules (no posting links if you're too new). Then someone suggested I try to get clever about posting it so I did.. In the post just before yours I have the link there... trying my best to comply here.

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Where does this file's custom ribbon tab come from?

    Quote Originally Posted by muse43 View Post
    I very much appreciate that answers are coming from volunteers and I'm very thankful (or at least I would be) for any answers I get...

    However, this is my 2nd post and my 1st is now 9 days old and still has no replies... so I'm 0/2 so far and figured I needed to try elsewhere.

    here's an abreviated version of the link that I'm hoping passes the filter...

    mrexcel.com/forum/excel-questions/1088709-where-does-files-custom-ribbon-tab-come.html
    Thanks for the link (see, getting creative works )

    Regarding your other thread, Im sorry you got no response on that 1 - again, you only waited less than 2 hours for a reply?
    https://www.excelforum.com/excel-pro...mittently.html

    I know it still has had no response, but also, you need to wait at least 24 hours before "bumping" your thread. It often happens that, when the forum gets busy, threads get pushed down the list onto lower-numbered pages, and out of regular viewing. When this happens, you should bump your thread, the next day, asking for assistance.

  8. #8
    Forum Contributor banaanas's Avatar
    Join Date
    08-26-2014
    Location
    Finland
    MS-Off Ver
    2016
    Posts
    199

    Re: Where does this file's custom ribbon tab come from?

    Hi!

    Press alt+F11 when you have the workbook open. As you can see there are a lot of modules/forms that are the ribbon itself.
    EXCEL_k3QSnV5EgU.png

    With a quick look the ribbon seems to be built in module named ProjectMenu
    Tuomas "Banaanas" Savonius
    Trying to give back now when I actually can do some VBA

  9. #9
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,908

    Re: Where does this file's custom ribbon tab come from?

    The ribbon itself is created in the XML of the workbook. That vba is the code that is called from the ribbon.
    Rory

  10. #10
    Registered User
    Join Date
    02-15-2019
    Location
    Quebec, Canada
    MS-Off Ver
    2010 Pro
    Posts
    12

    Re: Where does this file's custom ribbon tab come from?

    Thanks rorya, I believe you're correct. I've seen the VBA that does the actions when the ribbon is pressed but I am looking for how the buttons get there in the first place. I am now looking into the embedded XML. I believe I can build this in Visual Studio. Although it will be my first project in VS, going to give that a try today and see if it works.

    Following these two links instructions:

    ww.rondebruin.nl/win/section2.htm (add another "w" in front - needed to clear the no links filter)
    docs.microsoft.com/en-us/visualstudio/vsto/walkthrough-creating-a-custom-tab-by-using-the-ribbon-designer?view=vs-2017

  11. #11
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,908

    Re: Where does this file's custom ribbon tab come from?

    You don't really need Visual Studio as there are other applications for it, but if that's what you have to hand...

  12. #12
    Registered User
    Join Date
    02-15-2019
    Location
    Quebec, Canada
    MS-Off Ver
    2010 Pro
    Posts
    12

    Re: Where does this file's custom ribbon tab come from?

    Right well actually I was just taking a look at that first link above (rondebruin) and am going to look into his suggestion to use a custom UI editor. I'll post my results... Thanks again!

  13. #13
    Registered User
    Join Date
    02-15-2019
    Location
    Quebec, Canada
    MS-Off Ver
    2010 Pro
    Posts
    12

    Re: Where does this file's custom ribbon tab come from?

    OK final results are in... and the Custom UI editor works great!!! Was exactly what I was looking for. I can edit the ribbon of a particular excel file and the edits stay with the file on any machine. Now I can "Install" that file to have that tab show up on any machine (after installation) on any file (which was the ultimate goal all along).

    Thanks again for all your help!! rorya, you get extra props! lol. Cheers!

    PS here's the link to the editor:
    openxmldeveloper.org/blog/b/openxmldeveloper/archive/2006/05/26/customuieditor.aspx

  14. #14
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Where does this file's custom ribbon tab come from?

    muse, Im really happy you got the results you wanted, here. Thanks for your patience and for sticking with us

  15. #15
    Registered User
    Join Date
    02-15-2019
    Location
    Quebec, Canada
    MS-Off Ver
    2010 Pro
    Posts
    12

    Re: Where does this file's custom ribbon tab come from?

    Yes, well really appreciate the help. I'm sure to be back!

+ 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. How does it work [custom Ribbon buttons specific to my file]
    By tellmewhy? in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-25-2017, 01:56 PM
  2. [SOLVED] After changing file location or renaming,custom ribbon not working
    By ImranBhatti in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-17-2016, 08:31 PM
  3. Put VBA ribbon together with Custom UI Editor Ribbon
    By czarlando in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-23-2016, 05:46 AM
  4. Assistance with Custom Tab and Groups on Excel Office Ribbon using Custom UI Editor.
    By sdavison in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-15-2015, 06:13 AM
  5. [SOLVED] An alternative to the Add-Ins ribbon tab - Global Custom Ribbon Tab by Ken Puls
    By mc84excel in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-16-2014, 10:01 PM
  6. Custom ribbon checkboxes do not retain values when file is closed.
    By ericsastud in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-29-2010, 05:20 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