Solved

PowerPoint CustomUI built in button SlideNewGallery showing incorrect layouts

Posted on 2014-02-14
2
726 Views
Last Modified: 2014-02-15
Hi

I've built dozens of PowerPoint toolbars (addins), and have never run into this issue.  

I have a custom ribbon menu tab where I've put various buttons to run my VBA macros, along with one built-in button for New Slide, the same as on the Home tab.
<gallery idMso="SlideNewGallery" size="large" screentip="New Slide" supertip="Add a new slide after the currently selected slide, with a layout selected from those currently available in the presentation."/>

Open in new window


One of my custom buttons starts a new presentation based on the corporate template.  There are a couple dozen custom layouts in our template.  At that point of course the New Slide button should present a drop-down gallery of layouts in the template.  It does not.  Rather, it shows only the layouts in the default blank deck you see when you first launch PowerPoint.  The new presentation is the only file open, but the gallery is not updated.
new slideIf I click some other commands then come back to this button, it will work as expected.  
goodBut why doesn't it work the first time?  I suppose I could refresh the ribbon after opening a new presentation, but I shouldn't have to, and I've never had to before.

Can anybody think what might be going on?
0
Comment
Question by:versatilebb
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 23

Accepted Solution

by:
JSRWilson earned 500 total points
ID: 39861614
Did you do this with XML?

If so it should be:

 <control idMso="SlideNewGallery"  size="large"/>

My bet is you used <gallery ??

UPDATE: sorry I just noticed you DID use gallery! Use <control
0
 

Author Closing Comment

by:versatilebb
ID: 39861751
Looks like that did it.  Thanks for your help!
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

As with any other System Center product, the installation for the Authoring Tool can be quite a pain sometimes. This article serves to help you avoid making these mistakes and hopefully save you a ton of time on troubleshooting :)  Step 1: Make sur…
My attempt to use PowerShell and other great resources found online to simplify the deployment of Office 365 ProPlus client components to any workstation that needs it, regardless of existing Office components that may be needing attention.
This video shows and describes the main difference between both orientations in Microsoft Word. Viewers will understand when to use each orientation and how to get the most out of them.
Learn how to create and modify your own paragraph styles in Microsoft Word. This can be helpful when wanting to make consistently referenced styles throughout a document or template.

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question