LostFocus Event Example

This example runs when ListBox1 loses the focus.

Private Sub ListBox1_LostFocus()
    ' runs when list box loses the focus
End Sub