MistakesWereMade
Board Regular
- Joined
- May 22, 2019
- Messages
- 103
I have a userform that I load but the combobox is selected... I don't want the cursor blinking in my combobox when the userform is opend. I currently use sendkeys for Tab as it will move the selection to the next button which is fine. Is there a different way to code this rather than having to rely on the sendkeys command?
My code is below:
My code is below:
Code:
Private Sub CommandButton1_Click()
UserForm1.Show vbModeless
SendKeys ("{TAB}")
End Sub
Last edited: