D
dsc
I have a user form with a text box and several command buttons.
I'd like to have the focus on the text box when the form initializes,
preferably with the default text selected, so the user can just start
typing. Can't figure out how to do it.
Also, after typing in the text box, hitting "enter" just puts a line feed in
instead of accepting the text and continuing with the macro, as happens with
an InputBox. Is there any way to fix that?
Thanks in advance.
I'd like to have the focus on the text box when the form initializes,
preferably with the default text selected, so the user can just start
typing. Can't figure out how to do it.
Also, after typing in the text box, hitting "enter" just puts a line feed in
instead of accepting the text and continuing with the macro, as happens with
an InputBox. Is there any way to fix that?
Thanks in advance.