Hi,
in a module, I want to refer to a control (rectangle) which name is identified in the tag of another control (combobox):
Public Sub bss_PolySynth(rfrm As Form, Ctl As Control)
....
....
Forms!(rfrm.Name).Controls!(Ctl.Tag).BackColor = Ctl.BackColor
(and many other trials)
....
....
End Sub
I always get error messages (in this case: Type-declaration character does not match declared data type). Any suggestion for the correct syntax?
Thanks, georgp
in a module, I want to refer to a control (rectangle) which name is identified in the tag of another control (combobox):
Public Sub bss_PolySynth(rfrm As Form, Ctl As Control)
....
....
Forms!(rfrm.Name).Controls!(Ctl.Tag).BackColor = Ctl.BackColor
(and many other trials)
....
....
End Sub
I always get error messages (in this case: Type-declaration character does not match declared data type). Any suggestion for the correct syntax?
Thanks, georgp