Recycled entry. Read the next block.
In a project, I have a bug on application run / window open:
a single line TextField have the focus but I want to have the Focus on my Listbox.
I just found a solution. I add in the TextField a GotFocus Event and put the code below into it (LB is the reference of my ListBox):
Sub GotFocus()
If LB.ListCount = 0 Then
ClearFocus
End If
End Sub
Better that than nothing. Now I can Paste data directly into the Listbox instead of click in the Listbox and then Paste data !
HTH.