Resetting combobox Selection

S

Stephan Kassanke

Hi all,

I have a form in which users can select from a combobox. Once they selected
an entry, some operations are done and now I want to "reset" the combobox'
selection, no entry should be selected while the form stays open.

The I tried

Me.cboTyp.SetFocus
Me.cboTyp.SelLength = 0

which does not work and

Me.cboTyp.ListIndex = -1

which throws an error 7777. Any ideas how to accomplish this?

cheers,
Stephan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top