I am opening a form with a button using following code:
This works fine. It opens with no focus in any fields. I want then when it opens for the focus to be in the first field. I thought if there wasn't code specifically for it, I could send keystrokes to Tab (which works to put cursor in second field), the shift+tab to bring cursor back to first field?![]()
Private sub dropoff_Click() DropOffUserForm.Show End Sub
Bookmarks