Custom Ribbon UI <ribbon startFromScratch="true"> not working on MacOS

andrevni22

New Member
Joined
Dec 21, 2022
Messages
9
Office Version
  1. 2021
Platform
  1. Windows
Hello,
I do not know if in this section is the right place to ask about this, then please let me know if I am wrong.
So, I have the following code in my Office RibbonX Editor and this is working properly on Windows, but on Mac the customized ribbon does not initializate. if I set <ribbon startFromScratch="false"> it works, but my ribbon is located at the end of the excel top bar. I want that my ribbon is the first one when I initialize my workbook (and better if I can see just this one using <ribbon startFromScratch="true">).
Could someone please help me with that? I would be so grateful!

This is my Ribbon Code

XML:
<customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui">
    <ribbon startFromScratch="true">
        <tabs>
     
            <tab id="customTab" label="Menu">
                <group id="customGroup" label="Menu">            
                    <button id="btn1" label="Dashboard" image="Dashboard0" size="large" onAction="AtivarDashboard" />
                    <button id="btn2" label="Controle" image="Controle0" size="large" onAction="AtivarControle" />
                    <button id="btn3" label="Planos" image="Planos0" size="large" onAction="ativarprincipalRibbon" />
                    <button id="btn4" label="Investimentos" image="Investimentos0" size="large" onAction="AtivarLTInvestimentos" />
                    <button id="btn5" label="Análises" image="Analises0" size="large" onAction="AtivarAnaliseInvestimentos" />
                    <button id="btn6" label="Simulador" image="Simuladores0" size="large" onAction="AtivarSimulador" />
                </group>
                <group id="customGroup2" label="Usuário">
                    <button id="btn7" label="Configurações" image="Configuracoes0" size="large" onAction="COnfigurarUsuario"  />
                </group>
                <group id="customGroupSalvar" label="  ">
                    <button id="Salvar1" label="Salvar" image="Salvar" size="large" onAction="SaveWorkbook" />
                </group>
                <group id="customGroup4" >
                   <button id="btn0" label="Vídeos Explicativos" image="YouTube_x0020_Logo_Small" size="large" onAction="OpenWebsite" />
                   <button id="btn011" label="Meu Planner Financeiro" image="Logo_2.0" size="large" onAction="OpenInstagram" />
                </group>
            </tab>
         
            <tab id="customTab2" label="Edição">    
                <group idMso="GroupFont" />
                <group idMso="GroupAlignment" />
            </tab>
 
            <tab id="customTabGerenciar" label="Gerenciar">
                <group id="customGroupGerenciar" label=" ">
                    <button id="admImport" label="Importar dados" image="Importar0" size="large" onAction="ImportarDadosMPF" />
                </group>          
            </tab>                                  
        </tabs>
    </ribbon>
</customUI>
 
Last edited:

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.

Forum statistics

Threads
1,215,111
Messages
6,123,159
Members
449,098
Latest member
Doanvanhieu

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top