insertBeforeMso not working on custom ribbon

Steve_vba

New Member
Joined
Feb 17, 2022
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hi,

I have a custom ribbon in access 365, which I want to be the first tab on the ribbon, but its stuck in last position, any ideas?

Rich (BB code):
<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui" onLoad="OnRibbonLoad">
<ribbon startFromScratch="false">
<tabs>
<tab id="tDistribution" insertBeforeMso="TabHome" label="Distribution" visible="true">
<group id="gMenu" label="Menu">
<button id="bMenu" label="Main Menu" size="large" imageMso="OpenStartPage" onAction="mMain"/>
</group>
<group id="gMoves" label="Moves">
<button id="bAdd" label="Add Movement" size="large" imageMso="RmsSendBizcardDesign" onAction="mAdd"/>
<button id="bAddM" label="Add Multiple" size="large" imageMso="ViewSlideSorterView" onAction="mAddMultiple"/>
<button id="bAmend" label="Amend Movement" size="large" imageMso="RmsSendBizcard" onAction="mAmend"/>
<button id="bFull" label="Full Movement Details" size="large" imageMso="ControlsGallery" onAction="mFull"/>
</group>
</tab>
</tabs>
</ribbon>
</customUI>

Thanks,
Steve
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
I believe the correct name is TabHomeAccess
 
Upvote 0
Solution
You're welcome. There is/was an Excel document somewhere on M$ site that contains the ribbon but it's not easy to find. It's called RibbonControls.xlsx and the author was Mirko Mandic if you're looking for it.
 
Upvote 0

Forum statistics

Threads
1,223,229
Messages
6,170,881
Members
452,364
Latest member
springate

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