Hi,
How do I make sure that an item has been selected on a listbox? I've tried the following, but it doesn't seem to work.
EDIT: I realised that I forgot the '=' sign.Code:If ListBox1.SelectedItems.Count < 0 Then MsgBox("Error") End If
Results 1 to 2 of 2
|
Click Here to Expand Forum to Full Width |