Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


Access 2010 - How to hide ribbon

Posted on 2013-06-05
Medium Priority
Last Modified: 2013-06-05
New to Access 2010

I am trying to hide all of the ribbon in a MS Access 2010 application. I have modified the XML code for the ribbon and am able to hide all the buttons and tabs of the File menu, however, I am not able to hide the File menu tab at the top. I have searched the internet and find a recommendation for the following command:

DoCmd.ShowToolbar "Ribbon", acToolbarNo

Where does the above code go? Will it hide the File tab, which as I have currently configured the ribbon, has no functionality?
Question by:jbotts
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 3
LVL 75
ID: 39222918
I pretty sure, but not 100.1% sure - that you cannot remove the File table - if you are in the ACCDB format (you can if in MDB format). However, I keep thinking ... "There MUST be a way"


Author Comment

ID: 39222995
I tried using:

DoCmd.ShowToolbar "Ribbon", acToolbarNo

in the Open event of the first form that displays, but this did not have any effect. I have also used the following in the XML Ribbon table and it did not work:

<customUI xmlns="">
      <ribbon startFromScratch="false">

    <button idMso="FileCloseDatabase"visible="false"/>
    <tab idMso ="TabInfo"visible="false"/>  
    <tab idMso ="TabRecent"visible="false"/>
    <tabidMso ="TabNew"visible="false"/>
    <tabidMso ="TabPrint"visible="false"/>
    <tabidMso ="TabShare"visible="false"/>
    <tabidMso ="TabHelp"visible="false"/>
    <button idMso="FileExit"visible="false"/>

Best option so far is:

<customUI xmlns="">
      <ribbon startFromScratch="true">
      <button idMso = "ApplicationOptionsDialog" visible="false"/>
      <button idMso = "FileExit" visible="false"/>
      <tab idMso = "TabPrint" visible="false"/>

The above code will make all buttons and tabs in the File Menu (Backstage) not visible, but the File tab remains as does the Quick Access Toolbar.
LVL 75
ID: 39223046
Yes ...

How to render the Ribbon File Tab useless:

See my posts toward the bottom of the tread ... with XML for USysRibbons table, etc.
Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments


Author Comment

ID: 39223215
After review of the post, I guess the File Tab remains, but is useless, and cannot be hidden?
LVL 75

Accepted Solution

DatabaseMX (Joe Anderson - Microsoft MVP, Access and Data Platform) earned 2000 total points
ID: 39223249
Again, my gut feeling is ... There  must be a way. But so far, seems like no one has figured th is out ... that I can see.

Author Closing Comment

ID: 39223281
Thanks so much.
LVL 75
ID: 39223301
Seems every post I find shows how to disable items on .. the File tab, but not get rid of it.

Also ... get info on the de-facto standard ribbon tool site:

and here also:
LVL 75
ID: 39223325
You might actually want to leave this Q open for a while, although this Q comes up frequently.

I'm working with Ribbons a LOT more now, and I will be searching for a way to do this :-)

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

We live in a world of interfaces like the one in the title picture. VBA also allows to use interfaces which offers a lot of possibilities. This article describes how to use interfaces in VBA and how to work around their bugs.
Ever wonder what it's like to get hit by ransomware? "Tom" gives you all the dirty details first-hand – and conveys the hard lessons his company learned in the aftermath.
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question