EDIT: I'm using the ActiveX combo box.
I have been trying for a while to use different solutions that I've found here here and here but none of the examples seem to work to me. They don't explicitly make it clear where exactly to put
With Sheet1.ComboBox1
.AddItem "Paris"
.AddItem "New York"
.AddItem "London"
End With
and anywhere I try to put them, nothing gets added to my combo box.
Furthermore, many of these tutorials seem to be using Userforms. I'm not interested in having a userform, I simply want a combo box with a few options in my Excel spreadsheet, which depending on which value a user chooses in the combo box, a cell changes its value. All that I want to do is to write something like this:
Private Sub ComboBox1_Change()
.AddItem "Yes"
.AddItem "Average"
.AddItem "No"
End Sub
And then something along the lines of:
if ComboBox1 = "Yes"
then Range("D2").Value = 1