D
Don
I'd like to run an If Then statement based on the following:
When I click a button I want my program to perform an action depending on
which textbox currently has the focus. I can't figure out how to write the
code that says
If txtA (has the focus) Then
(Some code)
Else
If txtB (has the focus) Then
(Some code)
End If
End If
Can someone help me with the syntax.
Thank you.
When I click a button I want my program to perform an action depending on
which textbox currently has the focus. I can't figure out how to write the
code that says
If txtA (has the focus) Then
(Some code)
Else
If txtB (has the focus) Then
(Some code)
End If
End If
Can someone help me with the syntax.
Thank you.