combobox additem

  • Thread starter Thread starter masterphilch
  • Start date Start date
M

masterphilch

Hi

I created a userform with a combobox. Now, I wanna add items to the
combobox, but there appears nothing. How can I add items from a
non-private procedure?

greez
 
Not sure what you mean by a non-private procedure, but you add items like so

With
 
Try again.

Not sure what you mean by a non-private procedure, but you add items like so

With Me.cmbTest
.Additem "Bob"
.Additem "Bill"
'etc
End With

You can also link it to a worksheet with

Me.cmbTest.RowSource = "$A$1:$A$10"
 

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