B Bob Jun 2, 2006 #1 Is there a code to add to a button to highlight everything (line) in a list box? Thanks in advance.........Bob Vance
Is there a code to add to a button to highlight everything (line) in a list box? Thanks in advance.........Bob Vance
B Bob Jun 2, 2006 #3 Oops, Just discovered by changing it to (Extended) and using the shift key does it...Is this acceptable?? Thanks Bob
Oops, Just discovered by changing it to (Extended) and using the shift key does it...Is this acceptable?? Thanks Bob
F fredg Jun 2, 2006 #4 Is there a code to add to a button to highlight everything (line) in a list box? Thanks in advance.........Bob Vance Click to expand... Make sure the ListBox MultiSelect property is set to either Simple or Extended. Dim x as Integer For x = 0 To ListBoxName.ListCount - 1 Me.ListBoxName.Selected(x) = True Next x
Is there a code to add to a button to highlight everything (line) in a list box? Thanks in advance.........Bob Vance Click to expand... Make sure the ListBox MultiSelect property is set to either Simple or Extended. Dim x as Integer For x = 0 To ListBoxName.ListCount - 1 Me.ListBoxName.Selected(x) = True Next x