I have 8 list boxes on a user form but I want to make sure that the user always selects an option in each list box, my efforts have so far failed
I initially tried by checking the list box had been selected by using...
That didn't work, as when I stepped through the code it suggested that LB6 was 'Null'
So I changed the code to
That then suggested LB6 was ""
So I changed it again to say
But it doesn't even acknowledge it now and skips past it
Any ideas please ?
I initially tried by checking the list box had been selected by using...
Code:
If LB6.Value = "" Then
That didn't work, as when I stepped through the code it suggested that LB6 was 'Null'
So I changed the code to
Code:
If LB6.Value = Null Then
That then suggested LB6 was ""
So I changed it again to say
Code:
If LB6.Value = Null or LB6.Value = "" Then
But it doesn't even acknowledge it now and skips past it
Any ideas please ?