A
ajliaks
Hi all,
I have a combo box full of data. One of the data is "<New Item>".
want to locate, and erase that value from the list.
I am trying the code below, but getting sintax error.
Can anybody help? Thanks in advance, Aldo.
For c1 = 0 To ComboBox.ListCount
If ComboBox.Value(c1) = "<New Item>" Then
ComboBox(c1).clear
exit for
End If
Next c
I have a combo box full of data. One of the data is "<New Item>".
want to locate, and erase that value from the list.
I am trying the code below, but getting sintax error.
Can anybody help? Thanks in advance, Aldo.
For c1 = 0 To ComboBox.ListCount
If ComboBox.Value(c1) = "<New Item>" Then
ComboBox(c1).clear
exit for
End If
Next c