You can customize the Ribbon, the Quick Access Toolbar and context menus. Your targets are not part of any of those. I've never seen any example of those being removed with a custom ribbon.
Word 365 - Hide/ Disable Auto Save Toggle button, Comment Menu, Share Manu
Hi,
I am working on customizing Word 365 UI using VSTO Add-in and Custom Ribbon / CustomUI.xml approach.
I want to hide or disable following elements on Word 365 UI.
- Auto Save Toggle button, idMso = AutoSaveSwitch
- Comment Menu on the top bar, idMso = CollaborateComments
- Share Manu on the top bar, idMso = ShareOptionsMenu
3 answers
Sort by: Most helpful
-
-
Craig 0 Reputation points
2023-03-17T17:09:18.38+00:00 If I understand you correctly, you don't want AutoSave to show on the menu. If that's correct, it's super simple. I hid my AutoSaves by doing the following:
- Open Excel, Word, etc.
- File
- Options
- In General, look for "Show Save Command in the Application Header"
- Uncheck it.
-
Mustafa Kanorwala 0 Reputation points
2025-02-10T09:41:11.6033333+00:00 Is it technically possible to achieve the following using Office.js in a Word add-in?
We want to add custom properties (such as document IDs and metadata) to Word documents opened via our add-in. Based on the presence of specific custom properties or keywords, we aim to disable Word's default 'Save,' 'Save As,' and 'Share' options to prevent users from saving or sharing the document locally on their desktop/PC.
Additionally, we would like to implement custom protection mechanisms through our add-in. Could you please confirm whether this functionality can be implemented using office.js or some work around (like combination of vsto and officejs) and suggest best practices or limitations we should be aware of?"