command button to combo box

  • Thread starter Thread starter hoysala
  • Start date Start date
H

hoysala

dear all

i have number of commnad buttton in embedded in a sheet

i want to shift to a combobox

please guide me
 
Select a Combo Box from the Tool box tool bar.
Right click the combobox you have imbedded
view code

Private Sub ComboBox1_Change()
ComboBox1.additem "Your First Item"
ComboBox1.Additem "Your Second Item"
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