It works. Thanks Ken.
Cannot figure out the formula of the color code. But it does not matter.
"Ken Slovak - [MVP - Outlook]" wrote in message
...
There's no list like that which I'm aware of, besides controls can not
only have pre-defined colors such as Window or Button, but also any RBG
color combination. Right-click on the control and select Advanced
Properties and look at the color options there. Select the color you want
and get the RGB value to use in your code.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm
"Jason" wrote in message
...
I'm trying to change the fore/background color of controls in custom form
but cannot find the list of the color code (int value). Can someone tell
me where to find the list/reference?