Cowboy_BeBa
Registered User.
- Local time
- Today, 17:53
- Joined
- Nov 30, 2010
- Messages
- 188
Ive been recently experimenting with changing control colours via vba (mostly for a menu/submenu, i have it colour coded, so when a user clicks a button it brings up a differently coloured submenu)
the problem is when i change a backcolour im very limited in the colours i choose
im using
me.controlname.backcolor=vbgreen
i tried putting in a hex value, no luck, i couldnt put in an RGB, i noticed that access vba uses weird numbers (i cant understand what they are) for instance i found that an access theme theme color for the control "Background Light Header", which equals "-2147483612" somehow
also found this page which gives me a list of numbers for certain colours
http://www.endprod.com/colors/
whilst the page i found is helpful and opens up my options im greedy, i want more
does anyone know of a formula or way to convert any RGB number to the msaccess numbers?
the problem is when i change a backcolour im very limited in the colours i choose
im using
me.controlname.backcolor=vbgreen
i tried putting in a hex value, no luck, i couldnt put in an RGB, i noticed that access vba uses weird numbers (i cant understand what they are) for instance i found that an access theme theme color for the control "Background Light Header", which equals "-2147483612" somehow
also found this page which gives me a list of numbers for certain colours
http://www.endprod.com/colors/
whilst the page i found is helpful and opens up my options im greedy, i want more
does anyone know of a formula or way to convert any RGB number to the msaccess numbers?