add option to drop down menu

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I currently have a drop down menu/combo box in excel and I would like to add
more selections to the drop down menu. Appreciate any hep
 
Try this

Private Sub ComboBox1_GotFocus()
ComboBox1.Clear
ComboBox1.AddItem "Item 1"
ComboBox1.AddItem "Item 2"
ComboBox1.AddItem "Item 3"
End Sub
 

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