EternalMyrtle
I'm still alive
- Local time
- Yesterday, 17:06
- Joined
- May 10, 2013
- Messages
- 533
I would like to be able to clear a combobox selection with code but nothing I have tried is working. I have searched for the answer and tried numerous suggestions and still nothing works. So I turn here...
Most recently I have tried this:
To no avail. The selection still remains highlighted in the control after the code is executed. I want the control to be blank. Also the control goes from being a combo box to a text box until escape is pressed and it is cleared
I have also tried using a simple Undo and that is not working either.
Thank you for your help.
Most recently I have tried this:
Code:
Me.cboCompanies.ListIndex = -1
To no avail. The selection still remains highlighted in the control after the code is executed. I want the control to be blank. Also the control goes from being a combo box to a text box until escape is pressed and it is cleared

I have also tried using a simple Undo and that is not working either.
Thank you for your help.