David said:
Sounds good but it does not help me at all. How am I
supposed to change the color to a custom color when I dont
know what the custom color is? The color is not in the
standard colors otherwise I would not have asked the
question.
David,
Perhaps if you re-read your original post you will see that you did NOT
ask how to get a custom color value. You asked how to get some default
color value. As the colors are dependent upon how your version of Access
and your system is set up, I gave you a means to do so.
Now you are asking a different question.
How to get a custom color value?
Do you know how to make the custom color?
Click on any control's color property.
Let's say the BackColor property.
Click on the button with the 3 dots that appears on that line.
The Color chart will appear.
Select one of the square boxes (one you are willing to change).
Click on Define Custom Color.
Make the color using the Color Tool.
Click 'Add to Custom Colors' to save the color.
Exit.
Now click again on that color property line and select the new color
from the drop-down box.
The value entered in that line is the number value of that color.
Copy the number and paste it into whatever control you wish.