If the user has made selections within a multi select listbox, using VBA, how do I deselect what the user has selected?
If the user has made selections within a multi select listbox, using VBA, how do I deselect what the user has selected?
Replacing ListBoxName with the actual name of your Listbox:
Code:Dim ctl As Control Dim i As Integer Set ctl = Me.ListBoxName For i = 0 To ctl.ListCount - 1 ctl.Selected(i) = False Next i
Linq ;0)>
The problem with making anything foolproof...is that fools are so darn ingenious!
All posts/responses based on Access 2003/2007
Thanks!! That worked perfectly.
Glad we could help!
Linq ;0)>
The problem with making anything foolproof...is that fools are so darn ingenious!
All posts/responses based on Access 2003/2007