Toggle button to select all list items (1 Viewer)

Everton

Registered User.
Local time
Today, 00:13
Joined
Aug 10, 2000
Messages
34
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.
 

Users who are viewing this thread

Top Bottom