title: Developing a custom ribbon add-in for PowerPoint (Office 365) Mac
body: <p>I have recently switched to Mac from my Windows work laptop where I had some nice features installed via PowerPoint add-ins that I would like to replicate.</p>
  
  <p>I have all my macros working, and I am now trying to turn them into a working add-in that I can load on my machine.</p>
  
  <p>Now, before we get to the tricky part of signing the add-in and bla bla bla.. I am starting really simple (pptm file with custom toolbar). I have followed <a href="https://www.rondebruin.nl/mac/macribbon/ribbonmac.htm" rel="nofollow noreferrer">ron de bruin's amazing guide</a>. However, when I launch my presentation on Mac (on Windows they work), the buttons don't trigger the macro (no matter what macro).</p>
  
  <p>Here is the customUI.xml files content</p>
  
  <pre><code>&lt;customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui"&gt;
    &lt;ribbon&gt;
      &lt;tabs&gt;
        &lt;tab id="MyCustomTab" label="My Tab" insertAfterMso="TabHome"&gt;
  
        &lt;group id="customGroup1" label="Group 1"&gt;
            &lt;button id="customButton1" label="Caption 1" size="normal" onAction="Macro1" imageMso="Cut" /&gt;        
            &lt;button id="customButton2" label="Caption 2" size="normal" onAction="Macro2" imageMso="Bold" /&gt;
            &lt;button id="customButton3" label="Caption 3" size="normal" onAction="Macro3" imageMso="Italic" /&gt;
          &lt;/group&gt;
  
        &lt;/tab&gt;
      &lt;/tabs&gt;
    &lt;/ribbon&gt;
  &lt;/customUI&gt;
  </code></pre>
  
  <p>And here is the content of my macro's module in VBA:</p>
  
  <pre><code>Option Explicit
  
  'Callback for customButton1 onAction
  Sub Macro1(control As IRibbonControl)
      MsgBox "This is macro 1"
  End Sub
  
  'Callback for customButton2 onAction
  Sub Macro2(control As IRibbonControl)
      MsgBox "This is macro 2"
  End Sub
  
  'Callback for customButton3 onAction
  Sub Macro3(control As IRibbonControl)
      MsgBox "This is macro 3"
  End Sub
  </code></pre>
  
  <p>Any idea what I am doing wrong?</p>