G
Guest
Hello
I want to have a selection in a listbox go to a textbox.
So far I have...
Private Sub lstEmployee_Click()
txtAddEmployee.Text = lstEmployees.ListIndex
End Sub
but I get the error "Run-time error '2185'
You can't reference a property or method for a control unless the control
has focus"
thanks for any help
Steve
I want to have a selection in a listbox go to a textbox.
So far I have...
Private Sub lstEmployee_Click()
txtAddEmployee.Text = lstEmployees.ListIndex
End Sub
but I get the error "Run-time error '2185'
You can't reference a property or method for a control unless the control
has focus"
thanks for any help
Steve