View Full Version : Ribbon not always loading

03-29-2019, 04:20 AM

I have a custom ribbon that I have been using via a PowerPoint addIn.

If I load powerpoint directly then my ribbon appears and all works as intended. If I load powerpoint via an existing file, then the ribbon does not appear although I can see that the addIn has been loaded in the background. Opening an existing file after hacing opened a blank presentation also works fine.

Does anyone have any ideas for the cause of this behaviour? It's only just started happening and the only change I can see is that I am now using it in O365. My Excel version of the same code still works fine.


04-01-2019, 12:57 AM
I mocked up an example addIn that exhibits the same behaviour. Unfortuantely I can't upload it from my work PC but it's very simple:

The ribbon XML is:

<customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui">
<ribbon startFromScratch="false">
<tab id="Example" label="Example">
<group id="Test" label="Test" imageMso="FileNew">
<box id="TestBox1" boxStyle="vertical">
<button id="TestButton" imageMso="HappyFace" size="normal" screentip="A screentip" supertip="A supertip"/>

The VBA is in a single module and consists of:

Option Explicit
Sub Test()

'Empty subroutine to allow saving as a .pptm

End Sub