I've created a custom tab in the MS Word 2007 ribbon. The tab and all its features work fine and is saved within a macro enabled template. However, upon creating a new document based on this template, after saving it as either a normal Word document or macro enabled document and then closing it: when I reopen this document file, the custom tab has duplicated itself!
I'm rather limited in the tools I can use due to this being developed on heavily locked down computers and network. I'm restricted to the Custom UI Editor tool for the XML aspects, and VBA. I've included the start of the XML that creates the toolbar. If using a qualified tab id, the tab contents duplicates within the same tab. If using a non-qualified tab name, the entire tab duplicates itself in the ribbon.
I'm at a complete loss with this. Both instances of the custom toolbar work fine - it's just the fact there's two of them and lots of people will be using this template!
<?xml version="1.0" encoding="UTF-8" standalone ="yes"?>
<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">
<ribbon>
<tabs>
<tab id="rxTabCompanyName"
label="Company Name Toolbar"
insertBeforeMso="TabHome"
tag="CompanyNameToolbarTag">
<group id="rxgrpCompanyNameReportStyles"
label="Report Text Styles">
<box id="rxboxStyleX"
boxStyle="horizontal">
<menu id="rxmnuAllStyles"
label="All Styles"
supertip="List all styles"
showLabel="true"
image="AtkStyles"
size="normal">
etc...
Any suggestions would be much appreciated.