I'm creating a custom tab in my Excel workbook, using the Office RibbonX Editor.
For the buttons that will be on my tab, I am using supertip to show a description of what the button does, if the user hovers over the button. In the text I want to appear, a character that I want in the string is the '&' symbol.
Unfortunately, when I validate my code in the RibbonX Editor, it is giving me an error at that place in the code. If I remove the '&' symbol it works fine, so obviously that is the culprit. I really want to keep the '&' symbol in there, because that symbol appears in headers in my workbook. Does anyone know how to use the '&' symbol in a string in the RibbonX Editor?
Here is the code I'm using:
<button id="ReplaceValues"
screentip="Replace Values"
supertip="This will allow you to replace specific values for R&D and Contractor."
label="Replace Values"
size ="large"
onAction="ReplaceValuesButton_RibbonX"
image="replacevalues_icon" />
</button>
For the buttons that will be on my tab, I am using supertip to show a description of what the button does, if the user hovers over the button. In the text I want to appear, a character that I want in the string is the '&' symbol.
Unfortunately, when I validate my code in the RibbonX Editor, it is giving me an error at that place in the code. If I remove the '&' symbol it works fine, so obviously that is the culprit. I really want to keep the '&' symbol in there, because that symbol appears in headers in my workbook. Does anyone know how to use the '&' symbol in a string in the RibbonX Editor?
Here is the code I'm using:
<button id="ReplaceValues"
screentip="Replace Values"
supertip="This will allow you to replace specific values for R&D and Contractor."
label="Replace Values"
size ="large"
onAction="ReplaceValuesButton_RibbonX"
image="replacevalues_icon" />
</button>
Last edited: