ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   How to put an ampersand '&' character into a ribbon button text (https://www.excelbanter.com/excel-programming/390121-how-put-ampersand-character-into-ribbon-button-text.html)

[email protected]

How to put an ampersand '&' character into a ribbon button text
 
with the xml that defines my custom buttons, how do I put an ampersand
'&' character into a ribbon button text?


Andy Pope

How to put an ampersand '&' character into a ribbon button text
 
Hi,

Try this,

<button id="MyButton" label="This && that"/

Cheers
Andy
--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
wrote in message
oups.com...
with the xml that defines my custom buttons, how do I put an ampersand
'&' character into a ribbon button text?



[email protected]

How to put an ampersand '&' character into a ribbon button text
 
On May 25, 10:08 pm, "Andy Pope" wrote:
Hi,

Try this,

<button id="MyButton" label="This && that"/

Cheers
Andy
--

Andy Pope, Microsoft MVP - wrote in message

oups.com...



with the xml that defines my custom buttons, how do I put an ampersand
'&' character into a ribbon button text?- Hide quoted text -


- Show quoted text -


THANKS VERY MUCH.


BZeyger

How to put an ampersand '&' character into a ribbon button text
 
If you use two ampersands it will show. Haveing one will cause an underscore.

Example: You want S&G to display

Type : S&&G

" wrote:

with the xml that defines my custom buttons, how do I put an ampersand
'&' character into a ribbon button text?




All times are GMT +1. The time now is 07:14 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com