-
UserForm Controls are Null during Initialize Event
I have a UserForm that has multiple ListBox controls that I want to fill during the Initialize event.
I use Dim myControl as Control in declarations.
In the Initialize Event, I use Set myControl to lstMinimum and then get data from the database and fill the listbox.
I'm getting an error because the Control, lstMinimum, is Null. I don't understand because the control's properties are available.
Anybody know what I'm doing wrong? Thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules