Userform problem

A

Andrew B

Hi
I have created a simple userform which gives the user a choice between
three option buttons. When the userform first appears, the text for the
first option button is enclosed in a dotted rectangle. How do I remove
this rectangle so that it doesn't appear to be the preferred option ?

I tried this but it didn't change anything.

Private Sub OptionButton1_Click()
GotFocus = False
end sub

TIA

Andrew B
 
D

Die_Another_Day

On Userform1_Initialize try this

OptionButton2.SetFocus 'Change out Button2 for whichever button you
want to have focus

Die_Another_Day
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top