Computer Learning Zone CLZ Access Excel Word Windows

The truth may be puzzling. It may take some work to grapple with. It may be counterintuitive. It may contradict deeply held prejudices. It may not be consonant with what we desperately want to be true. But our preferences do not determine what's true.

-Carl Sagan
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Home > Courses > Developer Learning Zone > Alex's Access Learning Zone > Custom Ribbon > Handbook
Custom Ribbon - Handbook

01. Manual (02:46)

02. XML (05:29)

 

 

Custom Ribbon in Microsoft Access

How to create a custom Ribbon in Microsoft Access


The aim of this tutorial is to learn how to create a custom Ribbon in Microsoft Access.

  • Manually
  • With Table and XML

TO DO: Create your own XML and have a callback VBA function?


Manually

This adds it to your Access and will show for every database.

File | Options | Customize Ribbon

Access Options - Customize Ribbon

Click on New Tab then click on Rename.

Access Options - Customize Ribbon - New Tab

Click on the Tab and click "Rename" and give it a new name "My Tab".

Rename - Tab

Then give it a new name "My Group".

Rename - Group

You can even add a Symbol.

Have a look at what you have created:

Ribbon - My Tab (Empty)

Now an empty Tab and Group isn't very useful... let's add some Controls.

Access Options - Customize Ribbon - Add Control

Select the Control from the left and click "Add >>" with the Group selected on the right.

And then you have your Control in your Tab and Group.

Ribbon - My Tab (Backup)


With code

If you want to do it for just this database.

I need a way to show these Objects in a Form to choose from so I can export.

There is a Table that is hidden called MSysObjects and to show this you need to go.

File | Options

File - Options

Now choose the 'Current Database' section.

Scroll down to under the 'Navigation' Section click on the 'Navigation Options...' button.

Access Options - Current Database

Now tick the 'Show Hidden Objects' and 'Show System Objects' and click OK.

Navigation Options

You may get the following message.

Message

Now the hidden Tables will show.

Navigation Pane - Tables (Hidden)

Create a new Table called USysRibbons.

ID RibbonName RibbonXML
1 My Tab ADD XML HERE...

An Empty Tab and Group.

 

   

       

       

   

 

Add a Control

<mso:tabs>           

    <mso:tab label=""My Tab"">

        <mso:group id=""mso_c2.29527DA0"" label=""My Group"" autoScale=""true"">

            <mso:control idQ=""mso:FileBackupDatabase"" size=""large"" visible=""true""/>

        mso:group>

    mso:tab>

mso:tabs>

Full Code

<mso:customUI xmlns:mso=""http://schemas.microsoft.com/office/2009/07/customui"">

    <mso:ribbon startFromScratch=""true"">

        <mso:qat>

            <mso:sharedControls>

                <mso:control idQ=""mso:FileNewDatabase"" visible=""false""/>

                <mso:control idQ=""mso:FileOpenDatabase"" visible=""false""/>

                <mso:control idQ=""mso:FileSave"" visible=""true""/>

                <mso:control idQ=""mso:FileSendAsAttachment"" visible=""false""/>

                <mso:control idQ=""mso:FilePrintQuick"" visible=""false""/>

                <mso:control idQ=""mso:SpellingAccess"" visible=""false"" insertBeforeQ=""mso:FilePrintPreview""/>

                <mso:control idQ=""mso:Undo"" visible=""true"" insertBeforeQ=""mso:FilePrintPreview""/>

                <mso:control idQ=""mso:Redo"" visible=""true"" insertBeforeQ=""mso:FilePrintPreview""/>

                <mso:control idQ=""mso:ViewsModeMenu"" visible=""false"" insertBeforeQ=""mso:FilePrintPreview""/>

                <mso:control idQ=""mso:DataRefreshAll"" visible=""false"" insertBeforeQ=""mso:FilePrintPreview""/>

                <mso:control idQ=""mso:Synchronize"" visible=""false"" insertBeforeQ=""mso:FilePrintPreview""/>

                <mso:control idQ=""mso:FilePrintPreview"" visible=""true""/>

            mso:sharedControls>

        mso:qat>

        <mso:tabs>           

            <mso:tab id=""mso_c1.29527DA0"" label=""My Tab"" insertBeforeQ=""mso:TabHomeAccess"">

                <mso:group id=""mso_c2.29527DA0"" label=""Backup"" autoScale=""true"">

                    <mso:control idQ=""mso:FileBackupDatabase"" size=""large"" visible=""true""/>

                mso:group>

                <mso:group id=""mso_c5.29536215"" label=""Export"" autoScale=""true"">

                    <mso:control idQ=""mso:ExportExcel"" size=""large"" visible=""true""/>

                    <mso:control idQ=""mso:ExportWord"" size=""large"" visible=""true""/>

                mso:group>

                <mso:group id=""mso_c6.29541473"" label=""Preview"" autoScale=""true"">

                    <mso:control idQ=""mso:ViewsAdpDiagramPrintPreview"" size=""large"" visible=""true""/>

                mso:group>

            mso:tab>

        mso:tabs>

 

    mso:ribbon>

mso:customUI>

Ribbon - My Tab (Many)

Finally we can set this new Ribbon for the Database.

Access Options - Current Database

Now set the "Ribbon Name" to the name of your own Tab.

Ribbon Name


You can Show/Hide the Ribbon with the following code:

DoCmd.ShowToolbar "Ribbon", acToolbarYes 'Show Ribbon

DoCmd.ShowToolbar "Ribbon", acToolbarNo 'Hide Ribbon

Just add the following to buttons and the OnLoad Events.


Create your own XML and have a callback VBA function?


Sample
Ribbon (2010)


Maybe you don't want to write it yourself? There are programs out there to make it easier:

 

 

 
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 6/14/2026 11:32:25 PM. PLT: 1s
Keywords: Custom Ribbon, Handbook  Page Tag: FORUMADMIN  PermaLink  Custom Ribbon - Handbook