When my userform is displayed, I would like to have the input field preselected. It is the same as using the Shift-Home key.
I current ly use a shortcut ( Ctrl-M ) to select the sheet and display the userform, as in
The last line does not work, but it was my stab at the problem
Any ideas appreciated
I current ly use a shortcut ( Ctrl-M ) to select the sheet and display the userform, as in
Code:
Sheets("Select").Activate
Call Worksheets("Select").CommandButton1_Click
UserForm1.TextBox1.Select ' NOT correct
The last line does not work, but it was my stab at the problem
Any ideas appreciated