Combo box with add text facility?

  • Thread starter Thread starter Jay
  • Start date Start date
J

Jay

Hi,

Is it possible to have some form of drop-down (combo, list?) which also
allows the user the option of inputting a string, if the drop down
doesn't include it.

If anyone could point me in the right direction I'd really appreciate it.

Many thanks,

Jay
 
Hi,

Is it possible to have some form of drop-down (combo, list?) which also
allows the user the option of inputting a string, if the drop down
doesn't include it.

Yes, two different ways.

If you want to be able to add the text to the table field even if it's
not in the combo's row source, simply set the Limit to List property
of the combo to No.

If you want to permanently add it to the combo's row-source table, use
VBA code in the combo's Not In List event; set Limit to List to Yes.

John W. Vinson[MVP]
 
Thanks John, I *was* thinkin of the first option, but the second could
come in handy as well. I'm afgraid I'm a total VBA novice. Do you have
any code I could crib?

Many thanks,

Jason
 

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

Similar Threads


Back
Top