Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to disable Office Button - 2007

Status
Not open for further replies.

PercyN

Programmer
May 16, 2007
86
Hi,
I have just started using access 2007 and recently learnt how to customize the ribbon using XML. What I have not figured out yet is how to disable the Office Button so that users cannot have access to any of the items on that menu.

Any ideas?
 
Thanks for the tip PHV,

I actually have been to this site before and though it has some very rich content on how to customize the ribbon it does not say how to diable the office button itself. I have tried to do it using the same XML code that customizes the ribbon but it doesn't work
 
You can't disable the Office Button. You need to disable the buttons.

<customUI xmlns="<commands>
<command idMso="Help" enabled="false"/>
</commands>
<ribbon startFromScratch="false">


<officeMenu>
<button idMso="FileOpenDatabase" visible="false" />
<button idMso="FileNewDatabase" visible="false" />
<splitButton idMso="FileSaveAsMenuAccess" visible="false" />
</officeMenu>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top