Close button on form
Hi Sandy
If you want CommandButton1 to have focus as the userform is shown, right
click on the userform, select tab order, bring CommandButton1 to the top.
Regards,
Per
"Sandy" skrev i meddelelsen
...
I have a form which opens when excel opens
If Sheets("SearchRoundsData").Range("B2").Value = 1 Then
frmWelcome.Hide
Else
frmWelcome.Show
End If
On the form there is a close button "CommandButton1". Is it possible to
give this button focus so that the user can use the Enter keyboard key
rather than having to click with the mouse?
Thanks
Sandy
|