Hello guys.
I have 1 UserForm with 2 TextBoxs and 1 CommandButton.
The CommandButton hides the UserForm. Every time I open the UserForm I would like to have textbox1 activated (I mean ready for typing in).
The problem is that it happens the first time only because when I use CommandButton on the userform (which hides the userform) and I open userform again the selection is on the CommandButton.
How can I keep selected textbox1 everytime I open the UserForm regardless whatever is the last operation I do on the UserForm?
I hope my question was clear.
Thankx
Fabber
I have 1 UserForm with 2 TextBoxs and 1 CommandButton.
The CommandButton hides the UserForm. Every time I open the UserForm I would like to have textbox1 activated (I mean ready for typing in).
The problem is that it happens the first time only because when I use CommandButton on the userform (which hides the userform) and I open userform again the selection is on the CommandButton.
How can I keep selected textbox1 everytime I open the UserForm regardless whatever is the last operation I do on the UserForm?
I hope my question was clear.
Thankx
Fabber