View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Bernie Deitrick Bernie Deitrick is offline
external usenet poster
 
Posts: 5,441
Default How to display the first Item in a combobox as the default ite

Jeffrey,

UserForm1.ComboBox1.ListIndex = 0

HTH,
Bernie
MS Excel MVP


"Jeffery B Paarsa" wrote in message
...
I am sorry I don't see ListIndex parameter on the property of my ComboBox!
How do you set this ListIndex? I can only see the TopIndex on the property
of my Combobox!
--
Jeff B Paarsa


"Nigel" wrote:

Try setting the L:istIndex value to 1

--
Cheers
Nigel



"Jeffery B Paarsa" wrote in message
...
Hello,

I am initilizing and adding about 15 items from a range to a combo box
before I display the userform. Instead of showing blank inside of combo
box
when I display the user form, I would like to set the first item as the
default item when showing userform. I tried to set the Topindex to 1, 0
but
it does not accept it.
--
Jeff B Paarsa