Color of custom button caption

S

shashi1515

I have created a cutom button with the following code. How do I change
the font color/size of the caption on the button? Please help.

With .Controls.Add(Type:=msoControlButton)

..Style = msoButtonCaption
..Caption = "Enter the name"
..Width = 35

End With
 
G

Guest

Right click the button. Then go to:
-Properties
-Backcolor (Click the drop down and pick your color)
-Caption (Click to change the name of the button
-Font to change the font
You can even add a picture to the button by clicking "Picture" Then
selecting a .jpg. You can also add Wordwrap, Lock the Button, add Shadow, and
change the MouseIcon when the pointer rolls over it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top