Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

unselect everything in listbox

Status
Not open for further replies.

jmorlock

Programmer
Apr 25, 2003
46
0
0
US
How do you unselect everything in a list box. For example under a submit button. So that it back to normal and ready for the next use.
 
Add the following code to the bottom of you event:

For FieldName = 0 To Me![ListBoxName].listcount - 1
Me![ListBoxName].Selected(FieldName) = False
Next

Neil
 
Thank you for your prompt reply

Jeremy J. Morlock
IT Specialist
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top