Originally Posted by
baba
Could you please tell me how to change background color of MSAccess Reports using VBA?...
Are you trying to use VBA to assign a specific color? You can enter RGB values and Pantone values into the Properties of controls via the Property Sheet while in design view. Once they are in the properties, you can use debug.print to understand what VBA calls a specific color. Then you can create your own enum with the results.
If you know the RGB, you could just use the RGB function. In this example RGB(5, 255, 9) = 655109
Code:
Me.cmdColorMe.ForeColor = RGB(5, 255, 9)
Debug.Print Me.cmdColorMe.ForeColor '655109