Change color on text on a command button with code... How?

I have a command button on a form. This opens a dialog box (subform) and I want to change the color on the text on this command button when the dialogbox is closed (saved with data).

How can I do that???

The parent form has a hidden field which I change from 0 to 1 when the subform is closed, so it is possible for me to make a control for this value too.

Thanks in advance

Subject: Change color on text on a command button with code… How ?

Make two buttons with different colours, and hide-when formulas so that only one of the buttons is visible at a time.