Badi,
In design mode, pull up the properties for a button. First thing you should do is to change the .Style property to 1-Graphical - selected from the pull down for that property.
Then go to the BackColor property. You have two tabs - System and Palette. Choose Palette, then choose whatever color you wish.
Then at run time, you can set the BackColor to any color you wish. You may use either a hex number, or one of the predefined color constants.
To use a hex number, the format would be as follows:
&Hbbggrr
where bb represents the Blue, valid values are 00 to FF
where gg represents the Green, valid values are 00 to FF
and rr represents the Red, valid values are 00 to FF
To use one of the color constants
cmdFlash.BackColor = vbGreen
cmdFlash.BackColor = vbYellow
Good Luck
--------------
As a circle of light increases so does the circumference of darkness around it. - Albert Einstein