D
DavPet
I have a control name from my form in a variable called MyControl.
How can I use the variable in code to set properties like:
when MyControl is equal to "Form_frmSSPI_LOGON.txtUserID"
I want to say
MyControl.backcolor = vbRed
but it doesn't work.
How can I use the variable in code to set properties like:
when MyControl is equal to "Form_frmSSPI_LOGON.txtUserID"
I want to say
MyControl.backcolor = vbRed
but it doesn't work.