I got ErikaS' code to work from here: How to add a custom Ribbon tab using VBA?
I cannot respond to that thread.
It uses xml in a vba script to create a tab with buttons.
I have also gotten this method to work: Application.CommandBars(1).Controls.Add
Is there a way to combine the two methods? If I use Application.CommandBars, I can only add buttons to the Add-Ins tab. I cannot figure out how to access the tab I have added via the xml script. I also cannot add new tabs, only buttons to the Add-Ins tab. I would prefer to use xml as little as possible, because it is convoluted to pass it in via vba.
I'm using excel 2010, but it also has to work on excel 2016.