Changing BackColor on Command Buttons?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there a way to programmatically change the BackColor of a Button on a
SHEET? I can get it work on User Forms and I can do it with Command Buttons
via it Properties manually, but have been unable to get it to work with code.

Not sure it is possible or if I just have syntax issues. The typically
".BackColor =" isn't working. I'm getting "Run-time error '438': Object
doesn't support this property or method".
 
RBee said:
Is there a way to programmatically change the BackColor of a Button
on a SHEET? I can get it work on User Forms and I can do it with
Command Buttons via it Properties manually, but have been unable to
get it to work with code.

Not sure it is possible or if I just have syntax issues. The
typically ".BackColor =" isn't working. I'm getting "Run-time error
'438': Object doesn't support this property or method".


The only colors you can change in a command button are fore color and font
color. A command button doesn't have a back color...

--
Hope I helped you.

Thanks in advance for your feedback.

Ciao

Franz Verga from Italy
 

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

Back
Top