i have a list box and im using this code on load form to make some default value selected
Code: Select all
Dim i As Long
For i = 0 To Me.lstItm.ListCount - 1
Select Case Me.lstItm.ItemData(i)
Case 24, 30 '
Me.lstItm.Selected(i) = True
End Select
Next i
Call FilterSubForm
i would like to make a button and when clicking it opens the list box and allow me to modify the default values in the code above
regards