Clear a combobox

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hi,

I have a combo box that I want to clear. I tried combo.clear, but it doesn't
work.
How can I clear the combo through code?

Thanks.
 
What do you mean by "clear": have nothing selected in it, or have nothing in
the dropdown section?

For the former, use Me.MyComboBox = Null

For the latter, use Me.MyComboBox.RecordSource = ""
 
Back
Top