Hi,
I am trying to build an If statement to catch the case where user forgets to select a listbox value. For some reason VBA skips it, keeps on going and crashes when the value is to be used. What am I doing wrong?
If (Sheets("Menu").ListBox1.Value Is Null) Then
MsgBox ("Please make a valid selection")
End
I am trying to build an If statement to catch the case where user forgets to select a listbox value. For some reason VBA skips it, keeps on going and crashes when the value is to be used. What am I doing wrong?
If (Sheets("Menu").ListBox1.Value Is Null) Then
MsgBox ("Please make a valid selection")
End