title: How can a PowerPoint 365 add-in (.ppam) add a button for a macro to the Quick Access Toolbar?
body: <p>I have &quot;Microsoft 365 Apps for enterprise&quot;. I have developed a VBA Word macro and a VBA PowerPoint macro.</p>
  <p>I want a similar user interface for each macro: ideally, a Quick Access Toolbar button.</p>
  <p>For Word, this is easy:</p>
  <ol>
  <li>In the macro-enabled template (<code>.dotm</code>), use the Word UI (File &gt; Options &gt; Quick Access Toolbar) to add a button for the macro, for just the <code>.dotm</code> file.</li>
  <li>Copy the <code>.dotm</code> file to the <code>%APPDATA%\Microsoft\Word\STARTUP</code> directory.</li>
  <li>Restart Word.</li>
  </ol>
  <p>The button appears in the Word Quick Access Toolbar for all documents, and works. Job done.</p>
  <p>For PowerPoint, not so easy, hence this question. The equivalent steps for PowerPoint don't work:</p>
  <ol>
  <li>In the macro-enabled template (<code>.potm</code>), use the PowerPoint UI (File &gt; Options &gt; Quick Access Toolbar) to add a button for the macro, for just the <code>.potm</code> file.</li>
  <li>Save the <code>.potm</code> file as a <code>.ppam</code> (PowerPoint add-in).</li>
  <li>Exit PowerPoint.</li>
  <li>Copy the <code>.ppam</code> to the <code>%APPDATA%\Microsoft\AddIns</code> directory</li>
  <li>Start PowerPoint.</li>
  <li>Load that add-in (File &gt; Options &gt; Add-ins &gt; Manage: PowerPoint Add-ins &gt; Go &gt; Add New &gt; select the <code>.ppam</code> &gt; Open)</li>
  </ol>
  <p>The Quick Access Toolbar button appears, but clicking it results in the error message:</p>
  <blockquote>
  <p>The macro cannot be found or has been disabled because of your security settings</p>
  </blockquote>