How to add items to a combobox in a form in excel VBA?

前端 未结 3 1020
春和景丽
春和景丽 2020-11-28 15:55

I am new to VBA. I want to create a form where a user selects an item of a combobox and the selection runs a macro.I created a user form in VBA but I am unable to add items

3条回答
  •  暖寄归人
    2020-11-28 16:31

    Here is another answer:

    With DinnerComboBox
    .AddItem "Italian"
    .AddItem "Chinese"
    .AddItem "Frites and Meat"
    End With 
    

    Source: Show the

提交回复
热议问题