Does this work?
Private Sub Command41_Click()
Dim x As Integer
For x = 0 To Me.ListBox1.ListCount - 1
Debug.Print ListBox1.ItemData(x)
Me.ListBox1.ListIndex = x
''Send SMS command
Call cmdSendSMS_Click
Next x
End Sub