I am slowly learning VBA via this board and asking basic questions
Here's one:
I have a text input box that is reset via a command button using the following code:
Private Sub CmdReset_Click()
With Me.lstResults
.RowSource = strSource
.Requery
End With
End Sub
What can I add to the code to move the focus back to the text input box called txtfilter?
Thanks
Here's one:
I have a text input box that is reset via a command button using the following code:
Private Sub CmdReset_Click()
With Me.lstResults
.RowSource = strSource
.Requery
End With
End Sub
What can I add to the code to move the focus back to the text input box called txtfilter?
Thanks