command button colour

S

Steve davis

hi i have 3 form button at the moment that when u click run there code
and they also change the colour of the text from green to red and the next
buton from red to green that way if u get pulled away u now were u are but
would like to use command buttons as u can change the face colour not just
the text is there a vb code to change the button colour if so could u please
tell me
 
J

Jim Cone

youcancoloracommandbuttonusingcodesimilartothefollowing:CommandButton1.BackColor=RGB(111,222,333)
--
Jim Cone
Portland, Oregon USA



"Steve davis" <[email protected]>
wrote in message
hi i have 3 form button at the moment that when u click run there code
and they also change the colour of the text from green to red and the next
buton from red to green that way if u get pulled away u now were u are but
would like to use command buttons as u can change the face colour not just
the text is there a vb code to change the button colour if so could u please
tell me
 
S

Steve davis

hi thanks very much spent a bit of time looking at posts then the net so
thanks again
 

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