I created my own class, and I am trying to add controls on a form to that class. Everything works fine except for the line ctrl = Me.Controls(Rcontrolname) . I know I could do something like "for each ctrl in UserForm1" check if the name matches some model, and then do the rest etc, but I want to specifically reference it by name. What do I need to change?
![]()
Please Login or Register to view this content.
Bookmarks