張貼日期:Sep 14, 2011 8:59:39 AM
Select a the idMso to disable in http://msdn.microsoft.com/en-us/library/dd945681%28v=office.12%29.aspx
Add <command> tag to Ribbon XML.
Set enabled = "false".
It only works when user install and enabled the add-in or template.
<?xml version="1.0" encoding="UTF-8"?>
<customUI onLoad="Ribbon_Load" xmlns="http://schemas.microsoft.com/office/2006/01/customui">
<commands>
<command idMso ="Paste" enabled ="false"/>
</commands>
</customUI>