Solved

PowerPoint CustomUI built in button SlideNewGallery showing incorrect layouts

Posted on 2014-02-14
2
694 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
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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

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…
Using Word 2013, I was experiencing some incredible lag when typing.  Here's what worked for me....
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

757 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now