jbotts
asked on
Access 2010 - How to hide ribbon
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?
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?
ASKER
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="http://schemas.microsoft.com/office/2009/07/customui">
<ribbon startFromScratch="false">
</ribbon>
<backstage>
<buttonidMso="FileSave"vis ible="fals e"/>
<buttonidMso="SaveObjectAs "visible=" false"/>
<buttonidMso="FileSaveAsCu rrentFileF ormat"visi ble="false "/>
<buttonidMso="FileOpen"vis ible="fals e"/>
<button idMso="FileCloseDatabase"v isible="fa lse"/>
<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"/ >
<buttonidMso="ApplicationO ptionsDial og"visible ="false"/>
<button idMso="FileExit"visible="f alse"/>
</backstage>
</customUI>
Best option so far is:
<customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui">
<ribbon startFromScratch="true">
</ribbon>
<backstage>
<button idMso = "ApplicationOptionsDialog" visible="false"/>
<button idMso = "FileExit" visible="false"/>
<tab idMso = "TabPrint" visible="false"/>
</backstage>
</customUI>
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.
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="http://schemas.microsoft.com/office/2009/07/customui">
<ribbon startFromScratch="false">
</ribbon>
<backstage>
<buttonidMso="FileSave"vis
<buttonidMso="SaveObjectAs
<buttonidMso="FileSaveAsCu
<buttonidMso="FileOpen"vis
<button idMso="FileCloseDatabase"v
<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"/
<buttonidMso="ApplicationO
<button idMso="FileExit"visible="f
</backstage>
</customUI>
Best option so far is:
<customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui">
<ribbon startFromScratch="true">
</ribbon>
<backstage>
<button idMso = "ApplicationOptionsDialog"
<button idMso = "FileExit" visible="false"/>
<tab idMso = "TabPrint" visible="false"/>
</backstage>
</customUI>
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.
Yes ...
How to render the Ribbon File Tab useless:
https://www.experts-exchange.com/questions/27231448/Access-2010-disable-or-modify-Quick-Access-Toolbar.html
See my posts toward the bottom of the tread ... with XML for USysRibbons table, etc.
How to render the Ribbon File Tab useless:
https://www.experts-exchange.com/questions/27231448/Access-2010-disable-or-modify-Quick-Access-Toolbar.html
See my posts toward the bottom of the tread ... with XML for USysRibbons table, etc.
ASKER
After review of the post, I guess the File Tab remains, but is useless, and cannot be hidden?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Albert is an expert on Ribbons ... see his posts here:
http://answers.microsoft.com/en-us/office/forum/office_2010-access/how-to-hide-just-the-file-tab-aka-backstage-in/25123c18-2c16-4a5e-8ee4-9f8f87b9e808
http://www.utteraccess.com/forum/Hide-File-Tab-Ribbon-t1973679.html
http://answers.microsoft.com/en-us/office/forum/office_2010-access/how-to-hide-just-the-file-tab-aka-backstage-in/25123c18-2c16-4a5e-8ee4-9f8f87b9e808
http://www.utteraccess.com/forum/Hide-File-Tab-Ribbon-t1973679.html
ASKER
Thanks so much.
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:
http://www.ribboncreator2010.de/
and here also:
http://www.ribbon01.com/
Also ... get info on the de-facto standard ribbon tool site:
http://www.ribboncreator2010.de/
and here also:
http://www.ribbon01.com/
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 :-)
I'm working with Ribbons a LOT more now, and I will be searching for a way to do this :-)
mx