GotFocus Event Example

This example runs when ListBox1 gets the focus.

Private Sub ListBox1_GotFocus()
    ' runs when list box gets the focus
End Sub