click on the combobox. go to the userform and rubberband a rectangle where
you want the combobox.
Use the Userform_Initialize event to populate the combobox if the values in
the list will be dynamic, dependent on some other condition.
Private Sub Userform_Initialize()
Select Case Worksheets("sheet1").range("B9").Value
Case 100
combobox1.AddItem 3
combobox1.AddItem 6
Case 75
combobox1.Additem 4
combobox1.AddItem 2
end Select
end sub
or use whatever is appropriate to populate the combobox.
to enter the result in cell, use the controlSource property Sheet3!A5
for example.
If the userform is named Userform1 then you show it with
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.