Use the following code in the "On Click" Event:
Dim i as variant
Do While i < me.listname.listcount
me.listname.selected(i) = true
i = i + 1
loop
(Make sure the list box you have enabled multi-select)
T Martin
> Is it possible to have a button named for exemple "Select All" that will
> select all the row in a listbox?
>
> Thanks!
>
> JS
John Smith - 31 Jan 2005 19:23 GMT
Thank you very much my friend!
Another problem solved
JS
> Use the following code in the "On Click" Event:
>
[quoted text clipped - 14 lines]
>>
>> JS