S
ssignore
Hello, MS Online Community!
I'm new to VBA and trying to learn with a beginner's book.
Can anyone give me the appropriate structure for a procedure which assigns a
color to an option in an option group?
Below is the failed code.
'I know this is incorrect, but I can't seem to find the right structure to
assign the color lime or 65408 to the Option of Lime.
Private Sub OptLime_GotFocus()
Me.txtMain.Forecolor = RGB(65408)
End Sub
Any help is appreciated!
Thanks,
Simone
I'm new to VBA and trying to learn with a beginner's book.
Can anyone give me the appropriate structure for a procedure which assigns a
color to an option in an option group?
Below is the failed code.
'I know this is incorrect, but I can't seem to find the right structure to
assign the color lime or 65408 to the Option of Lime.
Private Sub OptLime_GotFocus()
Me.txtMain.Forecolor = RGB(65408)
End Sub
Any help is appreciated!
Thanks,
Simone