Remove or Hide File Tab on Custom Ribbon

Catalina

Registered User.
Local time
Today, 01:32
Joined
Feb 9, 2005
Messages
471
In Access 2010 I made a custom ribbon.

The File Tab still gives users access to features that should not be available
to them such as: Compact & Repair, Encrypt etc.

I spent a few hours looking for a solution but found none that works.

It does not seem to be possible to hide the File Tab, but is there a way to hide the options it reveals?

All suggestions will be most welcome.

Catalina
 
Have you tried using a runtime version?
 
Hi Catalina

is possible to clean the entire contents of the File Tab

Add your personalized ribbon, part backstage:

...
</ribbon>
<!-- *** BACKSTAGE ***-->
<backstage>
<button idMso="FileSave" visible="false"/>
<button idMso="SaveObjectAs" visible="false"/>
<button idMso="FileSaveAsCurrentFileFormat" visible="false"/>
<button idMso="FileOpen" visible="false"/>
<button idMso="FileCloseDatabase" visible="false"/>
<tab idMso ="TabInfo" visible="false"/>
<tab idMso ="TabRecent" visible="false"/>
<tab idMso ="TabNew" visible="false"/>
<tab idMso ="TabPrint" visible="false"/>
<tab idMso ="TabShare" visible="false"/>
<tab idMso ="TabHelp" visible="false"/>
<button idMso="ApplicationOptionsDialog" visible="false"/>
<button idMso="FileExit" visible="false"/>
</backstage>
</customUI>

I learned a lot from the videos on this site below:

http://www.ribbon01.com/articles.asp
 
Thanks Ari, that's what I did and it works fine.

Catalina
 

Users who are viewing this thread

Back
Top Bottom