How can I completely clear a listbox?
User selects row
User clicks command button 'Clear'
Requery listbox
Selection user made previously is still highlighted
I've searched the archive and found something similar to this:
For intX = 0 To .lstContactPhone.ListCount
.lstContactPhone.Selected(intX) = False
Next intX
It goes a ways towards accomplishing what I need, but the row is still highlighted. Any ideas?
Many thanks.
User selects row
User clicks command button 'Clear'
Requery listbox
Selection user made previously is still highlighted
I've searched the archive and found something similar to this:
For intX = 0 To .lstContactPhone.ListCount
.lstContactPhone.Selected(intX) = False
Next intX
It goes a ways towards accomplishing what I need, but the row is still highlighted. Any ideas?
Many thanks.