It works, but not perfect...
O.K. This code works BUT if I use the shift and chose e.g. the 1st and 3rd items, I got the message 'subscript out of range'?
Does anyone knows why?
For Each k In Me![List0].ItemsSelected
countselected = countselected + 1
Next k
ReDim myarray(0 To countselected - 1) As Long
myarray(i) = Me![List0].ItemData(i)
Next i