View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Bob Phillips[_6_] Bob Phillips[_6_] is offline
external usenet poster
 
Posts: 11,272
Default Combobox Question


With ComboBox1
.SelStart = 0
.SelLength = Len(.Value)
.SetFocus
End With


--

HTH

RP

"scrabtree" wrote in message
...
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?