View Full Version : Toggle button to select all list items


Everton
05-29-2001, 03:05 AM
Hi,

I am trying to create a toggle button that will select/de-select all items in a list box. At the moment I have:

Private Sub selectall_Click()

Select Case selectall.Value
Case Yes
{code to select all}
Case No
{code to de-select all}
End select

End Sub

The question is, can anyone tell me what I should put inside the {} ?

Thanks,
Paul.

Rich
05-29-2001, 04:45 AM
Article ID: Q128881 should do what you want.
HTH