I have a combo box I wish to fill with item names using only VBA ie., no copying an array from somewhere else. Is this possible?
I have tried the following without success:
Private Sub Forms.ComboBox1_Change()
With ComboBox1
.ListFillRange = ""
'.AddItem "A"
'.AddItem "B"
'.AddItem "C"
'.AddItem "D"
'.AddItem "E"
'.AddItem "F"
End With
End Sub
This is used in Excel 2003 without success. Would appreciate any assistance.
I have tried the following without success:
Private Sub Forms.ComboBox1_Change()
With ComboBox1
.ListFillRange = ""
'.AddItem "A"
'.AddItem "B"
'.AddItem "C"
'.AddItem "D"
'.AddItem "E"
'.AddItem "F"
End With
End Sub
This is used in Excel 2003 without success. Would appreciate any assistance.