hi there i have tried xLJer's code in a workbook of mine with acommand button and it seems to work fine.
on the module do you have this present
Also check that the Button you want to change colour is called CommandButton1. To do this on the form click the button and check it's properties.
If it is called something different then change the replace all the "CommandButton1"'s in the code to whatver you have called the command button. or just change the name of the command button to Command Button 1
Hope this helps.
Bookmarks