0

I try to disable File button in MS Word. example I know that we can disable backstage using customUI.xml:

<customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui">
<backstage>
<button idMso="FileSave" visible="false"/>
<button idMso="FileSaveAs" visible="false"/>
<button idMso="FileOpen" visible="false"/>
<button idMso="FileClose" visible="false"/>
<button idMso="ApplicationOptionsDialog" visible="false"/>
...
</backstage>
</customUI>

But i need to fully disable button. User should have no abilities even click it. I must hide backstage from users. I saw similar question. This has 1 answer which says

It's not possible to hide this button

Also, Edraw library has such possibility link. Someone has any thought?

Jonas
  • 121,568
  • 97
  • 310
  • 388
  • The linked question is the same as this. Please try to edit that one as this would be a duplicate... – niamulbengali Dec 20 '20 at 14:03
  • Does this answer your question? [How to disable File button in MS-Word 2013?](https://stackoverflow.com/questions/51435554/how-to-disable-file-button-in-ms-word-2013) – niamulbengali Dec 20 '20 at 14:04

1 Answers1

0

Hiding the File tab requires you to hide the default ribbon:

<CustomUI xmlns="http://schemas.microsoft.com/office/2009/07/CustomUI"> <ribbon startFromScratch="true"/></CustomUI>

Then replace it with a new ribbon that you design from scratch.

John Korchok
  • 4,723
  • 2
  • 11
  • 20