I am trying to change the color of controls on a form through code by looping through a list of controls in a table.
The line of code I use is
me.controls(strControlname).backcolor = vbred
However it changes the color for everything except the option group box. I do not understand this as I can change its color manually through the properties and it works.
I do not get an error but I know it loops through it as I tested it with message boxes!
Any help appreciated?
Cheers
Neemi
The line of code I use is
me.controls(strControlname).backcolor = vbred
However it changes the color for everything except the option group box. I do not understand this as I can change its color manually through the properties and it works.
I do not get an error but I know it loops through it as I tested it with message boxes!
Any help appreciated?
Cheers
Neemi