Colleagues,
In the "ol' good days", to change a back color of an object (say, a command button, text box, or even a form), all you needed to do was to assign RGB() value to the object.BackColor property.
But now, when I tried cmdMyButton.BackColor = RGB(0,156,0) I got the follwing error msg:
Search in MS Help didn't brought any workable responses...
All I could discern is that the controls now accept only Color structure (? or I'm mistaken?) that I couldn't find comprehensive explanations for...
Hence the Q. in the Subject line.
AHWBGA!
Regards,
Ilya
In the "ol' good days", to change a back color of an object (say, a command button, text box, or even a form), all you needed to do was to assign RGB() value to the object.BackColor property.
But now, when I tried cmdMyButton.BackColor = RGB(0,156,0) I got the follwing error msg:

Search in MS Help didn't brought any workable responses...
All I could discern is that the controls now accept only Color structure (? or I'm mistaken?) that I couldn't find comprehensive explanations for...
Hence the Q. in the Subject line.
AHWBGA!
Regards,
Ilya