Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>The solution found was to create a standard VSTO add-in, add a ribbon (XML) to it and then using the commands node to disable buttons. For a list of the idMso's see this <a href="http://download.microsoft.com/download/0/7/8/07857e57-fc50-482f-ae67-209da417e232/2007OfficeControlIDsExcel2007.EXE" rel="nofollow noreferrer">download.</a></p> <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui" onLoad="Ribbon_Load"&gt; &lt;commands&gt; &lt;command idMso="Bold" enabled="false"/&gt; &lt;command idMso="Font" enabled="false"/&gt; &lt;command idMso="FontSize" enabled="false"/&gt; &lt;command idMso="Italic" enabled="false"/&gt; &lt;command idMso="Underline" enabled="false"/&gt; &lt;command idMso="Shadow" enabled="false"/&gt; &lt;command idMso="Strikethrough" enabled="false"/&gt; &lt;command idMso="ChangeCaseGallery" enabled="false"/&gt; &lt;command idMso="CharacterSpacingGallery" enabled="false"/&gt; &lt;command idMso="FontColorPicker" enabled="false"/&gt; &lt;command idMso="FontColorMoreColorsDialogPowerPoint" enabled="false"/&gt; &lt;command idMso="FontDialogPowerPoint" enabled="false"/&gt; &lt;command idMso="GroupParagraph" enabled="false"/&gt; &lt;command idMso="BulletsGallery" enabled="false"/&gt; &lt;/commands&gt; &lt;ribbon startFromScratch="false"&gt; &lt;tabs&gt; &lt;tab idMso="TabAddIns"&gt; &lt;group id="MyGroup" label="My Group"&gt; &lt;/group&gt; &lt;/tab&gt; &lt;/tabs&gt; &lt;/ribbon&gt; </code></pre> <p></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload