Nmarkit
09-10-2013, 03:48 AM
hello
I have 2 listboxes. I need to check if either one, both or neither are selected. have tried a few things but none seem to work. Any ideas please?
i've tried
If IsNull(ListBox1) AND IsNull(ListBox2) then
MsgBox "Please select an Intrument or Account"
'ElseIf IsNull(ListBox1) Then
'MsgBox "account selected"
'ElseIf IsNull(ListBox2) Then
'MsgBox "product selected"
End If
I have 2 listboxes. I need to check if either one, both or neither are selected. have tried a few things but none seem to work. Any ideas please?
i've tried
If IsNull(ListBox1) AND IsNull(ListBox2) then
MsgBox "Please select an Intrument or Account"
'ElseIf IsNull(ListBox1) Then
'MsgBox "account selected"
'ElseIf IsNull(ListBox2) Then
'MsgBox "product selected"
End If