Combobox Question

  • Thread starter Thread starter scrabtree
  • Start date Start date
S

scrabtree

I have a userform with several combo boxes. When I tab
from box to box it not only selects the value in the
destination box, but it highlights it.

When my userform activates, the code has it "set focus" to
the first combo box. It selects the box but it doesn't
hightlight the value in it. Is there a way I can get it
to highlight this?
 
With ComboBox1
.SelStart = 0
.SelLength = Len(.Value)
.SetFocus
End With
 

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

Back
Top