Access 2010 - How to hide ribbon

Posted on 2013-06-05
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
  • 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.
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.


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 500 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.
LVL 75
ID: 39223278

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
Learn how to create and modify your own paragraph styles in Microsoft Word. This can be helpful when wanting to make consistently referenced styles throughout a document or template.

791 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