0

The button always has focus

enter image description here

Is there a way to start my form without focus on the button?

enter image description here

1
  • 1
    go to button's properties and set "Tab stop" to false. Commented Jan 28, 2017 at 20:47

1 Answer 1

1

Programatically if you need to remove focus you can use the Tab Stop property to remove that,

Private Sub UserForm_Initialize()

  CommandButton1.TabStop = False   

End Sub

Or as @Máté Juhász, go into properties and select false,

enter image description here

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.