I've set userform initilize event as follows
Code: Select all
Private Sub UserForm_Initialize()
cboUserName.List = Array("Adam", "Smith")
Code: Select all
Me.cboUserName.Value = rst![User Name]
is there a way I could avoid this error message if there's no value in column?
Any help would be kindly appreciated.