JohnSearcy
Board Regular
- Joined
- Feb 6, 2006
- Messages
- 101
I am new to using listboxes and am expirementing with code and figuring stuff out here and there, but I am having trouble with one thing. What code enables the automatic selection of all items within the listbox?
Sample (that obviously doesn't work):
For X = 0 To listbox1.ListCount - 1
listbox1.SetSelected (X) (and I tried Select (X))
Next X
Most likely very simple - just haven't hit the right coding yet.
Thanks,
John
Sample (that obviously doesn't work):
For X = 0 To listbox1.ListCount - 1
listbox1.SetSelected (X) (and I tried Select (X))
Next X
Most likely very simple - just haven't hit the right coding yet.
Thanks,
John