View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Andrea[_2_] Andrea[_2_] is offline
external usenet poster
 
Posts: 6
Default Cannot Get Caption to show on custom toolbar button

Thank you. That was one of those "What was I thinking?" ones. (or more
aptly put..."What was I not thinking?")

"Rob Bovey" wrote in message ...
"Rob Bovey" wrote in message
...
Hi Andrea,

For each button you're creating, add the following line of code:

.Type = msoButtonCaption

This will display the caption. If you want to display an icon and the
caption set the Type property to msoButtonIconAndCaption.


Sorry about that Type nonsense, what I meant to say was set the *Style*
property, i.e.

.Style = msoButtonCaption