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.