andrevni22
New Member
- Joined
- Dec 21, 2022
- Messages
- 9
- Office Version
- 2021
- Platform
- 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
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: