Change the loop to

For i = 0 To lstWorkstations.ListCount - 1
If lstWorkstations.Selected(i) Then
a$ = lstWorkstations.List(i)
Print #1, a$
End If
Next