Disable predefined commands
Supported on: At least Windows Server 2008 R2 or Windows 7
Registry
HKCU
software\policies\microsoft\office\16.0\excel\disabledcmdbaritemscheckboxes Options
filewebpagepreview boolean sendtomailrecipient boolean inserthyperlink boolean toolsprotectsheet boolean flyoutanchorprotectworkbookmenu boolean toolsprotectshare boolean flyoutanchormacros boolean toolsmacromacros boolean toolsmacrorecord boolean toolsmacrosecurity boolean toolsmacrovbe boolean webaddress boolean Description
This policy setting allows you to disable specific command bar buttons and menu items in the specified applications. If you enable this policy setting you can disable specific command bar buttons and menu items in the user interface for the selected application. The predefined list of command bar buttons and menu items you can disable becomes available to you when you enable this policy setting. If you disable or do not configure this policy setting, the predefined list of command bar buttons and menu items are enabled for the application.