Consulting

Results 1 to 2 of 2

Thread: Ribbon not always loading

  1. #1

    Ribbon not always loading

    Hi,

    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.

    thanks,
    -Ralph

  2. #2
    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">
            <tabs>
                <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"/>
                        </box>
                    </group>
                </tab>
            </tabs>
        </ribbon>
    </customUI>
    The VBA is in a single module and consists of:
    Option Explicit
    Sub Test()
    
    'Empty subroutine to allow saving as a .pptm
    
    End Sub

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •