Hi everyone,
does anybody know how to associate a text-box control and a label control using VBA?
I use CreateControl method to create programmaticaly a text-box control and a label control in a form.
I try to associate them using the following:
It doesn't work.
Any help is appreciated.
Sudakov
does anybody know how to associate a text-box control and a label control using VBA?
I use CreateControl method to create programmaticaly a text-box control and a label control in a form.
I try to associate them using the following:
Code:
Forms("MyForm").Controls("MyControl").Controls(0) = _
Forms("MyForm").Controls("MyLabel")
It doesn't work.
Any help is appreciated.
Sudakov