While populating the Combo box, i am getting the error
"Run time error 424 Object required".
Below is my code and i am trying to populate the list of countries(range name as countries) in the combo box.
Sub Country()
Dim Count As Range
Dim ws As Worksheet
Set ws = Worksheets("sheet2")
For Each Count In ws.Range("countries")
With ComboBox1
.AddItem Count.Value
End With
Next Count
End Sub
Please help me in resolving my errors. Thanks in advance