Remove a tab in Ribbon in Excel for Mac - excel

I have made an add-in ("Funfun") by myself. The manifest files are a little bit messy. Curiously, I cannot remove that add-in from Ribbon anymore in Excel for Mac.
I tried to "reset all customizations", and to re-install Excel, but the Funfun tab is still there. As a consequence, I cannot load the right manifest file to debug that add-in.
Does anyone know how to remove that tab, and start from the very beginning?

According to Excel for Mac documentation:
Remove tabs: You can remove custom tabs only from the Ribbon. To remove, select your tab in the Customize the Ribbon box and click Office 2016 for Mac Customize Ribbon Remove Button
Ref: https://support.office.com/en-ie/article/customize-the-ribbon-and-toolbars-in-office-for-mac-26911d4c-4971-41cd-b606-5fbc0318f499

Try deleting the Office cache to clear out the record of custom buttons and tabs. Details can be found here: Changes to add-in commands including ribbon button and menu items do not take effect.

Related

About Excel Available add-ins

I wrote a .xll plugin and selected Excel add in(COM and Excel Add-ins). It's No problem with plugin execution. But when I close my excel and open again, I found my .xll plugin is not excute and open COM and Excel Add-ins, I found it's unselect. I had to select again, it's could execution normal.
why my .xll plugin can not keep select status. Thank you.
Excel VBA Add-ins and XLL Add-ins both require an entry in the registry.
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\16.0\Excel\Options\
Can you see an entry in the registry ?
When the add-in is ticked, does it load and work as expected ?
Is there anything in your Disabled Items (Excel Options >
Add-ins) change the Manage drop-down to "Disabled Items" and press
Go ?
This page may provide a bit more information:https://bettersolutions.com/excel/add-ins/registry-keys.htm

Add a new button under "Home" Tab in excel

I am trying to add a new button under Fill color in Home tab in excel
I have tried adding my button by going to File > Option > Customize Ribbon but the options are disabled
I want to add my button in "Home" tab
Here is an interesting way of customizing the ribbon in excel (still works in Excel 2016) :
https://www.rondebruin.nl/win/s2/win001.htm
In brief, with the help of CustomUI you will modify part of the file archive in the way that you can remove actual tabs, add your own tab, and custom buttons inside of it
You asked for adding a button in the "Home" tab, a workaround would be recreating "Home" tab in a personnal ribbon tab and adding your own button to it. Your personnal button could trigger a macro sub (VBA) or even use native Excel functionalities.
(I can help you further if you choose this way)

excel vba code password protected would not disappear

I have opened an excel file containing VBA password protected (not belonging to me) and from that moment on what happens is that the code remains in the VBA editor even if I close ALL the files (see atteched pic)
Such filed was called treelist and in the VBA editor "solver.XLMA"
Put in other words. Whatever excel of mine I opened now with or without vba code once I click "editor" the first thing I see is that "solver.XLMA" that I can not access nor delete. It is really anoying because I dont know what this code is doing.
(note: yes, I closed excel several times and opened it again. solver.xlma was still there)
As you see in the picture the "solver.xlma" stais even if I close all the excel workbooks.
Some idea of how can I get rid of it and what is going on here?
thx
It is a solver add-in. To turn it off:
Click the File tab, click Options, and then click the
Add-Ins category.
In the Manage box, click Excel Add-ins, and then click Go. The Add-Ins dialog box appears.
In the Add-Ins available box, clear the check box next to the add-in that you want
to deactivade (Solver), and then click OK.
This is the answer:
That's the Solver Add-In. Go to File > Options > Add-Ins, then click Go beside "Manage Excel Add-ins". Uncheck the Solver Add-in and hit Ok

VBA control over the ribbon?

I am in the process of creating a VBA add-in for Excel 2010, and I used the "Custom UI Editor for Microsoft Office" tool to create my own ribbon.
However, I would like to give the user the option to load my add-in without displaying the ribbon, or with different parts of the ribbon visible.
With menus, I know you can completely control them programmatically, but ribbons seem to work differently.
Is there a way in VBA to not load my customUI.xml ribbon tabs on startup?
Is there a way to remove items from (or add items to) these tabs at runtime?
here is a whole slew of help on this subject Awesome Ribbon Help. I think points 2 and 3 are of particular interest to you.

How do I remove a custom toolbar from an Excel workbook?

I'm using Excel 2007, and I have an Excel workbook with a custom toolbar attached. Every time I open the workbook, the toolbar appears on the ribbon under "Add-ins". I can right-click on the toolbar and choose Delete Custom Toolbar and that removes it. But when I re-open the workbook, it re-appears. How do I remove it for good?
The toolbar is not created by VBA. It was attached to the workbook in an earlier version of Excel using the steps outlined in http://office.microsoft.com/en-us/excel/HP051986401033.aspx.
I realize this is an old question, but I just found an easy solution not mentioned on here that will be of use to future viewers:
Change the file's extension to ".zip"
Open the archive
Delete the Attachedtoolbars.bin file from the archive
Close the archive
Change the file's extension back to what it was originally
While the proper solution is detaching the toolbar from the workbook, I'm not sure how that is done in Excel 2007. As a workaround, a macro can be used to delete the toolbar every time the workbook is opened:
Private Sub Workbook_Open()
' Delete the unwanted toolbar that is attached to this workbook.
Dim cmdbar As CommandBar
For Each cmdbar In Application.CommandBars
If cmdbar.Name = "Zap" Then
cmdbar.Delete
End If
Next End Sub
End Sub
I found two ways wich worked for me:
Open in Office 2003 and detach the custom toolbar: Tools > Customize > Tab Toolbars > Button Attach... > Delete custom toolbar in workbook
Open in Office 2007 and export all Objects, Forms, Modules and Class Modules and import them into a new fresh workbook (.xlsm)
You will get rid of all old garbage and all macro's still work.
If it is not VBA you could go into the registry to disable the Addin associated with the toolbar.
You can also loop through all the Commandbars in Excel.Application.CommandBars and find toolbar by its name, and delete it then. This is assuming the toolbar is stuck there from a previous session (and that the workbook/addin/etc that added the toolbar didn't remove it in the Workbook_Beforeclose event)
Or, if it is not done in VBA, you could just simply:
Right click in the menu bar region, click customize
In the Toolbar tab click on attach and make sure it is not attached to the workbook.
Sometimes people forget the basics...
I had the same problem with a spreadsheet which displayed a custom toolbar, then left it in my default toolbar file.
I found this solution:
http://support.microsoft.com/kb/291074
In Excel 2007, the file to delete is
c:\Winnt\profiles\username\Application Data\Microsoft\Excel\Excel12.xlb
Worked perfectly for me (though it deletes all custom toolbars you might have installed).
I know this question is old, but what finally worked for me is going into the bin/debug folder of my excel addin project and deleting all the files, then reloading Excel.
See the answer here:
http://msdn.microsoft.com/en-us/library/office/ff862231%28v=office.15%29.aspx
For Each bar In CommandBars
If bar.BuiltIn = False Then
bar.Delete
End If
Next bar
In all likelihood, there is VBA code attached to the workbook with an onLoad event that creates the toolbar.
You'll have to go delete or disable the VBA code.
We have the same problem with the ribbon in our production 2010 Excel spreadsheets that need changes. The custom ribbon needs to be modified but it is locked at every location from we have tried to edit/remove it.
Right-clicking on the toolbar does not work since the "Customize..." selections are disabled.
Removing all the VBA code has no effect, the custom ribbon still replaces the default ribbon.
In Excel Options, the "Customize the Ribbon" controls contain no selections or are disabled.
In the VBA window under View, Toolbars, Customize, the Menu Bar toolbar is locked for editing.
We have tried to locate files on the hard disk as suggested by a few posts, but the files are not found (even the folder hierarchy does not exist).
Options off the table are editing the registry or creating entirely new files by importing objects.
Question: Why do they make it so difficult to manage the ribbon?

Resources