I distribute a Word template with a large VBA code base in it. The template includes a menu, and for Word 2007/2010 users, a ribbon tab. In Word 2013, everything still works fine via the menu, but the ribbon is not showing up. I still code in VBA without using Visual Studio (and don't want to buy VSTO). So i'm trying to figure out how to update my ribbon code/xml or whatever it is I need to do to make my ribbon tab show up in 2013.
The ribbon is copied into a new document from the template when a user creates a new document based on the template. But something's going wrong with that process in Word 2013. Interestingly, if I open a document that was previously created from my template (in Word 2010), the ribbon displays and works fine. But if I create a new Word 2013 document from the template, the ribbon is not there.
There must be something I need to do in my code to tell Word to display the ribbon in new documents based on my template, but I haven't been able to find that information.
I've always generated my ribbon using "Office Custom UI Editor," which is not available for Word 2013; that tool "inserts" the xml into the template. My ribbon XML starts with this:
<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui" onLoad="SERibbon_Load">
<ribbon startFromScratch="false">
<tabs>
Anybody know how to make my ribbon tab work with Word 2013?