Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
sJ sJ is offline
external usenet poster
 
Posts: 3
Default 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" /






  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,298
Default 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" /







  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,489
Default 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
  #4   Report Post  
Posted to microsoft.public.excel.programming
sJ sJ is offline
external usenet poster
 
Posts: 3
Default 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



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I list Ampersand in a caption or quotes? -- & in " " Benjamin Excel Programming 1 August 19th 09 05:17 PM
label caption JT Excel Programming 1 February 4th 08 06:53 PM
How to put an ampersand '&' character into a ribbon button text [email protected] Excel Programming 3 June 21st 07 04:12 PM
Label in Excel... change caption from VB [email protected] Excel Programming 2 April 20th 06 01:41 AM
label caption equal excel value Monique Excel Worksheet Functions 1 July 12th 05 07:33 PM


All times are GMT +1. The time now is 02:09 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"