ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Ampersand in label caption in Excel 2007 Ribbon (https://www.excelbanter.com/excel-programming/433101-ampersand-label-caption-excel-2007-ribbon.html)

sJ

Ampersand in label caption in Excel 2007 Ribbon
 
Instead of the caption being "A and B" as below, I need it to display as "A
& B"

<button id="btn1" label="A and B" imageMso="Help"
onAction="aa.xls!btnAction" /







Patrick Molloy[_2_]

Ampersand in label caption in Excel 2007 Ribbon
 
try
<button id="btn1" label="A & B" imageMso="Help" onAction="aa.xls!btnAction" /


"SJ" wrote:

Instead of the caption being "A and B" as below, I need it to display as "A
& B"

<button id="btn1" label="A and B" imageMso="Help"
onAction="aa.xls!btnAction" /








Andy Pope

Ampersand in label caption in Excel 2007 Ribbon
 
Hi,

Try,

<button id="btn1" label="A &amp;&amp; B" imageMso="Help"
onAction="aa.xls!btnAction" /

Cheers
Andy

SJ wrote:
Instead of the caption being "A and B" as below, I need it to display as "A
& B"

<button id="btn1" label="A and B" imageMso="Help"
onAction="aa.xls!btnAction" /







--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info

sJ

Ampersand in label caption in Excel 2007 Ribbon
 
thanks

"Andy Pope" wrote in message
...
Hi,

Try,

<button id="btn1" label="A &amp;&amp; B" imageMso="Help"
onAction="aa.xls!btnAction" /

Cheers
Andy

SJ wrote:
Instead of the caption being "A and B" as below, I need it to display as
"A & B"

<button id="btn1" label="A and B" imageMso="Help"
onAction="aa.xls!btnAction" /







--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info





All times are GMT +1. The time now is 12:10 AM.

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