+ Reply to Thread
Results 1 to 2 of 2

Excel 2007 : Inserting new tab on Ribbon using VBA

  1. #1
    Registered User
    Join Date
    07-22-2009
    Location
    Charlotte, North Carolina
    MS-Off Ver
    Excel 2003
    Posts
    6

    Inserting new tab on Ribbon using VBA

    I was on google searching for a way to insert the 2003 color palette into 2007 when I came across a thread from 2009 where someone showed how to add a tab on the ribbon using VBA that adds the 2003 color palette. I've shown the code below, included the attachment he posted and provided the link to the original thread.

    The problem I have is although the attachment he sent shows the new tab on the ribbon perfectly, it doesn't work on my workbook. I added a module, pasted his code into my new module, saved my workbook, and upon reloading the workbook the new tab on the ribbon does not appear. Does anyone know how to get this tab to appear on a new workbook?

    Thanks.

    Link to prior thread:

    http://www.excelforum.com/excel-2007...el-2003-a.html

    Please Login or Register  to view this content.
    Attached Files Attached Files

  2. #2
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,980

    Re: Inserting new tab on Ribbon using VBA

    It's not just the VBA - you also have to edit the CustomUI part of the XML that makes up the file. See Ron's pages here.
    Everyone who confuses correlation and causation ends up dead.

+ 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