How would I put something like this into code form?

If any user in the listbox is selected Then

Else